CVE-2025-38080

drm/amd/display: Increase block_sequence array size

State
Published
Severity
7.8 High
Published
Jun 18, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before de67e80ab48f1f23663831007a2fa3c1471a7757Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before e55c5704b12eeea27e212bfab8f7e51ad3e8ac1fAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before bf1666072e7482317cf2302621766482a21a62c7Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 3a7810c212bcf2f722671dadf4b23ff70a7d23eeAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 6.6.93 through 6.6.*Not affected
  • 6.12.31 through 6.12.*Not affected
  • 6.14.9 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.