Files
linux/arch/x86/kernel/cpu
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
..
2023-06-01 15:04:33 +02:00
2022-08-04 11:11:59 +02:00
2023-05-15 20:03:08 +02:00
2021-10-21 15:49:07 +02:00