diff options
| author | Michail Tatas <michail.tatas@gmail.com> | 2026-07-17 01:24:13 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 12:33:48 +0200 |
| commit | 15902712b9e2a46649cba2f22002d05faec2a990 (patch) | |
| tree | 4f69a4650a150111a8d8ce0032d175cd96b0e420 /include/linux/debugobjects.h | |
| parent | 590d74ec8f488e06b9f1c0f8f0941f45531f3a55 (diff) | |
USB: misc: uss720: Fix leak in get_1284_register
if wait_for_completion_timeout() times out in get_1284_register()
then we do not destroy the reference acquired via kref_get() in
submit_async_request. Add the missing kref_put in the timeout path.
link: https://syzkaller.appspot.com/bug?extid=56962eb32ba0136cd330
Reported-by: syzbot+56962eb32ba0136cd330@syzkaller.appspotmail.com
Signed-off-by: Michail Tatas <michail.tatas@gmail.com>
Link: https://patch.msgid.link/allaDTUua9n5DQ0a@michalis-linux
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
