CVE-2026-49418
JSON

8.8high

Use-after-free in device pager page list

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
freebsd

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.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 15.1-RELEASE before p1, from 15.0-RELEASE before p11, from 14.4-RELEASE before p7, from 14.3-RELEASE before p16, 14.3, 14.4, 15.0, 15.1CVE List, NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Cuando se llama a msync(MS_INVALIDATE) en una asignación de un objeto de dispositivo no gestionado, las páginas físicas en el rango de asignación se marcan como inválidas pero permanecen en la lista de páginas del paginador. Una posterior falla de página hará que el gestor de fallas reinserte la página en la lista del objeto. Esto corrompe la lista, y en la destrucción del objeto la página se libera dos veces. Un usuario local sin privilegios con acceso a un dispositivo que proporciona E/S mapeada en memoria puede desencadenar un uso después de liberación en el kernel, aunque esto se limita a un grupo de objetos (páginas ficticias) que nunca se reciclan para un propósito diferente. Puede ser posible explotar esto para escalar privilegios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49418 changed 2026-08-20CVE Terms of Use
NVDCVE-2026-49418 changed 2026-11-05Public domain