CVE-2024-27045
JSON

7.0high

drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.31% (higher than 25% 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: 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

Affected

Product or packageVersionsReported by
Linux Linuxfrom c06e09b76639657f284bfaf1cce29557a2515e85 before ff28893c96c5e0927a4da10cd24a3522ca663515, from c06e09b76639657f284bfaf1cce29557a2515e85 before 440f059837418fac1695b65d3ebc6080d33be877, from c06e09b76639657f284bfaf1cce29557a2515e85 before d346b3e5b25c95d504478507eb867cd3818775ab, from c06e09b76639657f284bfaf1cce29557a2515e85 before ad76fd30557d6a106c481e4606a981221ca525f7, from c06e09b76639657f284bfaf1cce29557a2515e85 before eb9327af3621d26b1d83f767c97a3fe8191a3a65, from c06e09b76639657f284bfaf1cce29557a2515e85 before cf114d8d4a8d78df272116a745bb43b48cef65f4, from c06e09b76639657f284bfaf1cce29557a2515e85 before 4b09715f1504f1b6e8dff0e9643630610bc05141, 5.9
Not affected: before 5.9, from 5.10.214 up to 5.10.*, from 5.15.153 up to 5.15.*, from 6.1.83 up to 6.1.*, from 6.6.23 up to 6.6.*, from 6.7.11 up to 6.7.*
CVE List
linux linux_kernelfrom 5.9 before 5.10.214, from 5.11 before 5.15.153, from 5.16 before 6.1.83, from 6.2 before 6.6.23, from 6.7 before 6.7.11, from 6.8 before 6.8.2NVD

All scores

Linux7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-120

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: 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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: soluciona un posible desbordamiento del búfer en 'dp_dsc_clock_en_read()' Dile a snprintf() que almacene como máximo 10 bytes en el búfer de salida en lugar de 30. Corrige lo siguiente : drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:1508 dp_dsc_clock_en_read() error: snprintf() está imprimiendo demasiado 30 vs 10

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27045 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-27045 changed 2026-08-04Public domain