CVE-2026-99665

In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: preserve dirty bits when collapsing PTE-mapped THPs try_collapse_pte_mapped_thp() clears PTEs without transferring their dirty bits to the folio. A shmem read fault can map a clean folio writable, so a later store only dirties the PTE. Losing that dirty bit allows reclaim to discard modified data. The assumption that regular files are read-only is also obsolete since commit 1b6444331bebb ("mm/khugepaged: enable clean pagecache folio collapse for writable files"). In any case, transferring PTE dirty bits to the folio when removing mappings (and while the folio is still mapped) is the right thing to do. Use get_and_clear_ptes() to collect the dirty bits and mark the folio dirty before unmapping it. Update the comment. This was reproduced with shmem using MADV_COLLAPSE followed by MADV_PAGEOUT. Fix generated by an LLM and sent by Chris Mason in private. [ david: adjust comment; simplify description; cover file-thp as well ]

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

Affected versions

Linux kernel versions 5.4 and later are affected. Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.64, 7.3.5, 7.4-rc2 and their respective stable series.

Affected from
≥ 5.4
Fixed in
✓ 5.10.276 5.10.x ✓ 5.15.227 5.15.x ✓ 6.12.120 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-99665?

    CVE-2026-99665 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.4 onward and has been patched in 5.10.276, 5.15.227, 6.12.120 and others. CVE-2026-99665 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

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

    Yes. CVE-2026-99665 has been patched. Fixed versions include 5.10.276, 5.15.227, 6.12.120 and others. If you are running Linux kernel 5.4 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-99665 actively exploited?

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