CVE-2026-99778
net/9p/usbg: fix out_req buffer leak in disable_usb9pfs
- CVSS
- —
- EPSS
- 0.16% (p5)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-20
- Product
- Linux Linux
Description
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()").
Fixed in
5f9807270c7bda8f86b312ed1a8acd7716600555 · 6.12.118 · 6.18.64 · 7.3.5 · 9ea2ffacee886707b8728c6b62d9e9650e2733ec · b941883db4f3ea5bf57bc8600f945f07b8ba2115 · fbdc36c04927c08eb676a5db2120e986654ad17c
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.12.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=a3be076dc174d9022a71a12554feb4c97b5c4d5c, <5f9807270c7bda8f86b312ed1a8acd7716600555 | 5f9807270c7bda8f86b312ed1a8acd7716600555 |
| vendor | Linux | >=a3be076dc174d9022a71a12554feb4c97b5c4d5c, <9ea2ffacee886707b8728c6b62d9e9650e2733ec | 9ea2ffacee886707b8728c6b62d9e9650e2733ec |
| vendor | Linux | >=a3be076dc174d9022a71a12554feb4c97b5c4d5c, <b941883db4f3ea5bf57bc8600f945f07b8ba2115 | b941883db4f3ea5bf57bc8600f945f07b8ba2115 |
| vendor | Linux | >=a3be076dc174d9022a71a12554feb4c97b5c4d5c, <fbdc36c04927c08eb676a5db2120e986654ad17c | fbdc36c04927c08eb676a5db2120e986654ad17c |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/b941883db4f3ea5bf57bc8600f945f07b8ba2115 other
- https://git.kernel.org/stable/c/fbdc36c04927c08eb676a5db2120e986654ad17c other
- https://git.kernel.org/stable/c/9ea2ffacee886707b8728c6b62d9e9650e2733ec other
- https://git.kernel.org/stable/c/5f9807270c7bda8f86b312ed1a8acd7716600555 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99778.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99778 advisory