net/9p/usbg: fix out_req buffer leak in disable_usb9pfs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fbdc36c04927c08eb676a5db2120e986654ad17c, Kernel 5f9807270c7bda8f86b312ed1a8acd7716600555, Kernel 9ea2ffacee886707b8728c6b62d9e9650e2733ec and 4 more.
In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: fix out_req buffer leak in disable_usb9pfs usb9pfs->out_req is allocated with alloc_ep_req(), which also allocates the request's data buffer (req->buf). disable_usb9pfs() frees it with plain usb_ep_free_request(), which only frees the usb_request structure itself and leaks req->buf on every close. Use free_ep_req() instead, matching the allocator, as documented by its own comment ("Requests allocated via alloc_ep_req() *must* be freed by free_ep_req()").
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <fbdc36c04927c08eb676a5db2120e986654ad17c, >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <5f9807270c7bda8f86b312ed1a8acd7716600555, >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <9ea2ffacee886707b8728c6b62d9e9650e2733ec, >=a3be076dc174d9022a71a12554feb4c97b5c4d5c <b941883db4f3ea5bf57bc8600f945f07b8ba2115, =6.12 | fbdc36c04927c08eb676a5db2120e986654ad17c, 5f9807270c7bda8f86b312ed1a8acd7716600555, 9ea2ffacee886707b8728c6b62d9e9650e2733ec, b941883db4f3ea5bf57bc8600f945f07b8ba2115 |
| 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