CVE-2024-46815

drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]

State
Published
Severity
7.1 High
Published
Sep 27, 2024
Updated
Aug 5, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

Description

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

drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]

[WHY & HOW] num_valid_sets needs to be checked to avoid a negative index when accessing reader_wm_sets[num_valid_sets - 1].

This fixes an OVERRUN issue reported by Coverity.

Scores

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

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before a72d4996409569027b4609414a14a87679b12267Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 7c47dd2e92341f2989ab73dbed07f8894593ad7bAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before c4a7f7c0062fe2c73f70bb7e335199e25bd71492Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before b36e9b3104c4ba0f2f5dd083dcf6159cb316c996Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 21f9cb44f8c60bf6c26487d428b1a09ad3e8aebfAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before b38a4815f79b87efb196cd5121579fc51e29a7fbAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.4.284 through 5.4.*Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.167 through 5.15.*Not affected
  • 6.1.109 through 6.1.*Not affected
  • 6.6.50 through 6.6.*Not affected
  • 6.10.9 through 6.10.*Not affected
  • 6.11 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.