A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: usb: rtl8150: fix memory leak on usb_submit_urb() failure
In async_set_registers(), when usb_submit_urb() fails, the allocated async_req structure and URB are not freed, causing a memory leak.
The completion callback async_set_reg_cb() is responsible for freeing these allocations, but it is only called after the URB is successfully submitted and completes (successfully or with error). If submission fails, the callback never runs and the memory is leaked.
Fix this by freeing both the URB and the request structure in the error path when usb_submit_urb() fails.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/12cab1191d9890097171156d06bfa8d31f1e39c8
- git.kernel.org /stable/c/151403e903840c9cf06754097b6732c14f26c532
- git.kernel.org /stable/c/2f966186b99550e3c665dbfb87b8314e30acea02
- git.kernel.org /stable/c/4bd4ea3eb326608ffc296db12c105f92dc2f2190
- git.kernel.org /stable/c/6492ad6439ff1a479fc94dc6052df3628faed8b6
- git.kernel.org /stable/c/a4e2442d3c48355a84463342f397134f149936d7
- git.kernel.org /stable/c/db2244c580540306d60ce783ed340190720cd429
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning