CVE-2026-99656
Severity unknownNo known exploitationFix availablemm/madvise: fix data loss from MADV_FREE on a KSM page
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 10% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 before 8b6860f17b4de23a0b19045c066dc0679e50f0ba | 8b6860f17b4de23a0b19045c066dc0679e50f0ba | CVE Program |
| Linux | Linux | from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 before 64f273b71bf714dd22b803a87d65bb40faaffcad | 64f273b71bf714dd22b803a87d65bb40faaffcad | CVE Program |
| Linux | Linux | from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 before 22d043c1da48d6c7274f9dd900714b6d58b7b9c6 | 22d043c1da48d6c7274f9dd900714b6d58b7b9c6 | CVE Program |
| Linux | Linux | from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9 before af2feafb0437fab5ed9d02eeb1c06ef66e05c55a | af2feafb0437fab5ed9d02eeb1c06ef66e05c55a | CVE Program |
| Linux | Linux | 4.5 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.118 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.64 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.5 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc2 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 4.5 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/22d043c1da48d6c7274f9dd900714b6d58b7b9c6 (opens in a new tab)
- https://git.kernel.org/stable/c/64f273b71bf714dd22b803a87d65bb40faaffcad (opens in a new tab)
- https://git.kernel.org/stable/c/8b6860f17b4de23a0b19045c066dc0679e50f0ba (opens in a new tab)
- https://git.kernel.org/stable/c/af2feafb0437fab5ed9d02eeb1c06ef66e05c55a (opens in a new tab)