Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-99656
VULNERABILITY

CVE-2026-99656

Common Vulnerabilities and Exposures record

Summary

In the Linux kernel, the following vulnerability has been resolved: mm/madvise: fix data loss from MADV_FREE on a KSM page MADV_FREE can clear the dirty flag of a singly mapped KSM folio. The folio remains in the stable tree and can gain new mappings without being dirtied again. Once marked lazyfree, reclaim can discard data that those mappings still need. KSM always marks a folio dirty when converting it to a KSM folio in try_to_merge_one_page(). Marking a folio lazyfree clears PG_swapbacked but leaves PG_dirty unchanged. Preserving PG_dirty makes reclaim restore PG_swapbacked instead of discarding the folio. This also protects folios that were already lazyfree when KSM converted them. Skip KSM folios before clearing their dirty flag, checking under the folio lock to serialize with KSM conversion.

Risk

CVSS
Not available
Severity
Not available
Vector
Not available

Timeline

Published
Nov 20, 2026 06:17
Modified
Nov 23, 2026 08:18
Last observed
Nov 23, 2026 04:00

References