summaryrefslogtreecommitdiff
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorBenjamin Cheng <benjamin.cheng@amd.com>2026-03-25 15:39:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-04-03 20:48:10 +0300
commit66085e206431ef88ce36f53c1f53d570790ccc9e (patch)
tree40f1adf039ce1369444e0bd3fe69d77cf4286624 /scripts/decode_stacktrace.sh
parent4e8197426f8f10a9afc9a50fc2970b733ed22d85 (diff)
downloadlinux-66085e206431ef88ce36f53c1f53d570790ccc9e.tar.xz
drm/amdgpu: Add bounds checking to ib_{get,set}_value
The uvd/vce/vcn code accesses the IB at predefined offsets without checking that the IB is large enough. Check the bounds here. The caller is responsible for making sure it can handle arbitrary return values. Also make the idx a uint32_t to prevent overflows causing the condition to fail. Signed-off-by: Benjamin Cheng <benjamin.cheng@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions