net/9p/usbg: clear stale client pointer on close
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e56ec7e03bec90050368b9bc268d1de098bb92bc, Kernel 951a7562ecde301a30ded7305b61dd0e9784bee8, Kernel a478958f4c1181ff3362f8857b489c2d069f9c7d and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <e56ec7e03bec90050368b9bc268d1de098bb92bc, >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <951a7562ecde301a30ded7305b61dd0e9784bee8, >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <a478958f4c1181ff3362f8857b489c2d069f9c7d, >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <c090c95f747714999a3fdebafa07b663473b7b7b, =6.12 | e56ec7e03bec90050368b9bc268d1de098bb92bc, 951a7562ecde301a30ded7305b61dd0e9784bee8, a478958f4c1181ff3362f8857b489c2d069f9c7d, c090c95f747714999a3fdebafa07b663473b7b7b |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=6.12.0 <6.12.118 | 6.18.64, 7.3.5, 6.12.118 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket