summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-10-16 22:15:04 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-27 17:04:17 -0400
commit9866cb13ba4d39aa8fed34b765d4aecabe04f02e (patch)
tree05531e0620c0b76cd05ced453bd870cb5a11bf21 /scripts/Makefile.thinlto
parent9b0890e72d19b0c430fe62bad290c7c79baa78e4 (diff)
downloadlinux-next-9866cb13ba4d39aa8fed34b765d4aecabe04f02e.tar.gz
linux-next-9866cb13ba4d39aa8fed34b765d4aecabe04f02e.zip
drm/amdkfd: validate SRAT subtables before parsing
The KFD SRAT walker reads the first subtable length without checking that a header is present and trusts subsequent lengths when accessing CPU and generic affinity records. Invalid firmware lengths can therefore cause out-of-bounds reads. Validate the table header, every generic subtable range, and each supported typed record before reading its fields. Fixes: ddec8d3be0f8 ("drm/amdkfd: add ACPI SRAT parsing for topology") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Jiale Yao <yaojiale02@163.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit d76b655c98e8cc9e791b31502ad274f47dee2aae) Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions