summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2024-02-05 18:24:22 +0300
committerJan Kara <jack@suse.cz>2024-02-05 18:51:59 +0300
commitc8f1140cb82dc843e72697dc6f8c7ee1acce5d28 (patch)
tree6ceeda81d254112bf45d048c534474455921c25f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentd0aa72604fbd80c8aabb46eda00535ed35570f1f (diff)
downloadlinux-c8f1140cb82dc843e72697dc6f8c7ee1acce5d28.tar.xz
udf: Avoid invalid LVID used on mount
udf_load_logicalvolint() loads logical volume integrity descriptors. Since there can be multiple blocks with LVIDs, we verify the contents of only the last (prevailing) LVID found. However if we fail to load the last LVID (either due to IO error or because it's checksum fails to match), we never perform the verification of validity of the LVID we are going to use. If such LVID contains invalid data, we can hit out-of-bounds access or similar issues. Fix the problem by verifying each LVID we are potentially going to accept. Reported-by: Robert Morris <rtm@csail.mit.edu> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions