5.5medium
usb: misc: usbio: Fix URB memory leak on submit failure
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.18 before 6.18.22, from 6.19 before 6.19.12, 7.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: misc: usbio: Corrección de fuga de memoria de URB al fallar el envío Cuando usb_submit_urb() falla en usbio_probe(), el URB previamente asignado nunca se libera, causando una fuga de memoria. Esto se corrige saltando a la etiqueta err_free_urb para liberar correctamente el URB en la ruta de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31757 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-31757 changed 2026-11-11 | Public domain |