Servers and applications
CVE-2026-142882
net/9p/usbg: clear stale request context after abort
- Severity
- Unrated
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 6.12.118, 6.18.64, 7.3.5
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
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…
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 257,106GitHub, 29 Nov 2026
- Forks
- 66,781GitHub, 29 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 4,747
- Published in the last 12 months
- 4,747
- Critical, last 12 months
- 108
- High, last 12 months
- 669
- Known exploited
- 0
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packetsUnrated 3 Dec 2026
- CVE-2026-143400virtio_net: check RX buffer length before DMA syncUnrated 3 Dec 2026
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()Unrated 3 Dec 2026
- CVE-2026-143398Input: destroy force-feedback device on input unregistrationUnrated 3 Dec 2026
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transportsUnrated 3 Dec 2026
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-freeUnrated 3 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142882