CVE-2023-32804
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedOut-of-bounds Write vulnerability in Arm Ltd Midgard GPU Userspace Driver, Arm Ltd Bifrost GPU Userspace Driver, Arm Ltd Valhall GPU Userspace Driver, Arm Ltd Arm 5th Gen GPU Architecture Userspace Driver allows a local non-privileged user to write a constant pattern to a limited amount of memory not allocated by the user space driver.This issue affects Midgard GPU Userspace Driver: from r0p0 through r32p0; Bifrost GPU Userspace Driver: from r0p0 through r44p0; Valhall GPU Userspace Driver: from r19p0 through r44p0; Arm 5th Gen GPU Architecture Userspace Driver: from r41p0 through r44p0.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceOut-of-bounds Write vulnerability in Arm GPU userspace drivers (Midgard, Bifrost, Valhall, and 5th Gen) allows a local non-privileged user to write a constant pattern to memory not allocated by the driver, potentially leading to memory corruption and privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= r41p0, <= r44p0>= r0p0, <= r44p0>= r0p0, <= r32p0>= r19p0, <= r44p0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check for Arm Mali GPU hardware presenceExamine /sys/bus/platform/devices or run lspci to list GPU devices. Look for Mali GPU identifiers (e.g., Mali-T, Mali-G) in the output.Affected if No Arm Mali GPU hardware found means not affected by this CVE.
-
Identify the GPU architecture familyDetermine which Arm GPU architecture is in use: Midgard (older Mali-T series), Bifrost (Mali-G series), Valhall (newer Mali-G series), or 5th Gen. Consult system documentation or driver information for the specific architecture.Affected if The CVE affects Midgard, Bifrost, Valhall, and 5th Gen architectures - verify which one applies to your system.
-
Locate the installed Arm GPU userspace driver versionCheck driver package version using system package manager (dpkg -l, rpm -qa) or examine driver files in /usr/lib/ or /opt/ for Mali driver libraries (libMali.so or similar). The version string typically appears in the package name or driver filename.Affected if Driver version cannot be determined may indicate no Arm GPU drivers are installed.
-
Compare installed version against affected rangesFor Midgard: compare version to r0p0 through r32p0. For Bifrost: compare to r0p0 through r44p0. For Valhall: compare to r19p0 through r44p0. For 5th Gen: compare to r41p0 through r44p0. Extract the version number from step 3 and check if it falls within these inclusive ranges.Affected if Installed version falls within the specified range for your architecture indicates potential vulnerability.
-
Verify the GPU driver is actively loadedCheck if the Mali driver module is loaded using lsmod | grep mali or examine running processes related to GPU rendering. The vulnerability requires the affected driver component to be actively handling GPU operations.Affected if Driver is not loaded or not in use reduces the likelihood of exploitation but does not eliminate the vulnerability if the driver is present at the affected version.
A system is affected if it contains Arm Mali GPU hardware running a userspace driver version within the specific architecture range (Midgard r0p0-r32p0, Bifrost r0p0-r44p0, Valhall r19p0-r44p0, or 5th Gen r41p0-r44p0) with the driver actively loaded.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate Arm GPU userspace drivers to versions beyond r32p0 (Midgard), r44p0 (Bifrost/Valhall), or r44p0 (5th Gen) as specified in the advisory. Apply through system package updates or obtain patched drivers from Arm/OEM.
r33p0 (Midgard), r45p0 (Bifrost, Valhall, 5th Gen)
- 1. Identify which Arm GPU architecture (Midgard, Bifrost, Valhall, or 5th Gen) is in use by checking the kernel driver module or device
- 2. Determine the current driver version by examining the loaded module version or checking /sys/module/mali_kbase/version (or equivalent path for your driver)
- 3. For Midgard GPUs: Upgrade to r33p0 or later
- 4. For Bifrost GPUs: Upgrade to r45p0 or later
- 5. For Valhall GPUs: Upgrade to r45p0 or later
- 6. For 5th Gen GPUs: Upgrade to r45p0 or later
- 7. Obtain the updated driver from your system-on-chip (SoC) vendor or Arm's official driver distribution
- 8. Apply the driver update following your vendor's standard kernel module update procedure
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-32804 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-32804 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data