summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2024-12-18 18:16:15 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-02 10:32:11 +0100
commitee18012c80155f6809522804099621070c69ec72 (patch)
tree17b6d9c182724da446d4a3052526d90c19113dc3 /include/net/aligned_data.h
parent937fcde0e971d477525307380afa51538cd2e856 (diff)
block: avoid to reuse `hctx` not removed from cpuhp callback list
commit 85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b upstream. 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: 22465bbac53c ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions