Tag Archives: Zen 4

AMD’s Zen 3 & Zen 4 CPUs Are At Risk of Exploitations Thanks to New “Inception” Vulnerability

Researchers at ETH Zurich have identified a series of vulnerabilities in AMD’s CPUs. The vulnerabilities have been identified in CPUs with the Zen 3 and Zen 4 architecture in particular and are present across the board in both desktop and laptop CPUs and APUs with the architecture.

The vulnerability, identified now as “Inception”, takes advantage of speculative execution, a technique where a computer predicts and performs operations it anticipates needing in the future. Using an attack method called Training in Transient Execution (TTE), the affected CPUs can be manipulated to believe that they have seen a certain set of instructions before even if it has never happened before.

In the simplest of terms, the exploit acts exactly like how Leonardo DiCaprio and his team did in the movie “Inception”. Similar to how they were able to plant an idea to retrieve information, the vulnerability in AMD CPUs can do the same thing.

In fact, XDA Developers described that “Inception” takes its name from the movie of the same title, where the central concept involves implanting an idea in someone’s dream. In the exploit context, researchers metaphorically implant an “idea” into the CPU during its “dream-like” state, causing it to execute incorrect instructions. This manipulation of the CPU’s control flow is the core mechanism exploited by Inception.

amd ryzen 3000

Exploiting A Kernel Memory Breach

The vulnerability poses a serious security threat as “Inception” is an end-to-end exploit that can covertly leak sensitive information from Zen 3 and Zen 4 processors. The exploit can access confidential kernel memory, including sensitive files like “/etc/shadow” on Linux systems. This file holds hashed user account passwords, typically safeguarded and accessible only to the root user.

According to XDA Developers, with a leakage rate of up to 39 bytes per second, Inception has the capability to retrieve these passwords within 40 minutes.

Exploitation of Speculative Execution

The workings of Inception draw parallels to a similar exploit named Zenbleed. ETH Zurich researchers leveraged the TTE technique to craft an attack capable of infiltrating AMD Zen CPUs. This involves manipulating speculative execution to carry out actions that may not be immediately necessary, a strategy often used to optimise processing.

Inception: leaking the root hash from /etc/shadow on AMD Zen 4

A central component in this attack is the Branch Target Buffer (BTB) and the Return Stack Buffer (RSB). Inception disrupts branch prediction during the transient window by introducing fresh predictions into the branch predictor. This action creates more powerful transient windows, which can then be exploited to overflow the Return Stack Buffer. Ultimately, this allows Inception to take control of the CPU.

Preventing Exploitation and Mitigation Strategy

AMD has acknowledged the vulnerability in a recent bulletin. The company has released a µcode patch for the affected processors which can be applied via a BIOS update.

According to XDA Developers, like Intel’s “Spectre” vulnerability, effective mitigation strategies remain challenging. One proposed mitigation approach involves flushing the branch predictor during context switches. However, this could inflict significant performance degradation.

If you are using one of the following processors, it would be best to check for a BIOS update.

Desktop CPUs & APUs:

  • 3rd & 4th Gen AMD EPYC CPUs
  • Ryzen 5000 & 4000 Series Desktop Processors (including CPUs like Ryzen 5 5600G or Ryzen 7 4700G APUs)
  • Ryzen 7000 Series Desktop Processors
  • Ryzen Threadripper PRO 5000WX Series Processors

Mobile CPUs:

  • Ryzen 5000 Series Mobile Processors
  • Ryzen 6000 Series Processors (with Radeon Graphics)
  • Ryzen 7035 Series Processors (with Radeon Graphics)
  • Ryzen 7030 Series Processors (with Radeon Graphics)
  • Ryzen 7040 Series Processors (with Radeon Graphics)
  • Ryzen 7045 Series Processors

[CES 2023] AMD Brings the Ryzen 7000 Series Mobile! 

AMD’s CES keynote was quite a big one. No, they did not make p15 product announcements. More like they launched just one line-up of small chips to go into small and portable products, and one huge chip meant to go into huge servers you never want to see the inside of the next 10 years. They launched the AMD Ryzen 7000 series for mobile computing devices. Yes, they did launch new Epyc server class processors, but we think that it is worth a story of its own. 

Welcome to the latest AMD mobile processor experience. This time AMD launched a few series of Ryzen 7000 processors. You have the AMD Ryzen 7045HX, Ryzen 7040HS, Ryzen 7035, and Ryzen 7030 series processors. There are also AMD Ryzen PRO 7030 series processors designed for the corporate world too. 

The AMD Ryzen 7030 Series 

Meant to find their way to the budget options, the AMD Ryzen 7030 series processors are really meant to be entry-level powerhouses. You get to opt for up to the AMD Ryzen 7 7730U with up to eight cores and 16 threads. All eight cores are finished with AMD’s 7nm Zen 3 architecture. The Zen 3 architecture may be a previous generation technology, but it is still a highly popular architecture that has proven itself over time. 

With constrained budget, most entry-level laptops will not feature their own discrete GPU. That is why the AMD Ryzen 7030 packs its own Radeon graphics that will prove to be useful in both gaming and productivity situations. Then there are the AMD Ryzen PRO 7030 series. 

The PRO processors have always been made for corporate laptops. They are more like the older Ryzen PRO 5000 series processor than the newer generation Zen 4 processors. Like the regular AMD Ryzen 7030, they pack 7nm Zen 3 architecture instead of the new Zen 4. While they will perform the same as the regular Ryzen 7030, their added security layer buikt into the chip itself should set itself apart from other AMD Ryzen 7000 series mobile processors.  

The AMD Ryzen 7035 Series 

Coming up the ladder is AMD’s 6nm processors with up to eight cores and 16 threads on the Ryzen 7035HS. It is the Zen 3+ technology that took the Zen 3 architecture and improved its power efficiency and general processing speed despite similar general architectures. It is designed for productivity machines that are meant to go everywhere. The first of many will be HP’s Dragonfly PRO coming soon. While not at the lowest end of AMD’s latest processors for the mobile computer, the AMD Ryzen 7035 series still aims to impress at a great value. 

The AMD Ryzen 7040HS Series 

Coming to the more performance focused space is the AMD Ryzen 7040HS processors starting from the Ryzen 5 7640HS processor with six cores and 12 threads. You can opt for a higher end Ryzen 9 7940HS processor with eight cores and 16 threads too.  

The Ryzen 7040HS series comes with AMD’s latest Zen 4 architecture for best-in-class performance in modern thin-and-light laptops. The Zen 4 processor also comes built-in with RDNA 3 Radeon graphics too so that you can game even without a discrete GPU.  

The AMD Ryzen 7045HX Series 

If you want the best of the best, you want AMD’s latest Ryzen 7045HX series processors. Of course, it comes with AMD’s latest 5nm Zen 4 technology. The range-topping AMD Ryzen 9 7945Hz also comes with up 16 cores alongside 32 threads. They clock up to to 5.4GHz on boost and this class of mobile processors will be the closest thing to desktop computing experience you can get on laptops. That said, this could also be the most powerful laptop processors you can find when you get your hands on one.  

Because you are going to want to carry your powerhouse of a laptop, the processor must be power efficient too. The most powerful processors in the range consumes up to 75W. In that case, you might see some laptops with AMD’s Ryzen 7045HX processors that can be charged with 100W USB type-C chargers. Of course, you will not be able to use the laptop with its discrete GPU, if it comes with one.  

Availability 

AMD’s latest Ryzen 7000 series processors for mobile devices will be coming through 2023 from AMD’s manufacturing partners like Lenovo, HP, ASUS, and maybe even Razer. Alongside the new mobile processors, AMD also launched the new AMD Ryzen 9 7800X3D, Ryzen 9 7900X3D, and AMD Ryzen 7950X3D processors as a sort of 3D V-Cache technology upgrade to AMD’s existing line up of desktop processors. You can find more information on AMD’s latest Ryzen processors on their website.