Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-38181: Arm Mali GPU Kernel Driver Use-After-Free Vulnerability

85
Patch now
HIGH 8.8EXPLOITEDUPGRADEUPGRADEUPGRADE

CVE-2022-38181 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 unprivileged users to access freed memory because GPU memory operations are mishandled. This affects Bifrost r0p0 through r38p1, and r39p0; Valhall r19p0 through r38p1, and r39p0; and Midgard r4p0 through r32p0.

Why this priority

  • High severity
  • EPSS top 3%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance18.5% (top 3%)
CISA exploited listYes, fix due 2023-04-20
WeaknessCWE-416
Published2022-10-25
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: >= r0p0 and <= r38p1 · r39p0
Fixed in: newer than r38p1
Safe to downgrade to: a release before r0p0
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 newer than r38p1 (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 r0p0 (Debian / Ubuntu)
apt-cache madison bifrost-gpu-kernel-driver sudo apt install bifrost-gpu-kernel-driver=<VERSION_BEFORE_r0p0> 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_r0p0> 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: >= r4p0 and <= r31p0
Fixed in: newer than r31p0
Safe to downgrade to: a release before r4p0
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 newer than 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 r4p0 (Debian / Ubuntu)
apt-cache madison midgard-gpu-kernel-driver sudo apt install midgard-gpu-kernel-driver=<VERSION_BEFORE_r4p0> 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_r4p0> 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 <= r38p1 · r39p0
Fixed in: newer than r38p1
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 newer than r38p1 (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 ELN · libslirp · FIXED · 4.9.7-1.eln159 · FEDORA-2026-209cb94e13 · source
sudo dnf upgrade --advisory=FEDORA-2026-209cb94e13
Fedora 46 · modpoll · FIXED · 1.6.1-1.fc46 · FEDORA-2026-60d403ff15 · source
sudo dnf upgrade --advisory=FEDORA-2026-60d403ff15

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-2022-38181?

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

Is CVE-2022-38181 being exploited?

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

What does CVE-2022-38181 affect?

CVE-2022-38181 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 unprivileged users to access freed memory because GPU memory operations are mishandled. This affects Bifrost r0p0 through r38p1, and r39p0; Valhall r19p0 through r38p1, and r39p0; and Midgard r4p0 throu

How urgent is CVE-2022-38181?

Priority 85/100. High severity; EPSS top 3%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference

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.