Files
linux-stable-mirror/drivers/usb/misc
Greg Kroah-Hartman 19ef3da0a8 usb: misc: uss720: properly clean up reference in uss720_probe()
commit 45dba8011e upstream.

If get_1284_register() fails, the usb device reference count is
incorrect and needs to be properly dropped before returning.  That will
happen when the kref is dropped in the call to destroy_priv(), so jump
to that error path instead of returning directly.

Cc: stable <stable@kernel.org>
Assisted-by: gkh_clanker_2000
Link: https://patch.msgid.link/2026022342-smokiness-stove-d792@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-03-25 11:05:49 +01:00
..
2026-03-25 11:05:49 +01:00