GHSA-9CRQ-RXXV-2PQC
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-20 06:32In the Linux kernel, the following vulnerability has been resolved:
mm/ksm: check large swap-cache folios before mapping them
KSM folios are always small, but their shared swap slots can be read back as part of a large folio in the swap cache. ksm_might_need_to_copy() skips large folios, so another process can map a page with an incompatible anon_vma or page index. Reverse mapping then cannot find the new mapping, preventing migration or reclaim.
Apply the same compatibility checks to large folios as to small ones. Pass the page corresponding to the swap entry and copy only that page when necessary. In do_swap_page()'s copy path, decrement only that slot's swap count, because the source swap-cache folio can now be large.
Fix generated by an LLM and sent by Chris Mason in private.
{
"affected": [],
"aliases": [
"CVE-2026-99649"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:17:58Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/ksm: check large swap-cache folios before mapping them\n\nKSM folios are always small, but their shared swap slots can be read\nback as part of a large folio in the swap cache. ksm_might_need_to_copy()\nskips large folios, so another process can map a page with an incompatible\nanon_vma or page index. Reverse mapping then cannot find the new\nmapping, preventing migration or reclaim.\n\nApply the same compatibility checks to large folios as to small ones.\nPass the page corresponding to the swap entry and copy only that page\nwhen necessary. In do_swap_page()\u0027s copy path, decrement only that slot\u0027s\nswap count, because the source swap-cache folio can now be large.\n\nFix generated by an LLM and sent by Chris Mason in private.",
"id": "GHSA-9crq-rxxv-2pqc",
"modified": "2026-11-20T06:32:05Z",
"published": "2026-11-20T06:32:05Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99649"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/7f2c000ffb1047b476cbf267f741272c389d3e31"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/cc4b71683ee9d8d4ed0b25c0744314005fb3e395"
}
],
"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.