← CVE Intelligence

CVE-2026-58094

TOCTOU race in POSIX shared memory large page configuration PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
FreeBSD / FreeBSDaffected 15.1-RELEASE before p3; affected 15.0-RELEASE before p13; affected 14.4-RELEASE before p9

CWE

CWE-367

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.