7.8

CVE-2026-58094

TOCTOU race in POSIX shared memory large page configuration

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Freebsd ≫ Freebsd Version 14.4 Update p1
Freebsd ≫ Freebsd Version 14.4 Update p2
Freebsd ≫ Freebsd Version 14.4 Update p3
Freebsd ≫ Freebsd Version 14.4 Update p4
Freebsd ≫ Freebsd Version 14.4 Update p5
Freebsd ≫ Freebsd Version 14.4 Update p6
Freebsd ≫ Freebsd Version 14.4 Update p7
Freebsd ≫ Freebsd Version 14.4 Update p8
Freebsd ≫ Freebsd Version 15.0 Update p1
Freebsd ≫ Freebsd Version 15.0 Update p10
Freebsd ≫ Freebsd Version 15.0 Update p11
Freebsd ≫ Freebsd Version 15.0 Update p12
Freebsd ≫ Freebsd Version 15.0 Update p2
Freebsd ≫ Freebsd Version 15.0 Update p3
Freebsd ≫ Freebsd Version 15.0 Update p4
Freebsd ≫ Freebsd Version 15.0 Update p5
Freebsd ≫ Freebsd Version 15.0 Update p6
Freebsd ≫ Freebsd Version 15.0 Update p7
Freebsd ≫ Freebsd Version 15.0 Update p8
Freebsd ≫ Freebsd Version 15.0 Update p9
Freebsd ≫ Freebsd Version 15.1 Update p1
Freebsd ≫ Freebsd Version 15.1 Update p2
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.11% 0.014
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
CISA-ADP 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

https://security.freebsd.org/advisories/FreeBSD-SA-26:63.posixshm.asc
Vendor Advisory