diff options
author | Ming Lei <[email protected]> | 2024-12-18 18:16:15 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-12-18 07:25:37 -0700 |
commit | 85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b (patch) | |
tree | 1ad8b6bcdd0acfe1750059bee78237c87b5a8114 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 224749be6c23efe7fb8a030854f4fc5d1dd813b3 (diff) |
block: avoid to reuse `hctx` not removed from cpuhp callback list
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 <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Tested-by: kernel test robot <[email protected]>
Fixes: 22465bbac53c ("blk-mq: move cpuhp callback registering out of q->sysfs_lock")
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions