summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-02-09 10:43:19 +0900
committerSteve French <stfrench@microsoft.com>2026-02-09 09:03:04 -0600
commit4f3a06cc57976cafa8c6f716646be6c79a99e485 (patch)
tree90d86d012d3051905937f2eff7605c2b04ffaf2a /include/linux/i2c/git@git.tavy.me:linux.git
parent164cacd0ba380604253b96dc312c85366147e3f7 (diff)
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 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions