CVE-2023-5249 Mali GPU Kernel Driver allows improper GPU memory processing operations

High 7.0 Published Updated

A local attacker can exploit a race condition in the Mali GPU kernel driver to trigger a use-after-free, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5249?

CVE-2023-5249 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 5 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Use 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.

Weakness: CWE-416

Which versions are affected by CVE-2023-5249?

It affects 2 products.

Products include Arm Bifrost Gpu Kernel Driver, Arm Valhall Gpu Kernel Driver.

How do I fix CVE-2023-5249?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-5249 being exploited?

There is no known exploitation of CVE-2023-5249 in the wild and no public exploit code.

All Arm Valhall Gpu Kernel Driver vulnerabilities

Sources

Also known as A-301630648, ASB-A-301630648, GHSA-839x-p2jc-q87x.

Is CVE-2023-5249 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free