CVE-2024-46815Published Sep 27, 2024 · Sep 27Updated Oct 28
drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
Linux
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · < 6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel AMD display code could access reader_wm_sets[] with a negative index when num_valid_sets is zero. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with AMD display code should check their installations; affected versions are not specified.