CVE-2025-71154

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

State
Published
Severity
Not scored
Published
Jan 23, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before a4e2442d3c48355a84463342f397134f149936d7Affected
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before 2f966186b99550e3c665dbfb87b8314e30acea02Affected
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before db2244c580540306d60ce783ed340190720cd429Affected
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before 4bd4ea3eb326608ffc296db12c105f92dc2f2190Affected
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before 6492ad6439ff1a479fc94dc6052df3628faed8b6Affected
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before 151403e903840c9cf06754097b6732c14f26c532Affected
  • 4d12997a9bb3d217ad4b925ec3074ec89364bf95 to before 12cab1191d9890097171156d06bfa8d31f1e39c8Affected
LinuxLinux
  • 3.10Affected
  • before 3.10Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.4 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.