CVE-2026-99778: 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…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- linux
https://nvd.nist.gov/vuln/detail/CVE-2026-99778 ↗
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()"). References: https://git.kernel.org/stable/c/5f9807270c7bda8f86b312ed1a8acd7716600555 https://git.kernel.org/stable/c/9ea2ffacee886707b8728c6b62d9e9650e2733ec https://git.kernel.org/stable/c/b941883db4f3ea5bf57bc8600f945f07b8ba2115 https://git.kernel.org/stable/c/fbdc36c04927c08eb676a5db2120e986654ad17c