Zenbleed on AMD Zen 2 processors

Zenbleed affects one processor generation, which makes it simple to assess: check whether your chip is Zen 2, then confirm the kernel or microcode fix is active.

What is Zenbleed?

Zenbleed, CVE-2023-20593, was disclosed in July 2023. Under specific conditions, a mispredicted instruction on Zen 2 cores fails to clear the upper half of a vector register properly, so a program can read stale register contents left by other processes on the same core. Because those registers are used by everyday string and memory functions in the C library, the leaked data can include passwords, keys and text from other programs. Unlike many speculative flaws it needs no precise timing, which made it practical to exploit.

Which of our machines use Zen 2?

Only a few models. Zen 2 is the core in the AMD EPYC 7002 generation (Rome) and in Ryzen 3000 and Ryzen Pro 3000 parts. Every other AMD model in the catalogue uses Zen 3, Zen 4 or Zen 5 and is not affected by Zenbleed.

ModelProcessorCore design
ESSENTIAL-7AMD EPYC 7402Zen 2
ESSENTIAL-8AMD EPYC 7532Zen 2
ESSENTIAL-9AMD EPYC 7642Zen 2
STORAGE-1AMD Ryzen 7 Pro 3700Zen 2

These remain excellent machines for many-core work at a modest price; with the fix in place they are as safe to run as any other generation.

How is Zenbleed fixed?

In two ways, and either one is sufficient. AMD released microcode for EPYC 7002 that corrects the behaviour. Independently, Linux kernels from mid 2023 onwards set a configuration bit on Zen 2 cores, often called the chicken bit, that disables the faulty optimisation whenever the microcode is older than the fixed revision. All kernels in the systems we install include this, so a fully updated system is protected even before microcode is updated.

How can I confirm the Zenbleed fix is active?

There is no dedicated entry in the vulnerabilities folder for Zenbleed. Instead, check the processor family, the loaded microcode and the kernel log, which prints a message on Zen 2 when it applies the workaround because the microcode is too old.

lscpu | grep -E 'Model name|CPU family'
awk -F': ' '/^microcode/ {print $2; exit}' /proc/cpuinfo
journalctl -k -b | grep -i zenbleed

A log line saying the kernel is using the workaround and suggesting a microcode update means you are protected by the kernel method. No line on a Zen 2 system, with a current kernel and current amd64-microcode or linux-firmware, means the microcode fix is active.

How do I update?

Install the latest kernel and AMD microcode package and reboot. This is the same routine as for every other processor flaw, so automatic security updates plus a monthly restart keep you covered.

# Debian and Ubuntu
apt update && apt install amd64-microcode && apt upgrade
# AlmaLinux, Rocky Linux, Fedora
dnf upgrade linux-firmware kernel
systemctl reboot

Does the fix cost performance?

Very little. The microcode fix and the chicken bit both disable a narrow optimisation in how vector registers are tracked. Measurements published after disclosure showed differences within run-to-run noise for most server workloads, and small drops only in some vector-heavy benchmarks. There is no practical reason to turn the protection off.

What about virtual machines on a Zen 2 host?

The host's protection covers the guests, because the chicken bit and microcode act on the physical cores. Keep the host kernel current and reboot it after updates; guests should also be updated, but they do not need to detect Zenbleed themselves. If you run Proxmox VE on an EPYC 7002 machine, the same check commands work on the host. The Patch CPU vulnerabilities guide explains the broader routine, and Inception (AMD SRSO) covers the separate flaw that affects later Zen generations.

Our Zen 2 machines

ModelProcessorCoresMemoryDrivesPortPer month
ESSENTIAL-7AMD EPYC 740224128 GB2x 480 GB SSD SATA1 Gbps unmetered$113.40
ESSENTIAL-8AMD EPYC 753232256 GB2x 480 GB SSD SATA1 Gbps unmetered$126.60
ESSENTIAL-9AMD EPYC 764248256 GB2x 480 GB SSD SATA1 Gbps unmetered$153.00
STORAGE-1AMD Ryzen 7 Pro 3700832 GB2x 480 GB SSD SATA + 4x 14 TB HDD SAS1 Gbps unmetered$109.80

Related pages

Patch CPU vulnerabilities

Check which processor flaws affect your machine, apply microcode and kernel fixes, and weigh the cost of mitigations on a single-tenant server.

Read more

Inception (AMD SRSO)

The Inception flaw in AMD Zen processors: which machines it touches, what the kernel status line means and how to apply microcode and kernel fixes.

Read more

AMD EPYC, Ryzen and Xeon generations

Which processor family sits in each of our machines, what each generation changed, and how to read a model name before you order.

Read more

Essential servers

Affordable bare metal for websites, development and first production apps.

from $38.40 a monthRead more

Questions and answers

Which processors does Zenbleed affect?

AMD Zen 2 designs: EPYC 7002 server chips and Ryzen 3000 family parts. Zen 3, Zen 4 and Zen 5 are not affected.

Is there a sysfs entry for Zenbleed?

No dedicated entry. Check the CPU family, the microcode revision and the kernel log for a zenbleed message.

Is a Zen 2 server safe to use?

Yes, with a current kernel or microcode. The kernel applies a workaround automatically when the microcode is older than the fixed revision.

Does the Zenbleed fix slow the server?

Not measurably for most workloads. It disables a narrow register optimisation.

Do guests on a Zen 2 host need their own fix?

The host protection covers the physical cores and therefore the guests. Keep both host and guests updated anyway.