diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-02-09 04:43:19 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-09 18:03:04 +0300 |
| commit | 4f3a06cc57976cafa8c6f716646be6c79a99e485 (patch) | |
| tree | 90d86d012d3051905937f2eff7605c2b04ffaf2a /tools/perf/tests/shell/script_python.sh | |
| parent | 164cacd0ba380604253b96dc312c85366147e3f7 (diff) | |
| download | linux-4f3a06cc57976cafa8c6f716646be6c79a99e485.tar.xz | |
ksmbd: add chann_lock to protect ksmbd_chann_list xarray
ksmbd_chann_list xarray lacks synchronization, allowing use-after-free in
multi-channel sessions (between lookup_chann_list() and ksmbd_chann_del).
Adds rw_semaphore chann_lock to struct ksmbd_session and protects
all xa_load/xa_store/xa_erase accesses.
Cc: stable@vger.kernel.org
Reported-by: Igor Stepansky <igor.stepansky@orca.security>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/tests/shell/script_python.sh')
0 files changed, 0 insertions, 0 deletions
