diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2025-04-15 03:30:21 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-04-15 06:21:26 +0300 |
commit | 18b4fac5ef17f77fed9417d22210ceafd6525fc7 (patch) | |
tree | bff38add083b6974b42f5c0ea2f21f29b90a7667 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de (diff) | |
download | linux-18b4fac5ef17f77fed9417d22210ceafd6525fc7.tar.xz |
ksmbd: fix use-after-free in smb_break_all_levII_oplock()
There is a room in smb_break_all_levII_oplock that can cause racy issues
when unlocking in the middle of the loop. This patch use read lock
to protect whole loop.
Cc: stable@vger.kernel.org
Reported-by: Norbert Szetei <norbert@doyensec.com>
Tested-by: Norbert Szetei <norbert@doyensec.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions