7.1high
drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: comprobar num_valid_sets antes de acceder a reader_wm_sets[] [POR QUÉ Y CÓMO] Es necesario comprobar num_valid_sets para evitar un índice negativo al acceder a reader_wm_sets[num_valid_sets - 1]. Esto soluciona un problema de OVERRUN informado por Coverity.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46815 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-46815 changed 2026-08-04 | Public domain |