Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-58094

TOCTOU race in POSIX shared memory large page configuration

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

FreeBSD FreeBSD

Default version status: unknown

  • 15.1-RELEASE to < p3affected
  • 15.0-RELEASE to < p13affected
  • 14.4-RELEASE to < p9affected

References