CVE-2026-99656Linux
NVD
Vulnerability 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.
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.
Affected & Patched Versions
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < 8ddaea0ff2e9ed916fd47d355e673b76dd2ba362
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < fb10875cfa95eb828ccdb3a4d69ffa00d30498df
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < ec9bd88393c6c5fb5856058867dcbe780d1c3912
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < 6769efa0e45c61cfa2853d7b8d3760ce66e7c973
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < af2feafb0437fab5ed9d02eeb1c06ef66e05c55a
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < 8b6860f17b4de23a0b19045c066dc0679e50f0ba
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < 64f273b71bf714dd22b803a87d65bb40faaffcad
- Linux >= 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 and < 22d043c1da48d6c7274f9dd900714b6d58b7b9c6
- Linux 4.5
- Linux 8ddaea0ff2e9ed916fd47d355e673b76dd2ba362
- Linux fb10875cfa95eb828ccdb3a4d69ffa00d30498df
- Linux ec9bd88393c6c5fb5856058867dcbe780d1c3912
- Linux 6769efa0e45c61cfa2853d7b8d3760ce66e7c973
- Linux af2feafb0437fab5ed9d02eeb1c06ef66e05c55a
- Linux 8b6860f17b4de23a0b19045c066dc0679e50f0ba
- Linux 64f273b71bf714dd22b803a87d65bb40faaffcad
- Linux 22d043c1da48d6c7274f9dd900714b6d58b7b9c6
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99656. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/22d043c1da48d6c7274f9dd900714b6d58b7b9c6
- Referencehttps://git.kernel.org/stable/c/64f273b71bf714dd22b803a87d65bb40faaffcad
- Referencehttps://git.kernel.org/stable/c/6769efa0e45c61cfa2853d7b8d3760ce66e7c973
- Referencehttps://git.kernel.org/stable/c/8b6860f17b4de23a0b19045c066dc0679e50f0ba
- Referencehttps://git.kernel.org/stable/c/8ddaea0ff2e9ed916fd47d355e673b76dd2ba362
- Referencehttps://git.kernel.org/stable/c/af2feafb0437fab5ed9d02eeb1c06ef66e05c55a
- Referencehttps://git.kernel.org/stable/c/ec9bd88393c6c5fb5856058867dcbe780d1c3912
- Referencehttps://git.kernel.org/stable/c/fb10875cfa95eb828ccdb3a4d69ffa00d30498df
Data last checked: Nov 24, 2026 07:07 UTC