Vulnerability in Linux

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(), 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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.001, 3.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 4d12997a9bb3d217ad4b925ec3074ec89364bf95, 3.10, 0
  • Linux Kernel — versions 3.10, 6.19

Weakness classification (CWE)

References