SecurityContext

CVE-2026-99665: Linux Kernel - Data Integrity Loss

  • Cve: CVE-2026-99665
  • Name: Linux Kernel - Data Integrity Loss
  • 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 ]
  • Impact: Modified data in shmem or file-backed pages can be discarded during reclaim, leading to data loss or corruption.
  • Remediation: Update to the latest kernel version containing the fix.
  • Vulnerability impact: data_tampering
  • Requirements: Attacker needs ability to trigger MADV_COLLAPSE and MADV_PAGEOUT on shmem mappings
  • Labels source: securitycontext
  • Cvss vector: N/A
  • Epss score: 0.00166
  • Epss percentile: 0.05903
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-11-20T06:18:00Z
  • Age in days: 4
  • Modified at: 2026-11-20T06:18:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99665
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/0af947ae4d91af0c6e9573220a1298cd8302b6c3
https://git.kernel.org/stable/c/1f54708f40b8dea6951426ca567fc96160693388
https://git.kernel.org/stable/c/fe2817e3d5ea347214342c9a5cd8bcbff20c0574

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.4, < 7.4-rc2; >= 5.4, < 7.3.5; >= 5.4, < 6.18.64nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports