CVE-2026-49418 PUBLISHED

Use-after-free in device pager page list

Assigner: freebsd
Reserved: 29.05.2026 Published: 19.08.2026 Updated: 19.08.2026

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.

Product Status

Vendor FreeBSD
Product FreeBSD
Versions Default: unknown
  • affected from 15.1-RELEASE to p1 (excl.)
  • affected from 15.0-RELEASE to p11 (excl.)
  • affected from 14.4-RELEASE to p7 (excl.)
  • affected from 14.3-RELEASE to p16 (excl.)

Credits

  • slidybat finder

References

Problem Types

  • CWE-416: Use After Free CWE