GHSA-3866-R426-GX9X
Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30In the Linux kernel, the following vulnerability has been resolved:
net/9p/usbg: clear stale request context after abort
usb9pfs_clear_tx() serializes access to the active TX request with usb9pfs->lock, but leaves in_req->context pointing at the request after p9_client_cb() drops the transport reference. A later teardown path can therefore retrieve the same request after it has been freed:
CPU 0 (p9_usbg_close) CPU 1 (usb9pfs_disable) lock(usb9pfs->lock) req = in_req->context p9_client_cb(client, req) p9_req_put(client, req) unlock(usb9pfs->lock) request reaches zero refs kmem_cache_free(req) lock(usb9pfs->lock) req = in_req->context read req->t_err
The lock orders the two callbacks, but cannot protect a pointer that remains published after its reference has been released. KASAN reported:
BUG: KASAN: slab-use-after-free in usb9pfs_clear_tx+0x166/0x1b0 Read of size 4 at addr ffff88810e7420f4 by task poc/94 Call Trace: usb9pfs_clear_tx+0x166/0x1b0 usb9pfs_disable+0x1d/0x30 reset_config+0x9d/0x200 __composite_disconnect+0xa7/0x140 Allocated by task 93: kmem_cache_alloc_noprof+0x141/0x370 p9_tag_alloc+0x8f/0x5b0 p9_client_prepare_req+0xff/0x350 p9_client_rpc+0x1a5/0xac0 Freed by task 0: slab_free_after_rcu_debug+0xa6/0x1e0 rcu_core+0x50a/0x1850 Last potentially related work creation: kmem_cache_free+0x1db/0x3d0 p9_req_put+0x164/0x1f0 usb9pfs_clear_tx+0x120/0x1b0 p9_usbg_close+0x7e/0x150
Clear in_req->context after the callback while still holding the lock. This matches the consume-and-clear pattern in usb9pfs_tx_complete(), so subsequent teardown calls return without touching the released request. The existing callback and error ordering remain unchanged.
{
"affected": [],
"aliases": [
"CVE-2026-142882"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-12-03T04:18:26Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p/usbg: clear stale request context after abort\n\nusb9pfs_clear_tx() serializes access to the active TX request with\nusb9pfs-\u003elock, but leaves in_req-\u003econtext pointing at the request after\np9_client_cb() drops the transport reference. A later teardown path can\ntherefore retrieve the same request after it has been freed:\n\n CPU 0 (p9_usbg_close) CPU 1 (usb9pfs_disable)\n lock(usb9pfs-\u003elock)\n req = in_req-\u003econtext\n p9_client_cb(client, req)\n p9_req_put(client, req)\n unlock(usb9pfs-\u003elock)\n request reaches zero refs\n kmem_cache_free(req)\n lock(usb9pfs-\u003elock)\n req = in_req-\u003econtext\n read req-\u003et_err\n\nThe lock orders the two callbacks, but cannot protect a pointer that\nremains published after its reference has been released. KASAN reported:\n\n BUG: KASAN: slab-use-after-free in usb9pfs_clear_tx+0x166/0x1b0\n Read of size 4 at addr ffff88810e7420f4 by task poc/94\n Call Trace:\n usb9pfs_clear_tx+0x166/0x1b0\n usb9pfs_disable+0x1d/0x30\n reset_config+0x9d/0x200\n __composite_disconnect+0xa7/0x140\n Allocated by task 93:\n kmem_cache_alloc_noprof+0x141/0x370\n p9_tag_alloc+0x8f/0x5b0\n p9_client_prepare_req+0xff/0x350\n p9_client_rpc+0x1a5/0xac0\n Freed by task 0:\n slab_free_after_rcu_debug+0xa6/0x1e0\n rcu_core+0x50a/0x1850\n Last potentially related work creation:\n kmem_cache_free+0x1db/0x3d0\n p9_req_put+0x164/0x1f0\n usb9pfs_clear_tx+0x120/0x1b0\n p9_usbg_close+0x7e/0x150\n\nClear in_req-\u003econtext after the callback while still holding the lock.\nThis matches the consume-and-clear pattern in usb9pfs_tx_complete(), so\nsubsequent teardown calls return without touching the released request.\nThe existing callback and error ordering remain unchanged.",
"id": "GHSA-3866-r426-gx9x",
"modified": "2026-12-03T06:30:37Z",
"published": "2026-12-03T06:30:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142882"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b43db97bde49c73f05a33104ef879d87d9a2ec8c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b58943dd690eb9b76c652e735789937a03f3d30c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c005fd8368ab48f5eec0d0984f4a60de0729f30a"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d6bc7edbd56c062fe5aa43b0043d8f71e629de4f"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
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.