Skip to main content
← All vulnerabilities
CVE-2026-58094

TOCTOU race in POSIX shared memory large page configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p3, p13, p9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.1-RELEASE · fixed in p3; From 15.0-RELEASE · fixed in p13; From 14.4-RELEASE · fixed in p9

References 1

security.freebsd.org