AMD submits Linux updates to fix data leakage vulnerabilities when Zen 1 architecture is divided by zero
Thanks to CTOnews.com netizen OC_Formula for the clue delivery! CTOnews.com, August 13, Phoronix found that AMD has incorporated a new bug fix for the Linux kernel, mainly because the original AMD Zen processor may have a data leak after dividing by zero.
As of CTOnews.com, both the Linux 6.4.10 stable kernel and the Linux 6.1.45 / 5.15.126 / 5.10.190 LTS kernel have fixed this vulnerability.
AMD Linux developer Borislav Petkov wrote a kernel patch to address the Bug of Ryzen 1000 series and EPYC 7001 series processors, explaining:
In some cases, an error occurs when an integer is divided by 0, which may leave out-of-date quotient data for previous division operations on the Zen1 schema.
Perform a virtual 0max 1 division before returning from the # DE exception handler to avoid any potentially sensitive data leakage w.
In the code, this problem is referred to simply as "AMD DIV0 conjecture Bug".
Of course, virtual division 0ram 1 applies only to AMD Zen 1 processors. The kernel message added to this patch also indicates that disabling SMT technology provides "comprehensive" protection against zeroing problems.
In addition to the AMD Zen 1 fix, a variety of other Bug fixes have been made in the Linux stable and LTS kernels this week.