{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99656","id":"CVE-2026-99656","title":"Linux kernel data loss in MADV_FREE on KSM pages","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/madvise: fix data loss from MADV_FREE on a KSM page\n\nMADV_FREE can clear the dirty flag of a singly mapped KSM folio. The\nfolio remains in the stable tree and can gain new mappings without being\ndirtied again. Once marked lazyfree, reclaim can discard data that those\nmappings still need.\n\nKSM always marks a folio dirty when co","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/madvise: fix data loss from MADV_FREE on a KSM page\n\nMADV_FREE can clear the dirty flag of a singly mapped KSM folio. The\nfolio remains in the stable tree and can gain new mappings without being\ndirtied again. Once marked lazyfree, reclaim can discard data that those\nmappings still need.\n\nKSM always marks a folio dirty when converting it to a KSM folio in\ntry_to_merge_one_page(). Marking a folio lazyfree clears PG_swapbacked\nbut leaves PG_dirty unchanged. Preserving PG_dirty makes reclaim restore\nPG_swapbacked instead of discarding the folio. This also protects folios\nthat were already lazyfree when KSM converted them.\n\nSkip KSM folios before clearing their dirty flag, checking under the\nfolio lock to serialize with KSM conversion.","published":"2026-11-20T05:50:08.481Z","updated":"2026-11-20T05:50:08.481Z","reserved":"2026-09-25T10:25:14.427Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9","lessThan":"af2feafb0437fab5ed9d02eeb1c06ef66e05c55a","status":"affected","versionType":"git"},{"version":"854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9","lessThan":"8b6860f17b4de23a0b19045c066dc0679e50f0ba","status":"affected","versionType":"git"},{"version":"854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9","lessThan":"64f273b71bf714dd22b803a87d65bb40faaffcad","status":"affected","versionType":"git"},{"version":"854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9","lessThan":"22d043c1da48d6c7274f9dd900714b6d58b7b9c6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.5","status":"affected"},{"version":"0","lessThan":"4.5","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/af2feafb0437fab5ed9d02eeb1c06ef66e05c55a","tags":[]},{"url":"https://git.kernel.org/stable/c/8b6860f17b4de23a0b19045c066dc0679e50f0ba","tags":[]},{"url":"https://git.kernel.org/stable/c/64f273b71bf714dd22b803a87d65bb40faaffcad","tags":[]},{"url":"https://git.kernel.org/stable/c/22d043c1da48d6c7274f9dd900714b6d58b7b9c6","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99656","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99656","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99656","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99656","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}