CVE-2024-46730Published Sep 18, 2024 · Sep 18Updated Nov 1
drm/amd/display: Ensure array index tg_inst won't be -1
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Ensure array index tg_inst won't be -1
[WHY & HOW] tg_inst will be a negative if timing_generator_count equals 0, which should be checked before used.
This fixes 2 OVERRUN issues reported by Coverity.
From the CVE record · Linux
The Linux kernel's AMD display code can use a negative array index when timing_generator_count is zero, causing array overruns. The input does not establish how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with AMD display code should check their installations; affected versions are not specified.