GHSA-8Q4M-W2J7-32XV
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:30In 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.
{
"affected": [],
"aliases": [
"CVE-2026-99656"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:17:59Z",
"severity": null
},
"details": "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.",
"id": "GHSA-8q4m-w2j7-32xv",
"modified": "2026-11-23T09:30:57Z",
"published": "2026-11-20T06:32:06Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99656"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/22d043c1da48d6c7274f9dd900714b6d58b7b9c6"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/64f273b71bf714dd22b803a87d65bb40faaffcad"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6769efa0e45c61cfa2853d7b8d3760ce66e7c973"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8b6860f17b4de23a0b19045c066dc0679e50f0ba"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8ddaea0ff2e9ed916fd47d355e673b76dd2ba362"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/af2feafb0437fab5ed9d02eeb1c06ef66e05c55a"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ec9bd88393c6c5fb5856058867dcbe780d1c3912"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/fb10875cfa95eb828ccdb3a4d69ffa00d30498df"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.