diff options
| author | Ronnie Sahlberg <[email protected]> | 2025-06-19 02:10:31 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-06-19 13:53:24 +0000 |
| commit | 8c8472855884355caf3d8e0c50adf825f83454b2 (patch) | |
| tree | 7e5a5c4774bdccef75551639d8006416b54b07a3 /lib/crypto/mpi/mpi-cmp.c | |
| parent | aoe: defer rexmit timer downdev work to workqueue (diff) | |
| download | kernel-8c8472855884355caf3d8e0c50adf825f83454b2.tar.gz kernel-8c8472855884355caf3d8e0c50adf825f83454b2.zip | |
ublk: santizize the arguments from userspace when adding a device
Sanity check the values for queue depth and number of queues
we get from userspace when adding a device.
Signed-off-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Fixes: 71f28f3136af ("ublk_drv: add io_uring based userspace block driver")
Fixes: 62fe99cef94a ("ublk: add read()/write() support for ublk char device")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
