Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-58094— TOCTOU race in POSIX shared memory large page configuration

Quick assessment

Affected
FreeBSD FreeBSD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FIOSSHMLPGCNF ioctl(2) 操作用于为大页共享内存对象配置页面大小。该操作旨在创建对象之后、尚未为该对象分配任何内存之前立即使用。然而,在处理该 ioctl 请求时,内核在获取 rangelock 的情况下检查是否已配置页面大小。由于缺乏适当的锁保护,两个并发调用者可能同时观察到对象尚未配置页面大小,并各自设置不同的页面大小,从而导致该对象处于不一致状态。 特权提升漏洞:未经授权的本地用户可利用此竞态条件提升其系统权限。

AI Predicted 7.8 Difficulty: Hard EPSS 0.13% · P3

Affected Version Matrix 3

VendorProduct Version RangeStatus
FreeBSD FreeBSD 15.1-RELEASE< p3 affected
15.0-RELEASE< p13 affected
14.4-RELEASE< p9 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58094

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
TOCTOU race in POSIX shared memory large page configuration
Source: CVE Program / CVE List V5
Vulnerability Description
The FIOSSHMLPGCNF ioctl(2) operation configures the page size for a largepage shared memory object. This is intended to be used immediately after creating the object, before any memory is allocated for the object. The handler checked whether a page size had already been configured without holding the rangelock. Two concurrent callers could both observe an unconfigured object and set conflicting page sizes, leaving the object in an inconsistent state. An unprivileged local user can exploit this race to escalate privileges.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeBSD FreeBSD 15.1-RELEASE ~ p3 -

II. Public POCs for CVE-2026-58094

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58094

登录查看更多情报信息。

Vendor Advisories for CVE-2026-58094 (1)

Same Patch Batch · FreeBSD · 2026-08-26 · 9 CVEs total

CVE-2026-58090 Use-after-free in unix SOCK_STREAM message handling
CVE-2026-58091 Kernel use-after-free via the SNDCTL_DSP_SYNCSTART ioctl
CVE-2026-58092 Unauthorized credential switching
CVE-2026-58089 hwpmc fails to detach PMCs during exec credential transitions
CVE-2026-58097 ppp(8): missing length validation in mp_SetEnddisc()
CVE-2026-58095 ppp(8): incorrect length calculation in mp_Enddisc()
CVE-2026-58093 Kernel use-after-free via tty ioctls
CVE-2026-58096 ppp(8): missing length validation in LcpDecodeConfig()

IV. Related Vulnerabilities

V. Comments for CVE-2026-58094

No comments yet


Leave a comment