diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-20 22:37:00 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-22 03:58:11 +0200 |
commit | dde06aaa89b76275407b78108b57f94838287dab (patch) | |
tree | 5b7d8dc86d710679cd29f44003d5c962939e485c /ipc | |
parent | Merge tag 'linux-can-next-for-5.20-20220721' of git://git.kernel.org/pub/scm/... (diff) | |
download | linux-dde06aaa89b76275407b78108b57f94838287dab.tar.xz linux-dde06aaa89b76275407b78108b57f94838287dab.zip |
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: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot+16e72110feb2b653ef27@syzkaller.appspotmail.com
Fixes: 4cbc325ed6b4 ("tls: rx: allow only one reader at a time")
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220720203701.2179034-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions