CVE-2026-99656

mm/madvise: fix data loss from MADV_FREE on a KSM page

No CVSS score yet EPSS 0.23%

Published 20 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99656

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99656 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.94% of all scored CVEs. Scores of 27 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before 8ddaea0ff2e9ed916fd47d355e673b76dd2ba362
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before fb10875cfa95eb828ccdb3a4d69ffa00d30498df
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before ec9bd88393c6c5fb5856058867dcbe780d1c3912
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before 6769efa0e45c61cfa2853d7b8d3760ce66e7c973
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before af2feafb0437fab5ed9d02eeb1c06ef66e05c55a
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before 8b6860f17b4de23a0b19045c066dc0679e50f0ba
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before 64f273b71bf714dd22b803a87d65bb40faaffcad
affected from 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9, before 22d043c1da48d6c7274f9dd900714b6d58b7b9c6
Other versions: unaffected
Linux
affected 4.5
unaffected before 4.5
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99656 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99656

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99656
trivy image --scanners vuln IMAGE | grep CVE-2026-99656

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99656 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.