FreeBSD
posixshm: system calls can incorrectly free memory of largepage objects
Certain system calls, such open(2) with the O_TRUNC flag set, and fspacectl(2), could incorrectly free memory in largepage objects. These operations are not permitted on largepage objects, but the implementation did not verify this. An unprivileged local user can abuse the bug to access freed kernel memory. This can be exploited to escalate privileges.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CISA ADP · CWE-915
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
FreeBSD FreeBSD
- >= 15.1-RELEASE, < p1
- >= 15.0-RELEASE, < p11
- >= 14.4-RELEASE, < p7
- >= 14.3-RELEASE, < p16
Fixed in p1, p11, p7, p16
Mitigation
Upgrade FreeBSD to p1 or p11 or p7 or p16 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:44.posixsh…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.