CVE-2025-38080 drm/amd/display: Increase block_sequence array size

High 7.8 Published Updated

A buffer overflow in the AMD display driver can cause a kernel crash when generating excessive hardware sequence steps.

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-2025-38080?

CVE-2025-38080 is a high-severity memory corruption vulnerability in Linux kernel, published on 18 Jun 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/display: Increase block_sequence array size

[Why] It's possible to generate more than 50 steps in hwss_build_fast_sequence, for example with a 6-pipe asic where all pipes are in one MPC chain. This overflows the block_sequence buffer and corrupts block_sequence_steps, causing a crash.

[How] Expand block_sequence to 100 items. A naive upper bound on the possible number of steps for a 6-pipe asic, ignoring the potential for steps to be mutually exclusive, is 91 with current code, therefore 100 is sufficient.

Which versions are affected by CVE-2025-38080?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38080?

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-2025-38080 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-63962, AZL-70304, BELL-CVE-2025-38080, DEBIAN-CVE-2025-38080, GHSA-j89p-6v8w-x2xm, ROOT-OS-DEBIAN-11-CVE-2025-38080 and 4 more.

Is CVE-2025-38080 in your software?

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

Check your SBOMs for free