Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-29256: Arm Mali GPU Kernel Driver Use-After-Free Vulnerability

78
Patch now
HIGH 8.8EXPLOITEDUPGRADEUPGRADEUPGRADE

CVE-2021-29256 is a high-severity flaw (CVSS 8.8) affecting bifrost gpu kernel driver, midgard gpu kernel driver, valhall gpu kernel driver, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

. The Arm Mali GPU kernel driver allows an unprivileged user to achieve access to freed memory, leading to information disclosure or root privilege escalation. This affects Bifrost r16p0 through r29p0 before r30p0, Valhall r19p0 through r29p0 before r30p0, and Midgard r28p0 through r30p0.

Why this priority

  • High severity
  • Exploited in the wild (CISA KEV)

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance3.0% (top 13%)
CISA exploited listYes, fix due 2023-07-28
WeaknessCWE-416
Published2021-05-24
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: arm

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

arm bifrost gpu kernel driver UPGRADE
Affected: >= r16p0 and < r30p0
Fixed in: r30p0
Safe to downgrade to: a release before r16p0
1. Check installed version
apt-cache policy bifrost-gpu-kernel-driver || rpm -q bifrost-gpu-kernel-driver || bifrost-gpu-kernel-driver --version
2. UPGRADE to r30p0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade bifrost-gpu-kernel-driver
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade bifrost-gpu-kernel-driver
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before r16p0 (Debian / Ubuntu)
apt-cache madison bifrost-gpu-kernel-driver sudo apt install bifrost-gpu-kernel-driver=<VERSION_BEFORE_r16p0> sudo apt-mark hold bifrost-gpu-kernel-driver
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list bifrost-gpu-kernel-driver sudo dnf downgrade bifrost-gpu-kernel-driver-<VERSION_BEFORE_r16p0> sudo dnf versionlock add bifrost-gpu-kernel-driver
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
arm midgard gpu kernel driver UPGRADE
Affected: >= r28p0 and < r31p0
Fixed in: r31p0
Safe to downgrade to: a release before r28p0
1. Check installed version
apt-cache policy midgard-gpu-kernel-driver || rpm -q midgard-gpu-kernel-driver || midgard-gpu-kernel-driver --version
2. UPGRADE to r31p0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade midgard-gpu-kernel-driver
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade midgard-gpu-kernel-driver
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before r28p0 (Debian / Ubuntu)
apt-cache madison midgard-gpu-kernel-driver sudo apt install midgard-gpu-kernel-driver=<VERSION_BEFORE_r28p0> sudo apt-mark hold midgard-gpu-kernel-driver
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list midgard-gpu-kernel-driver sudo dnf downgrade midgard-gpu-kernel-driver-<VERSION_BEFORE_r28p0> sudo dnf versionlock add midgard-gpu-kernel-driver
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
arm valhall gpu kernel driver UPGRADE
Affected: >= r19p0 and < r30p0
Fixed in: r30p0
Safe to downgrade to: a release before r19p0
1. Check installed version
apt-cache policy valhall-gpu-kernel-driver || rpm -q valhall-gpu-kernel-driver || valhall-gpu-kernel-driver --version
2. UPGRADE to r30p0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade valhall-gpu-kernel-driver
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade valhall-gpu-kernel-driver
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before r19p0 (Debian / Ubuntu)
apt-cache madison valhall-gpu-kernel-driver sudo apt install valhall-gpu-kernel-driver=<VERSION_BEFORE_r19p0> sudo apt-mark hold valhall-gpu-kernel-driver
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list valhall-gpu-kernel-driver sudo dnf downgrade valhall-gpu-kernel-driver-<VERSION_BEFORE_r19p0> sudo dnf versionlock add valhall-gpu-kernel-driver
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · python-dtoc · FIXED · 0.1.0-1.fc46 · FEDORA-2026-e4734649a1 · source
sudo dnf upgrade --advisory=FEDORA-2026-e4734649a1
Fedora ELN · parallel · FIXED · 20261022-1.eln159 · FEDORA-2026-6d961c0286 · source
sudo dnf upgrade --advisory=FEDORA-2026-6d961c0286

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-29256?

bifrost gpu kernel driver: upgrade to r30p0; midgard gpu kernel driver: upgrade to r31p0; valhall gpu kernel driver: upgrade to r30p0. Exact commands for each OS are on this page.

Is CVE-2021-29256 being exploited?

Yes. CVE-2021-29256 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-29256 affect?

CVE-2021-29256 affects bifrost gpu kernel driver, midgard gpu kernel driver, valhall gpu kernel driver. Severity is high (CVSS 8.8). . The Arm Mali GPU kernel driver allows an unprivileged user to achieve access to freed memory, leading to information disclosure or root privilege escalation. This affects Bifrost r16p0 through r29p0 before r30p0, Valhall r19p0 through r29

How urgent is CVE-2021-29256?

Priority 78/100. High severity; Exploited in the wild (CISA KEV)

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.