CVE-2026-99776: In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: clear stale client pointer on close p9_usbg_close() tears down the client tran…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- linux
https://nvd.nist.gov/vuln/detail/CVE-2026-99776 ↗
In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: clear stale client pointer on close p9_usbg_close() tears down the client transport, but usb9pfs keeps using usb9pfs->client from asynchronous TX and RX completion handlers. A late completion can therefore dereference a client that has already been freed during mount teardown. Clear usb9pfs->client under usb9pfs->lock when closing the transport, detach any pending TX request from in_req->context, and make the TX/RX completion handlers bail out once the transport has been detached. This keeps late completions from touching a freed or rebound p9_client. References: https://git.kernel.org/stable/c/951a7562ecde301a30ded7305b61dd0e9784bee8 https://git.kernel.org/stable/c/a478958f4c1181ff3362f8857b489c2d069f9c7d https://git.kernel.org/stable/c/c090c95f747714999a3fdebafa07b663473b7b7b https://git.kernel.org/stable/c/e56ec7e03bec90050368b9bc268d1de098bb92bc