# CVE-2026-31757: usb: misc: usbio: Fix URB memory leak on submit failure

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:47.659Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 121a0f839dbb397af5fabb701cea3e9983223e50 before 65ff09f48b0e72e4049096a989723406aabcf091; from 121a0f839dbb397af5fabb701cea3e9983223e50 before 1762dc43b983d321180582afba4a0c5185fae04c; from 121a0f839dbb397af5fabb701cea3e9983223e50 before 33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21; 6.18 (not affected: before 6.18; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/65ff09f48b0e72e4049096a989723406aabcf091> (patch)
- <https://git.kernel.org/stable/c/1762dc43b983d321180582afba4a0c5185fae04c> (patch)
- <https://git.kernel.org/stable/c/33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21> (patch)

## Sources

- CVE List: [CVE-2026-31757](https://www.cve.org/CVERecord?id=CVE-2026-31757), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-31757](https://nvd.nist.gov/vuln/detail/CVE-2026-31757), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31757 · Whole record: https://cve.day/CVE-2026-31757.json · Rebuilt by cve.day 2026-11-25T22:59:20.372Z
