diff options
author | Ranjan Kumar <[email protected]> | 2024-11-11 01:14:01 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-12-04 12:21:05 -0500 |
commit | 367ac16e5ff2dcd6b7f00a8f94e6ba98875cb397 (patch) | |
tree | 2c2b71a190fe7c747447ad6c9c22f1a1d704e510 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 6050471545eecec214ca9ceb38a63e98e9003338 (diff) |
scsi: mpi3mr: Synchronize access to ioctl data buffer
The driver serializes ioctls through a mutex lock but access to the
ioctl data buffer is not guarded by the mutex. This results in multiple
user threads being able to write to the driver's ioctl buffer
simultaneously.
Protect the ioctl buffer with the ioctl mutex.
Signed-off-by: Sumit Saxena <[email protected]>
Signed-off-by: Ranjan Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions