Skip to main content
← All vulnerabilities
CVE-2025-71154

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in a4e2442d3c48355a84463342f397134f149936d7; From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in 2f966186b99550e3c665dbfb87b8314e30acea02; From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in db2244c580540306d60ce783ed340190720cd429; From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in 4bd4ea3eb326608ffc296db12c105f92dc2f2190; From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in 6492ad6439ff1a479fc94dc6052df3628faed8b6; From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in 151403e903840c9cf06754097b6732c14f26c532; From 4d12997a9bb3d217ad4b925ec3074ec89364bf95 · fixed in 12cab1191d9890097171156d06bfa8d31f1e39c8

  • Linux Linux

    3.10

  • KernelLinux

    From 3.10.0 · fixed in 5.10.248; From 5.11.0 · fixed in 5.15.198; From 5.16.0 · fixed in 6.1.160; From 6.2.0 · fixed in 6.6.120; From 6.7.0 · fixed in 6.12.64; From 6.13.0 · fixed in 6.18.4

References 7

git.kernel.org