Ming Lei
authored
If the 'hctx' isn't removed from cpuhp callback list, we can't reuse it, otherwise use-after-free may be triggered. Reported-by:kernel test robot <oliver.sang@intel.com> Closes: https://lore.kernel.org/oe-lkp/202412172217.b906db7c-lkp@intel.com Tested-by:
kernel test robot <oliver.sang@intel.com> Fixes: 22465bba ("blk-mq: move cpuhp callback registering out of q->sysfs_lock") Signed-off-by:
Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20241218101617.3275704-3-ming.lei@redhat.com Signed-off-by:
Jens Axboe <axboe@kernel.dk>