Skip to content
Commit dde06aaa authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tls: rx: release the sock lock on locking timeout



Eric reports we should release the socket lock if the entire
"grab reader lock" operation has failed. The callers assume
they don't have to release it or otherwise unwind.

Reported-by: default avatarEric Dumazet <edumazet@google.com>
Reported-by: default avatar <syzbot+16e72110feb2b653ef27@syzkaller.appspotmail.com>
Fixes: 4cbc325e ("tls: rx: allow only one reader at a time")
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220720203701.2179034-1-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b945804d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment