CVE-2026-58094

TOCTOU race in POSIX shared memory large page configuration

State
Published
Severity
7.8 High
Published
Aug 26, 2026
Updated
Aug 27, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p3Affected
  • 15.0-RELEASE to before p13Affected
  • 14.4-RELEASE to before p9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.