aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-04-15 18:28:35 +0000
committerKees Cook <[email protected]>2024-04-16 00:42:43 +0000
commitf4626c12e4b538f757a73d08f4d86d564175b4f7 (patch)
treee5c0d2ce5e701a2002f40e7cad95d53711d3cf4b /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentconfigs/hardening: Disable CONFIG_UBSAN_SIGNED_WRAP (diff)
downloadkernel-f4626c12e4b538f757a73d08f4d86d564175b4f7.tar.gz
kernel-f4626c12e4b538f757a73d08f4d86d564175b4f7.zip
ubsan: Add awareness of signed integer overflow traps
On arm64, UBSAN traps can be decoded from the trap instruction. Add the add, sub, and mul overflow trap codes now that CONFIG_UBSAN_SIGNED_WRAP exists. Seen under clang 19: Internal error: UBSAN: unrecognized failure code: 00000000f2005515 [#1] PREEMPT SMP Reported-by: Nathan Chancellor <[email protected]> Closes: https://lore.kernel.org/lkml/20240411-fix-ubsan-in-hardening-config-v1-0-e0177c80ffaa@kernel.org Fixes: 557f8c582a9b ("ubsan: Reintroduce signed overflow sanitizer") Tested-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions