CVE-2026-31757

usb: misc: usbio: Fix URB memory leak on submit failure

State
Published
Severity
Not scored
Published
May 1, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

usb: misc: usbio: Fix URB memory leak on submit failure

When usb_submit_urb() fails in usbio_probe(), the previously allocated URB is never freed, causing a memory leak.

Fix this by jumping to err_free_urb label to properly release the URB on the error path.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 121a0f839dbb397af5fabb701cea3e9983223e50 to before 65ff09f48b0e72e4049096a989723406aabcf091Affected
  • 121a0f839dbb397af5fabb701cea3e9983223e50 to before 1762dc43b983d321180582afba4a0c5185fae04cAffected
  • 121a0f839dbb397af5fabb701cea3e9983223e50 to before 33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 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.