NetSight
medium5.5

CVE-2025-71154

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(), wh…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 3.10.1 before 5.10.248
from 5.11 before 5.15.198
from 5.16 before 6.1.160
from 6.2 before 6.6.120
from 6.7 before 6.12.64
from 6.13 before 6.18.4

Weakness classification

References