Commit 946acde0 authored by Dominique Martinet's avatar Dominique Martinet Committed by sanglipeng
Browse files

9p: trans_fd/p9_conn_cancel: drop client lock earlier

stable inclusion
from stable-v5.10.156
commit f14858bc77c567e089965962877ee726ffad0556
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7MCG1

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f14858bc77c567e089965962877ee726ffad0556

--------------------------------

commit 52f1c45d upstream.

syzbot reported a double-lock here and we no longer need this
lock after requests have been moved off to local list:
just drop the lock earlier.

Link: https://lkml.kernel.org/r/20220904064028.1305220-1-asmadeus@codewreck.org


Reported-by: default avatar <syzbot+50f7e8d06c3768dd97f3@syzkaller.appspotmail.com>
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
Tested-by: default avatarSchspa Shi <schspa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 64c2a349
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment