Use-after-free in device pager page list
Summary
| CVE | CVE-2026-49418 |
|---|---|
| State | PUBLISHED |
| Assigner | freebsd |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-19 05:17:03 UTC |
| Updated | 2026-08-19 05:17:03 UTC |
| Description | When msync(MS_INVALIDATE) is called on a mapping of an unmanaged device object, the physical pages in the mapping range are marked invalid but remain in the pager's page list. A subsequent page fault will cause the fault handler to re-insert the page into the object's list. This corrupts the list, and on object destruction the page is freed twice. An unprivileged local user with access to a device that provides memory-mapped I/O can trigger a use-after-free in the kernel, though this is limited to a pool of objects ("fictitious pages") that are never recycled for a different purpose. It may be possible to exploit this to escalate privileges. |
Risk And Classification
Problem Types: CWE-416 | CWE-416 CWE-416: Use After Free
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | FreeBSD | FreeBSD | affected 15.1-RELEASE p1 release | Not specified |
| CNA | FreeBSD | FreeBSD | affected 15.0-RELEASE p11 release | Not specified |
| CNA | FreeBSD | FreeBSD | affected 14.4-RELEASE p7 release | Not specified |
| CNA | FreeBSD | FreeBSD | affected 14.3-RELEASE p16 release | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.freebsd.org/advisories/FreeBSD-SA-26:37.vm.asc | [email protected] | security.freebsd.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: slidybat (en)
There are currently no legacy QID mappings associated with this CVE.