linux/arch
Borislav Petkov (AMD) 77245f1c3c x86/CPU/AMD: Do not leak quotient data after a division by 0
Under certain circumstances, an integer division by 0 which faults, can
leave stale quotient data from a previous division operation on Zen1
microarchitectures.

Do a dummy division 0/1 before returning from the #DE exception handler
in order to avoid any leaks of potentially sensitive data.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2023-08-09 07:55:00 -07:00
..
alpha
arc
arm ARM: SoC fixes for 6.5, part 2 2023-08-02 18:21:12 -07:00
arm64 x86: 2023-08-07 10:18:20 -07:00
csky
hexagon
ia64 arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
loongarch arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
m68k
microblaze
mips arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
nios2
openrisc
parisc parisc: unaligned: Add required spaces after ',' 2023-08-03 14:40:37 +02:00
powerpc powerpc fixes for 6.5 #5 2023-08-05 13:16:17 -07:00
riscv RISC-V Fixes for 6.5-rc5 2023-08-04 16:04:37 -07:00
s390 s390 fixes for 6.5-rc5 2023-08-03 09:06:38 -07:00
sh arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
sparc arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
um arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
x86 x86/CPU/AMD: Do not leak quotient data after a division by 0 2023-08-09 07:55:00 -07:00
xtensa
.gitignore
Kconfig