1. Home
  2. Vulnerabilities
  3. CVE-2025-71154

CVE-2025-71154

net: usb: rtl8150: fix memory leak on usb_submit_urb() failure

Published 23 Jan 2026 · modified 19 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 23/100

Summary

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 and versions

Linux (9 line(s))
Linux
ProductVersionsFixed inSource
Linux 3.10 — CNA (vendor or assigner)
Linux kernel from 3.10.1 (included) to 5.10.248 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.198 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.160 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.120 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.64 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.18.4 (excluded) — NVD
Linux kernel 3.10 — NVD
Linux kernel 6.19 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-401 · Autre (CWE-401)

How this data is obtained and calculated