aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2023-06-05 04:48:15 +0000
committerDave Chinner <[email protected]>2023-06-05 04:48:15 +0000
commit3148ebf2c0782340946732bfaf3073d23ac833fa (patch)
tree5ea13b64bc2c428a71729668b7a466bbcfc038dc /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parentxfs: fix agf/agfl verification on v4 filesystems (diff)
downloadkernel-3148ebf2c0782340946732bfaf3073d23ac833fa.tar.gz
kernel-3148ebf2c0782340946732bfaf3073d23ac833fa.zip
xfs: validity check agbnos on the AGFL
If the agfl or the indexing in the AGF has been corrupted, getting a block form the AGFL could return an invalid block number. If this happens, bad things happen. Check the agbno we pull off the AGFL and return -EFSCORRUPTED if we find somethign bad. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions