Re: [PATCH v2] null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues'
From: Jens Axboe
Date: Sat May 25 2024 - 12:09:52 EST
On Thu, 23 May 2024 23:39:34 +0800, Yu Kuai wrote:
> Writing 'power' and 'submit_queues' concurrently will trigger kernel
> panic:
>
> Test script:
>
> modprobe null_blk nr_devices=0
> mkdir -p /sys/kernel/config/nullb/nullb0
> while true; do echo 1 > submit_queues; echo 4 > submit_queues; done &
> while true; do echo 1 > power; echo 0 > power; done
>
> [...]
Applied, thanks!
[1/1] null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues'
commit: a2db328b0839312c169eb42746ec46fc1ab53ed2
Best regards,
--
Jens Axboe