CVE-2024-42120

drm/amd/display: Check pipe offset before setting vblank

State
Published
Severity
7.8 High
Published
Jul 30, 2024
Updated
Aug 5, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Check pipe offset before setting vblank

pipe_ctx has a size of MAX_PIPES so checking its index before accessing the array.

This fixes an OVERRUN issue reported by Coverity.

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 b2e9abc95583ac7bbb2c47da4d476a798146dfd6Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 0b3702f9d43d163fd05e43b7d7e22e766dbef329Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before d2c3645a4a5ae5d933b4116c305d9d82b8199dbfAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 96bf81cc1bd058bb8af6e755a548e926e934dfd1Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 5396a70e8cf462ec5ccf2dc8de103c79de9489e6Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.10.222 through 5.10.*Not affected
  • 5.15.163 through 5.15.*Not affected
  • 6.1.98 through 6.1.*Not affected
  • 6.6.39 through 6.6.*Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 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.