CVE-2026-58094: TOCTOU race in POSIX shared memory large page configuration

CVE-2026-58094 affects 25 listed versions of FreeBSD in the Dawnsentry catalogue.

7.8CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
26 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

FreeBSD

25 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p3, 15.0-RELEASE-p13, 14.4-RELEASE-p9. The newest release, 15.1-p7, is not affected.

15.1-p2 15.1-p1 15.1 15.0-p12 15.0-p11 15.0-p10 15.0-p9 15.0-p8 15.0-p7 15.0-p6 15.0-p5 15.0-p4 15.0-p3 15.0-p2 15.0-p1 15.0 14.4-p8 14.4-p7 14.4-p6 14.4-p5 14.4-p4 14.4-p3 14.4-p2 14.4-p1 14.4

What it is

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Freebsd)

Published by Freebsd on 26 August 2026. Last changed 24 September 2026.

Sources

Check one version you run: look CVE-2026-58094 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.