VulnWatch by ve1ve2
low 2.5 EPSS 0.16%

CVE-2026-99649: In the Linux kernel, the following vulnerability has been resolved: mm/ksm: check large swap-cache folios before mapping them KSM folios are always small, but…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
linux

https://nvd.nist.gov/vuln/detail/CVE-2026-99649 ↗

In the Linux kernel, the following vulnerability has been resolved: mm/ksm: check large swap-cache folios before mapping them KSM folios are always small, but their shared swap slots can be read back as part of a large folio in the swap cache. ksm_might_need_to_copy() skips large folios, so another process can map a page with an incompatible anon_vma or page index. Reverse mapping then cannot find the new mapping, preventing migration or reclaim. Apply the same compatibility checks to large folios as to small ones. Pass the page corresponding to the swap entry and copy only that page when necessary. In do_swap_page()'s copy path, decrement only that slot's swap count, because the source swap-cache folio can now be large. Fix generated by an LLM and sent by Chris Mason in private. References: https://git.kernel.org/stable/c/7f2c000ffb1047b476cbf267f741272c389d3e31 https://git.kernel.org/stable/c/cc4b71683ee9d8d4ed0b25c0744314005fb3e395

Linked vulnerabilities (1)

CVE-2026-99649 low 2.5 EPSS 0.16% (p5) NVDCVE.org
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

kernel: kernel: Denial of Service via missing large swap-cache folio checks in KSM

CWE: CWE-771NVD: Received

Also reported by (1)