# CVE-2024-46815: drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-09-27T12:35:57.062Z
- Modified: 2026-08-05T11:38:46.003Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before a72d4996409569027b4609414a14a87679b12267; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 7c47dd2e92341f2989ab73dbed07f8894593ad7b; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before c4a7f7c0062fe2c73f70bb7e335199e25bd71492; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before b36e9b3104c4ba0f2f5dd083dcf6159cb316c996; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before b38a4815f79b87efb196cd5121579fc51e29a7fb; 4.15 (not affected: before 4.15; from 5.4.284 up to 5.4.*; from 5.10.226 up to 5.10.*; from 5.15.167 up to 5.15.*; from 6.1.109 up to 6.1.*; from 6.6.50 up to 6.6.*; from 6.10.9 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 5.4.284; from 5.10 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.109; from 6.2 before 6.6.50; from 6.7 before 6.10.9

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a72d4996409569027b4609414a14a87679b12267> (patch)
- <https://git.kernel.org/stable/c/7c47dd2e92341f2989ab73dbed07f8894593ad7b> (patch)
- <https://git.kernel.org/stable/c/c4a7f7c0062fe2c73f70bb7e335199e25bd71492> (patch)
- <https://git.kernel.org/stable/c/b36e9b3104c4ba0f2f5dd083dcf6159cb316c996> (patch)
- <https://git.kernel.org/stable/c/21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf> (patch)
- <https://git.kernel.org/stable/c/6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0> (patch)
- <https://git.kernel.org/stable/c/b38a4815f79b87efb196cd5121579fc51e29a7fb> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-46815](https://www.cve.org/CVERecord?id=CVE-2024-46815), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46815](https://nvd.nist.gov/vuln/detail/CVE-2024-46815), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46815 · Whole record: https://cve.day/CVE-2024-46815.json · Rebuilt by cve.day 2026-11-25T22:58:45.828Z
