CVE-2023-5249
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 allows a local non-privileged user to make improper memory processing operations to exploit a software race condition. If the system’s memory is carefully prepared by the user, then this in turn cause a use-after-free.This issue affects Bifrost GPU Kernel Driver: from r35p0 through r40p0; Valhall GPU Kernel Driver: from r35p0 through r40p0.
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 confidenceUse After Free vulnerability in Arm's Bifrost and Valhall GPU kernel drivers (r35p0-r40p0). A local non-privileged user can exploit a software race condition through carefully prepared memory operations to trigger a use-after-free, potentially leading to local privilege escalation or denial of service.
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>= r35p0, <= r40p0>= r35p0, <= r40p0CVSS 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
- High
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/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 if an Arm Mali GPU is presentRun `lspci | grep -i vga` or `lspci | grep -i gpu` to list graphics hardware. Look for 'Mali' or 'Arm' in the output.Affected if No Arm Mali GPU is found in the system, then the driver is not present and this CVE does not apply.
-
Check if the Arm GPU kernel driver is loadedRun `lsmod | grep -i mali` or `cat /proc/modules | grep -i mali` to list loaded kernel modules related to Mali GPU.Affected if If no Mali-related kernel module is loaded, the driver is not active and the vulnerability is not exploitable.
-
Obtain the installed GPU driver versionUse `modinfo <mali_driver_module_name>` to retrieve version information. The module name is typically displayed in the lsmod output from the previous step.Affected if The driver version falls within the range r35p0 through r40p0 (inclusive). Compare the 'version' or 'srcversion' field from modinfo output against these version strings.
-
Verify driver version through sysfs or debugfsCheck /sys/class/drm/ for card device info or examine /var/log/dmesg for driver loading messages that may contain version strings.Affected if Driver version strings in logs or sysfs attributes show a version between r35p0 and r40p0.
A system is affected if it has an Arm Mali GPU with the Bifrost or Valhall kernel driver loaded, and the driver version is between r35p0 and r40p0 inclusive.
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 · scopedUpgrade GPU kernel drivers to a version beyond r40p0 that contains the fix. Monitor for any available security advisories from the GPU driver vendor or Linux distribution for patch availability.
r41p0 or later (any release after r40p0)
- 1. Identify the current Arm Mali GPU kernel driver version in use by checking /sys/class/misc/mali0/device/driver/version or using `lsmod | grep mali`
- 2. Confirm the driver version falls within the affected range: r35p0 through r40p0
- 3. Update the GPU kernel driver package to a version newer than r40p0. For Ubuntu/Debian systems, run: `sudo apt update && sudo apt install linux-image-<new-version>`. For other distributions, use the distribution's kernel package manager
- 4. Reboot the system to load the new driver
- 5. Verify the new driver version is installed and loaded: `modinfo mali` or check the version file as in step 1
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,928.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-5249 — 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-5249 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