CVE-2026-99656
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.118-1 |
| sid | linux |
Fixed | 7.3.5-1 |
| forky | linux |
Fixed | 7.3.5-1 |
| bookworm | linux |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 4.5 | |
References
- https://git.kernel.org/stable/c/22d043c1da48d6c7274f9dd900714b6d58b7b9c6
- https://git.kernel.org/stable/c/64f273b71bf714dd22b803a87d65bb40faaffcad
- https://git.kernel.org/stable/c/8b6860f17b4de23a0b19045c066dc0679e50f0ba
- https://git.kernel.org/stable/c/af2feafb0437fab5ed9d02eeb1c06ef66e05c55a
- https://security-tracker.debian.org/tracker/CVE-2026-99656
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-99656
- https://git.kernel.org/stable/c/6769efa0e45c61cfa2853d7b8d3760ce66e7c973
- https://git.kernel.org/stable/c/8ddaea0ff2e9ed916fd47d355e673b76dd2ba362
- https://git.kernel.org/stable/c/ec9bd88393c6c5fb5856058867dcbe780d1c3912
- https://git.kernel.org/stable/c/fb10875cfa95eb828ccdb3a4d69ffa00d30498df
- https://www.suse.com/security/cve/CVE-2026-99656.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.