0.0
NA
CVE-2026-99656
mm/madvise: fix data loss from MADV_FREE on a KSM page
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.

INFO

Published Date :

Nov. 20, 2026, 6:17 a.m.

Last Modified :

Nov. 23, 2026, 8:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-99656 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Address data loss in mm/madvise by correctly handling KSM pages and their dirty flags.
  • Apply the Linux kernel patch for mm/madvise.
  • Ensure KSM folios are skipped before clearing dirty flags.
  • Serialize KSM conversion with folio locking.
  • Test the fix to confirm data integrity.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-99656 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-99656 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-99656 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-99656 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 23, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99656.json">CVE-2026-99656</a>
    Added Reference https://git.kernel.org/stable/c/6769efa0e45c61cfa2853d7b8d3760ce66e7c973
    Added Reference https://git.kernel.org/stable/c/8ddaea0ff2e9ed916fd47d355e673b76dd2ba362
    Added Reference https://git.kernel.org/stable/c/ec9bd88393c6c5fb5856058867dcbe780d1c3912
    Added Reference https://git.kernel.org/stable/c/fb10875cfa95eb828ccdb3a4d69ffa00d30498df
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 20, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99656.json">CVE-2026-99656</a>
    Added Reference https://git.kernel.org/stable/c/22d043c1da48d6c7274f9dd900714b6d58b7b9c6
    Added Reference https://git.kernel.org/stable/c/64f273b71bf714dd22b803a87d65bb40faaffcad
    Added Reference https://git.kernel.org/stable/c/8b6860f17b4de23a0b19045c066dc0679e50f0ba
    Added Reference https://git.kernel.org/stable/c/af2feafb0437fab5ed9d02eeb1c06ef66e05c55a
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.