FreeBSD
posixshm: largepage shared memory objects not explicitly wired
Pages belonging to largepage shared memory objects were not explicitly wired. When sendfile(2) transmitted such an object with the SF_NOCACHE flag, it freed the underlying pages after transmission even though existing mappings still referred to them. 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.8high · scored by CISA ADP · CWE-826
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.