aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-12-28 07:24:09 +0000
committerChandan Babu R <[email protected]>2023-12-29 08:07:05 +0000
commit4f6ac47b55e3ce6e982807928d6074ec105ab66e (patch)
treed717c5d4573530f46e68cd55bea5a5e700f831d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentxfs: turn the XFS_DA_OP_REPLACE checks in xfs_attr_shortform_addname into ass... (diff)
downloadkernel-4f6ac47b55e3ce6e982807928d6074ec105ab66e.tar.gz
kernel-4f6ac47b55e3ce6e982807928d6074ec105ab66e.zip
xfs: fix a use after free in xfs_defer_finish_recovery
dfp will be freed by ->recover_work and thus the tracepoint in case of an error can lead to a use after free. Store the defer ops in a local variable to avoid that. Fixes: 7f2f7531e0d4 ("xfs: store an ops pointer in struct xfs_defer_pending") Reported-by: kernel test robot <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: "Darrick J. Wong" <[email protected]> Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions