CVE-2026-58094
JSON

7.8high

TOCTOU race in POSIX shared memory large page configuration

Severity
7.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.09% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 15.1-RELEASE before p3, from 15.0-RELEASE before p13, from 14.4-RELEASE before p9, 14.4, 15.0, 15.1CVE List, NVD

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58094 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-58094 changed 2026-09-24Public domain