CVE-2023-54150 drm/amd: Fix an out of bounds error in BIOS parser
An out-of-bounds read in the AMD GPU BIOS parser can lead to memory corruption, potentially causing system crashes or arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-54150?
CVE-2023-54150 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/amd: Fix an out of bounds error in BIOS parser
The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error.
commit 4fc1ba4aa589 ("drm/amd/display: fix array index out of bound error in bios parser") fixed some of this, but there are two other cases not covered by it. Fix those as well.
Which versions are affected by CVE-2023-54150?
How do I fix CVE-2023-54150?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-54150 being exploited?
There is no known exploitation of CVE-2023-54150 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2023-54150, DEBIAN-CVE-2023-54150, GHSA-g4x6-vrjg-m8w6, UBUNTU-CVE-2023-54150.