CVE-2026-31757 PUBLISHED

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

Assigner: Linux
Reserved: 09.03.2026 Published: 01.05.2026 Updated: 01.05.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 121a0f839dbb397af5fabb701cea3e9983223e50 to 65ff09f48b0e72e4049096a989723406aabcf091 (excl.)
  • affected from 121a0f839dbb397af5fabb701cea3e9983223e50 to 1762dc43b983d321180582afba4a0c5185fae04c (excl.)
  • affected from 121a0f839dbb397af5fabb701cea3e9983223e50 to 33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.18 is affected
  • unaffected from 0 to 6.18 (excl.)
  • unaffected from 6.18.22 to 6.18.* (incl.)
  • unaffected from 6.19.12 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References