Skip to main content

AMD’s defenses against Spectre V2 may be inadequate

Just a few days ago, Intel and ARM chips were once again found to be affected by the Spectre V2 vulnerability, also known as branch history injection (BHI). AMD processors were thought to be safe at the time.

Unfortunately, further research shows that AMD is not immune to Spectre V2, and its previous measures may be inadequate, bringing performance drops of up to 54%.

The AMD Ryzen 5000 APU against a red background.
AMD

Spectre and Meltdown flaws were first found in December 2017, and during the initial attack, Intel, Arm, and AMD chips were all affected. When Spectre reemerged just last week, AMD seemed to get away unscathed due to the different architecture of its chips, but Intel and Arm chips were hit hard.

Recommended Videos

On Intel CPUs, Spectre is a proof-of-concept exploit that introduces malicious code into the computer’s kernel, opening the door to a wide range of vulnerabilities, such as the extraction of personal data and passwords. Spectre V2 is said to affect Intel processors released within the last few years, including the latest Intel Alder Lake CPUs.

Get your weekly teardown of the tech behind PC gaming
Check your inbox!

This time around, AMD initially seemed to be doing fine in the face of BHI, but according to Intel researchers, AMD’s chipset may still have code exposures. AMD, just like the other two chip giants, had introduced certain security measures when Spectre was first discovered in 2017. Experts from Team Red assured that these measures are still in place and are helping its chips avoid the attack. This may not be quite as true as AMD would like it to be.

As detailed by the VUSec group at Vrije Universiteit Amsterdam, AMD used the Retpoline strategy to mitigate Spectre V2. According to the research team, the generic Retpoline code is inadequate and insufficient to combat Spectre V2. AMD disagrees with this, stating that its own hardware does a better job of utilizing the Retpoline strategy.

Phoronix benchmarks of AMD CPUs.
Image source: Phoronix Image used with permission by copyright holder

Phoronix has also analyzed the performance of AMD CPUs with the Retpoline mitigations enabled and found performance drops of up to 54% in some tests. This implies that AMD’s solution, while seemingly effective in mitigating the attacks this time around, may have an adverse impact on Zen-based processors.

AMD was made aware of the findings of these research teams and issued an official recommendation, talking about the affected products and their mitigation measures. Using Linux, users can choose which mitigation against Spectre V2 is being used at boot time. AMD continues to encourage users to utilize the generic Retpoline.

The Intel research team that wrote a paper about this seemingly disagrees with the approach, stating: “The effectiveness of this mitigation can be compromised by the inherent race condition between the speculative execution of the predicted target and the architectural resolution of the intended target, since this can create a window in which code can still be transiently executed.”

Wccftech compiled the various sources and initially shared the news. One could assume that Intel would be pleased to find issues with AMD’s chips, but with vulnerabilities as large as Spectre V2, chipmakers tend to work together in order to minimize risks. However, AMD seems confident in its fixes.

Monica J. White
Monica is a computing writer at Digital Trends, focusing on PC hardware. Since joining the team in 2021, Monica has written…
AMD may have just leaked the Ryzen 9 7950X3D release date
A hand holding AMD's Ryzen 9 7950X3D processor.

AMD may have confirmed the release date of the hotly-anticipated Ryzen 9 7950X3D, Ryzen 9 7900X3D, and Ryzen 7 7800X3D, but it doesn't look intentional. According to OC3D, AMD briefly published a launch date of February 14 for its new processors.

The launch date has since been removed from all listings on AMD's website, so this was probably a slip-up. However, February 14 isn't out of the question. AMD confirmed when announcing the processors that they would arrive in February.

Read more
The 6 best AMD CPUs of all time
AMD Ryzen processor chip render.

AMD has a long history, and after the recent launch of Ryzen 7000 processors, we decided it was time to look back. The company has a storied history filled with many highs, but equally as many lows.

Although AMD is well known for its graphics, it only started selling GPUs in the late 2000s. Its CPU business is much, much older, going all the way back to the 60s. And just as AMD's graphics are inextricably intertwined with those of Nvidia, AMD's CPUs are hard to separate from those of its other rival, Intel.

Read more
AMD might deal a huge blow to Intel with new 3D V-Cache CPUs
AMD Ryzen 7 5800X3D.

According to a new leak, AMD may be readying up some truly powerful Ryzen 7000 processors equipped with its 3D V-Cache technology.

The rumor suggests that this time around, at least three CPUs are in the works, and they're the top-of-the-line models, including the Ryzen 9 7950X3D, Ryzen 9 7900X3D, and Ryzen 7 7800XD. Equipping the already powerful flagships with 3D V-Cache would pose a real threat to Intel's top Raptor Lake CPUs. What can we expect from these gaming beasts?

Read more