GHSA-GMMP-M68C-GCC9
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-23 09:30In the Linux kernel, the following vulnerability has been resolved:
klist: avoid accesses after waking klist_remove()
klist_remove() waits until a node is unreferenced so that its caller can free the containing object. klist_release() currently publishes waiter->woken and wakes the waiter before its final accesses to the waiter and node. klist_remove() can then return, allowing its stack waiter and the containing object to be freed or reused while klist_release() is still running. In particular, bus_remove_driver() can free drv->p while __device_attach() walks the same bus klist with bus_for_each_drv().
On an arm64 Cortex-A72 system, an unpatched 7.2.0-rc3 kernel with CONFIG_PREEMPT_RT=y and CONFIG_KASAN=y reproduced the bug through the in-tree I2C/at24 path. KASAN reported a use-after-free in klist_dec_and_del() reached from klist_next()/bus_for_each_drv() while at24 was being unregistered.
Clear n_klist and take a task reference before publishing woken. Use release/acquire accesses for that publication and wake the referenced task. The task reference keeps the waiter task alive if it returns and exits before wake_up_process().
{
"affected": [],
"aliases": [
"CVE-2026-99488"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:18:03Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nklist: avoid accesses after waking klist_remove()\n\nklist_remove() waits until a node is unreferenced so that its caller can\nfree the containing object. klist_release() currently publishes\nwaiter-\u003ewoken and wakes the waiter before its final accesses to the waiter\nand node. klist_remove() can then return, allowing its stack waiter and\nthe containing object to be freed or reused while klist_release() is still\nrunning. In particular, bus_remove_driver() can free drv-\u003ep while\n__device_attach() walks the same bus klist with bus_for_each_drv().\n\nOn an arm64 Cortex-A72 system, an unpatched 7.2.0-rc3 kernel with\nCONFIG_PREEMPT_RT=y and CONFIG_KASAN=y reproduced the bug through the\nin-tree I2C/at24 path. KASAN reported a use-after-free in\nklist_dec_and_del() reached from klist_next()/bus_for_each_drv() while\nat24 was being unregistered.\n\nClear n_klist and take a task reference before publishing woken. Use\nrelease/acquire accesses for that publication and wake the referenced\ntask. The task reference keeps the waiter task alive if it returns and\nexits before wake_up_process().",
"id": "GHSA-gmmp-m68c-gcc9",
"modified": "2026-11-23T09:30:45Z",
"published": "2026-11-19T15:31:26Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99488"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1da13ac31040f1fb7365e994f84a6b2e32043363"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/224f1c87086b9bc15bfc2dc0fd6f23df265eb976"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2c3bbc8a1acd7b52a7785b51994a39aa336e2c08"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3fee2a5ef405f08ea3d87d2014ae7d38e61dd06f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/428846fffb806a2c1e7f5f9bb976964f011c8803"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/732e3e10234cbe302d0dcbaa98c91c66628209cb"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/7d3df012573523cb2f38a65e3e00125d9869b390"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d655ef174056457d1c3bc06b4405097e0a9b3bf5"
}
],
"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.