drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c06e09b76639657f284bfaf1cce29557a2515e85 · < cf114d8d4a8d78df272116a745bb43b48cef65f4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
Tell snprintf() to store at most 10 bytes in the output buffer instead of 30.
Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:1508 dp_dsc_clock_en_read() error: snprintf() is printing too much 30 vs 10
From the CVE record · Linux
The Linux kernel's AMD display debugfs function dp_dsc_clock_en_read() can write too much data to a 10-byte output buffer. The input does not specify whether exploitation requires local or network access, authentication, or user interaction.
Engineers running the Linux kernel with AMD display support should check their installations; affected versions were not specified.