Vulnerability record
net/9p/usbg: fix out_req buffer leak in disable_usb9pfs
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()").
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources