CVEvulnerability
CVE-2025-71154
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-01-23
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 3.10.1 < 5.10.248)
• linux linux kernel (>= 5.11 < 5.15.198)
• linux linux kernel (>= 5.16 < 6.1.160)
• linux linux kernel (>= 6.2 < 6.6.120)
• linux linux kernel (>= 6.7 < 6.12.64)
• linux linux kernel (>= 6.13 < 6.18.4)
• linux linux kernel 3.10
• linux linux kernel 6.19
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/12cab1191d9890097171156d06bfa8d31f1e39c8 Patch
- https://git.kernel.org/stable/c/151403e903840c9cf06754097b6732c14f26c532 Patch
- https://git.kernel.org/stable/c/2f966186b99550e3c665dbfb87b8314e30acea02 Patch
- https://git.kernel.org/stable/c/4bd4ea3eb326608ffc296db12c105f92dc2f2190 Patch
- https://git.kernel.org/stable/c/6492ad6439ff1a479fc94dc6052df3628faed8b6 Patch
- https://git.kernel.org/stable/c/a4e2442d3c48355a84463342f397134f149936d7 Patch
- https://git.kernel.org/stable/c/db2244c580540306d60ce783ed340190720cd429 Patch