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

Goal: 1000 CNY · Raised: 1359 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.

FreeBSD是FreeBSD基金会开源的一款类Unix操作系统。 FreeBSD 14.4-RELEASE p9之前版本、15.0-RELEASE p13之前版本和15.1-RELEASE p3之前版本存在竞争条件问题漏洞,该漏洞源于FIOSSHMLPGCNF ioctl(2)操作配置大页共享内存对象的页面大小时存在TOCTOU竞态条件,处理程序未持有rangelock即检查页面大小是否已配置,两个并发调用者可同时观察到未配置状态并设置冲突的页面大小,导致对象状态不一致,本地非特权用户可利用此竞态条件提

AI Predicted 7.8 Difficulty: Hard EPSS 0.12% · P2

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
Vulnerability Title
FreeBSD 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeBSD是FreeBSD基金会开源的一款类Unix操作系统。 FreeBSD 14.4-RELEASE p9之前版本、15.0-RELEASE p13之前版本和15.1-RELEASE p3之前版本存在竞争条件问题漏洞,该漏洞源于FIOSSHMLPGCNF ioctl(2)操作配置大页共享内存对象的页面大小时存在TOCTOU竞态条件,处理程序未持有rangelock即检查页面大小是否已配置,两个并发调用者可同时观察到未配置状态并设置冲突的页面大小,导致对象状态不一致,本地非特权用户可利用此竞态条件提
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

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