CVE-2025-0427
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 · uneditedUse After Free vulnerability in Arm Ltd Bifrost GPU Kernel Driver, Arm Ltd Valhall GPU Kernel Driver, Arm Ltd Arm 5th Gen GPU Architecture Kernel Driver allows a local non-privileged user process to perform valid GPU processing operations to gain access to already freed memory.This issue affects Bifrost GPU Kernel Driver: from r8p0 through r49p3, from r50p0 through r51p0; Valhall GPU Kernel Driver: from r19p0 through r49p3, from r50p0 through r53p0; Arm 5th Gen GPU Architecture Kernel Driver: from r41p0 through r49p3, from r50p0 through r53p0.
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 confidenceA Use After Free vulnerability exists in Arm's Bifrost, Valhall, and 5th Gen GPU kernel drivers. A local non-privileged user process can perform valid GPU processing operations to trigger the driver to access memory that has already been freed, potentially leading to privilege escalation or information disclosure.
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, <= r49p3>= r50p0, <= r53p0>= r8p0, <= r49p3>= r50p0, <= r51p0>= r19p0, <= r49p3>= r50p0, <= r53p0CVSS 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.
-
Identify Arm GPU hardware in the systemRun 'lspci | grep -i arm' or 'cat /proc/device-tree/compatible' on embedded systems to list GPU devices. Check /sys/class/drm/card*/device for device information on systems with DRM.Affected if No Arm Mali GPU is present - the system is not affected by this CVE.
-
Locate the loaded Arm GPU kernel driverRun 'lsmod | grep -E "(mali|bifrost|valhall)"' to list loaded GPU kernel modules. Also check /sys/module/ for directories starting with 'mali' or 'bifrost'.Affected if No Mali, Bifrost, or Valhall kernel modules are loaded - the vulnerability cannot be triggered.
-
Determine the installed driver versionRun 'modinfo <module_name>' where <module_name> is the GPU module found (e.g., mali_kbase, panfrost). The output shows 'version' or ' vermagic' fields. On Android, check /vendor/lib/modules/ or use 'cat /sys/module/<module_name>/version'.Affected if Unable to determine driver version - treat as potentially affected.
-
Compare driver version against affected rangesFor Bifrost: versions r8p0 through r49p3 AND r50p0 through r51p0 are affected. For Valhall: versions r19p0 through r49p3 AND r50p0 through r53p0 are affected. For Arm 5th Gen: versions r41p0 through r49p3 AND r50p0 through r53p0 are affected. Match the installed driver version to these ranges.
-
Verify if GPU processing is accessible to non-privileged usersCheck /dev/dri/* permissions with 'ls -la /dev/dri/*' and review /etc/group for graphics group membership. Determine if local users can submit GPU work without elevated privileges.Affected if Non-privileged local users can access GPU rendering - the attack vector is present.
The system is affected if it has an Arm Bifrost, Valhall, or 5th Gen GPU with a kernel driver version within the specified affected ranges AND non-privileged users have access to GPU processing capabilities.
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 GPU drivers to versions beyond the affected ranges (r49p3 for Bifrost, r53p0 for Valhall/Arm 5th Gen). For systems where vendor updates are unavailable, consider restricting access to GPU rendering capabilities or implementing additional process isolation.
Bifrost: r52p0 or later; Valhall: r54p0 or later; 5th Gen GPU: r54p0 or later
- 1. Identify the specific Arm Mali GPU kernel driver currently in use (Bifrost, Valhall, or 5th Gen) by checking /sys/class/misc/mali0/device/driver or using 'lsmod | grep mali'
- 2. Determine the exact driver version using 'cat /sys/class/misc/mali0/device/driver_version' or checking the kernel module info
- 3. If running Bifrost driver (r8p0-r49p3 or r50p0-r51p0), upgrade to r52p0 or later
- 4. If running Valhall driver (r19p0-r49p3 or r50p0-r53p0), upgrade to r54p0 or later
- 5. If running 5th Gen GPU driver (r41p0-r49p3 or r50p0-r53p0), upgrade to r54p0 or later
- 6. Obtain the fixed driver from Arm's official developer website (developer.arm.com) or through your device/system vendor's kernel update channel
- 7. Apply the driver update via standard kernel module update procedure or system firmware update, then reboot the system
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing2.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 $1,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-0427 — 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-2025-0427 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