diff options
| author | 2026-03-31 20:05:08 +0800 | |
|---|---|---|
| committer | 2026-04-02 09:36:36 +0200 | |
| commit | 33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21 (patch) | |
| tree | 3465d935bdbbd00c6221c64c60d6390354c9af75 /tools/perf/scripts/python/stackcollapse.py | |
| parent | USB: core: add NO_LPM quirk for Razer Kiyo Pro webcam (diff) | |
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.
Fixes: 121a0f839dbb ("usb: misc: Add Intel USBIO bridge driver")
Cc: stable <stable@kernel.org>
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260331-usbio-v2-1-d8c48dad9463@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
