summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2024-12-05 21:38:47 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-19 18:11:21 +0100
commit450a844c045ff0895d41b05a1cbe8febd1acfcfd (patch)
tree9e05077630a2e33c58a0f5145919f60ea556ddc3 /net/unix/af_unix.c
parent0252305d296431f4c328acb008429fb6d595fc16 (diff)
ksmbd: fix racy issue from session lookup and expire
commit b95629435b84b9ecc0c765995204a4d8a913ed52 upstream. Increment the session reference count within the lock for lookup to avoid racy issue with session expire. Cc: stable@vger.kernel.org Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-25737 Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions