diff options
| author | Ming Lei <[email protected]> | 2024-12-18 10:16:15 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-12-18 14:25:37 +0000 |
| commit | 85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b (patch) | |
| tree | 1ad8b6bcdd0acfe1750059bee78237c87b5a8114 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | block: Revert "block: Fix potential deadlock while freezing queue and acquiri... (diff) | |
| download | kernel-85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b.tar.gz kernel-85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
