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

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-08-26T05:39:42.893Z
- Modified: 2026-09-24T13:17:24.210Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p3; from 15.0-RELEASE before p13; from 14.4-RELEASE before p9; 14.4; 15.0; 15.1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:63.posixshm.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-58094](https://www.cve.org/CVERecord?id=CVE-2026-58094), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-58094](https://nvd.nist.gov/vuln/detail/CVE-2026-58094), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-58094 · Whole record: https://cve.day/CVE-2026-58094.json · Rebuilt by cve.day 2026-11-25T22:59:35.341Z
