CVE-2026-99642

In the Linux kernel, the following vulnerability has been resolved: mm/gup: check folio->mapping under folio lock in memfd_pin_folios() memfd_pin_folios() pins folios from the page cache without taking the folio lock. khugepaged or MADV_COLLAPSE can therefore replace a folio after checking its refcount while memfd_pin_folios() still pins the old folio. The caller then receives a folio which is no longer part of the memfd. For udmabuf and iommufd, this can cause data corruption: DMA accesses the detached folio rather than the live memfd contents. DMA reads can return stale data, while DMA writes update the detached copy and are lost from the live memfd. The detached folio remains pinned, so these accesses do not constitute a use-after-free or target another application's memory. For memfd live update, the stale contents can reappear in the memfd after handover. Lock the folio and recheck folio->mapping before pinning it, like other page cache users do. If the folio was removed, retry the folio lookup from the index that was removed.

Package Linux Kernel
Published 2026-11-20
Last modified 2026-11-20
Patch available
Yes

Affected versions

Linux kernel versions 6.11 and later are affected. Fixed in 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 and their respective stable series.

Affected from
≥ 6.11
Fixed in
✓ 6.12.118 6.12.x ✓ 6.18.64 6.18.x ✓ 7.3.5 7.3.x ✓ 7.4-rc2

Frequently asked questions

  • What is CVE-2026-99642?

    CVE-2026-99642 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.11 onward and has been patched in 6.12.118, 6.18.64, 7.3.5 and others. CVE-2026-99642 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-99642?

    Yes. CVE-2026-99642 has been patched. Fixed versions include 6.12.118, 6.18.64, 7.3.5 and others. If you are running Linux kernel 6.11 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-99642 actively exploited?

    No. CVE-2026-99642 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.