CVE Database›Document archive›CVE-2025-71154

CVE-2025-71154

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

Loading…

Severity

Low

Red Hat Product Security

4

CVSS 3.1

Review impact separately from score.

Published · January 23, 2026

Updated · June 28, 2026

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.

Statement

The driver leaks memory when usb_submit_urb() fails because the cleanup normally performed by the completion callback never runs on submission errors. Repeated failures can accumulate leaked async_req and URB allocations, impacting system availability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-401 · Missing Release of Memory after Effective Lifetime