Skip to content
Commit d0d394c7 authored by George Kennedy's avatar George Kennedy Committed by Greg Kroah-Hartman
Browse files

ax88172a: fix ax88172a_unbind() failures

[ Upstream commit c28d9a28 ]

If ax88172a_unbind() fails, make sure that the return code is
less than zero so that cleanup is done properly and avoid UAF.

Fixes: a9a51bd7

 ("ax88172a: fix information leak on short answers")
Signed-off-by: default avatarGeorge Kennedy <george.kennedy@oracle.com>
Reported-by: default avatar <syzbot+4cd84f527bf4a10fc9c1@syzkaller.appspotmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ad49d766
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment