PT-2026-152536
CVE-2026-99656
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾