CVE-2026-58094

ZDI-26-785 · ZDI-CAN-32356 · published 26 Aug 2026 · updated 16 Oct 2026

TOCTOU race in POSIX shared memory large page configuration

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p9, p13 and p3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=14.4-RELEASE <p9, >=15.0-RELEASE <p13, >=15.1-RELEASE <p3p9, p13, p3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58094 severity on Zeptric[![CVE-2026-58094](https://zeptric.io/badge/cve/CVE-2026-58094.svg)](https://zeptric.io/cve/CVE-2026-58094)