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

Summary

CVECVE-2024-46815
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-09-27 13:15:14 UTC
Updated2026-08-04 11:20:29 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: NVD-CWE-noinfo


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
3.1CNADECLARED7.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c a72d4996409569027b4609414a14a87679b12267 git Not specified
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 7c47dd2e92341f2989ab73dbed07f8894593ad7b git Not specified
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c c4a7f7c0062fe2c73f70bb7e335199e25bd71492 git Not specified
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c b36e9b3104c4ba0f2f5dd083dcf6159cb316c996 git Not specified
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf git Not specified
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0 git Not specified
CNA Linux Linux affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c b38a4815f79b87efb196cd5121579fc51e29a7fb git Not specified
CNA Linux Linux affected 4.15 Not specified
CNA Linux Linux unaffected 4.15 semver Not specified
CNA Linux Linux unaffected 5.4.284 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.226 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.167 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.109 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.50 6.6.* semver Not specified
CNA Linux Linux unaffected 6.10.9 6.10.* semver Not specified
CNA Linux Linux unaffected 6.11 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/b38a4815f79b87efb196cd5121579fc51e29a7fb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a72d4996409569027b4609414a14a87679b12267 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/b36e9b3104c4ba0f2f5dd083dcf6159cb316c996 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/7c47dd2e92341f2989ab73dbed07f8894593ad7b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2024/10/msg00003.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
lists.debian.org/debian-lts-announce/2025/01/msg00001.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/c4a7f7c0062fe2c73f70bb7e335199e25bd71492 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report