aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2022-12-14 23:26:03 +0000
committerKees Cook <[email protected]>2022-12-15 00:05:36 +0000
commitd6a9fb87e9d18f3394a9845546bbe868efdccfd2 (patch)
treed5c94c1a1096489916a2f52f9edc06410c258588 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentlkdtm: cfi: Make PAC test work with GCC 7 and 8 (diff)
downloadkernel-d6a9fb87e9d18f3394a9845546bbe868efdccfd2.tar.gz
kernel-d6a9fb87e9d18f3394a9845546bbe868efdccfd2.zip
security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
A bad bug in clang's implementation of -fzero-call-used-regs can result in NULL pointer dereferences (see the links above the check for more information). Restrict CONFIG_CC_HAS_ZERO_CALL_USED_REGS to either a supported GCC version or a clang newer than 15.0.6, which will catch both a theoretical 15.0.7 and the upcoming 16.0.0, which will both have the bug fixed. Cc: [email protected] # v5.15+ Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions