GHSA-4RWW-GRMF-XVGG
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-22 12:31In the Linux kernel, the following vulnerability has been resolved:
KVM: guest_memfd: Gracefully handle xarray errors when binding a memslot
If inserting a memslot into a guest_memfd's bindings xarray fails, propagate the error back to the caller, i.e. fail memslot creation as well. Signalling success and continuing on with memslot creation results in use-after-free, as the guest_memfd instance will remain reachable via the memslot after the file is freed (kvm_gmem_release() won't nullify the file pointer due to lack of a valid binding).
Opportunistically WARN and reject binding if KVM_MEMSLOT_GMEM_ONLY is already set, partly to guard against goofs elsewhere, but mostly so that KVM doesn't need to worry about clobbering flags when unwinding on failure.
Regarding the unwind, the slot must be fully prepared before inserting it into the bindings, at which point the slot becomes reachable. I.e. waiting to update the slot in order to avoid the ugly unwind isn't an option. And as part of the unwind, explicitly nullify the relevant bindings, as xarray can store a subset of entries when populating a range.
{
"affected": [],
"aliases": [
"CVE-2026-99473"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:18:01Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: guest_memfd: Gracefully handle xarray errors when binding a memslot\n\nIf inserting a memslot into a guest_memfd\u0027s bindings xarray fails,\npropagate the error back to the caller, i.e. fail memslot creation as well.\nSignalling success and continuing on with memslot creation results in\nuse-after-free, as the guest_memfd instance will remain reachable via the\nmemslot after the file is freed (kvm_gmem_release() won\u0027t nullify the file\npointer due to lack of a valid binding).\n\nOpportunistically WARN and reject binding if KVM_MEMSLOT_GMEM_ONLY is\nalready set, partly to guard against goofs elsewhere, but mostly so that\nKVM doesn\u0027t need to worry about clobbering flags when unwinding on failure.\n\nRegarding the unwind, the slot must be fully prepared before inserting it\ninto the bindings, at which point the slot becomes reachable. I.e. waiting\nto update the slot in order to avoid the ugly unwind isn\u0027t an option. And\nas part of the unwind, explicitly nullify the relevant bindings, as xarray\ncan store a subset of entries when populating a range.",
"id": "GHSA-4rww-grmf-xvgg",
"modified": "2026-11-22T12:31:15Z",
"published": "2026-11-19T15:31:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99473"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1706461eb1af814366b6d0ab413edd0876bd8033"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2cfc1ccf67ffe96811c816d27d44128c5d5833ec"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2fa83c615f8dbb240b262265e788b120b6384e7b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e6ecb88711d93b9e014532f17d3d29b57e80932c"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
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.