Skip to content
FlawDB
Sign in

CVE-2026-99665

UNSCOREDEPSS 6%

mm/khugepaged: preserve dirty bits when collapsing PTE-mapped THPs

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 0af947ae4d91af0c6e9573220a1298cd8302b6c3; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 1f54708f40b8dea6951426ca567fc96160693388; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < fe2817e3d5ea347214342c9a5cd8bcbff20c0574
  • Anyone running Linux 5.4

Vulnerability facts

Affected
Linux >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 0af947ae4d91af0c6e9573220a1298cd8302b6c3; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 1f54708f40b8dea6951426ca567fc96160693388; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < fe2817e3d5ea347214342c9a5cd8bcbff20c0574; Linux 5.4
Fixed in
Linux 0af947ae4d91af0c6e9573220a1298cd8302b6c3, Linux 1f54708f40b8dea6951426ca567fc96160693388
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-28)
Published
Modified

Description

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 ]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 0af947ae4d91af0c6e9573220a1298cd8302b6c3; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 1f54708f40b8dea6951426ca567fc96160693388; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < fe2817e3d5ea347214342c9a5cd8bcbff20c0574—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-99665. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99665.md
Affected: Linux >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 0af947ae4d91af0c6e9573220a1298cd8302b6c3; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 1f54708f40b8dea6951426ca567fc96160693388; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < fe2817e3d5ea347214342c9a5cd8bcbff20c0574; Linux 5.4
Fixed in: Linux 0af947ae4d91af0c6e9573220a1298cd8302b6c3, Linux 1f54708f40b8dea6951426ca567fc96160693388

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-99665 being exploited?

There is no confirmed exploitation: CVE-2026-99665 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-99665?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-99665?

Linux >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 0af947ae4d91af0c6e9573220a1298cd8302b6c3; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < 1f54708f40b8dea6951426ca567fc96160693388; >= 27e1f8273113adec0e98bf513e4091636b27cc2a, < fe2817e3d5ea347214342c9a5cd8bcbff20c0574; Linux 5.4.

Is there a fix for CVE-2026-99665?

Yes. Fixed in Linux 0af947ae4d91af0c6e9573220a1298cd8302b6c3, Linux 1f54708f40b8dea6951426ca567fc96160693388. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-99665?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 7.0CVE-2026-137974

Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile

Linux kernel+1
EPSS 31%
HIGH 7.8CVE-2026-137941

Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property

Linux kernel+1
EPSS 11%
HIGH 7.3CVE-2026-137898

Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling

Linux kernel+1
EPSS 11%
MEDIUM 6.5CVE-2026-102963

Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled

Linux kernel+1
EPSS 24%
MEDIUM 5.3CVE-2026-115841

Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa

Linux kernel+4
EPSS 3%
Sponsors