CVE-2024-27045

published 1 May 2024 · updated 5 Aug 2026

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

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 440f059837418fac1695b65d3ebc6080d33be877, Kernel 4b09715f1504f1b6e8dff0e9643630610bc05141, Kernel ad76fd30557d6a106c481e4606a981221ca525f7 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.9, >=c06e09b76639657f284bfaf1cce29557a2515e85 <440f059837418fac1695b65d3ebc6080d33be877, >=c06e09b76639657f284bfaf1cce29557a2515e85 <4b09715f1504f1b6e8dff0e9643630610bc05141, >=c06e09b76639657f284bfaf1cce29557a2515e85 <ad76fd30557d6a106c481e4606a981221ca525f7, >=c06e09b76639657f284bfaf1cce29557a2515e85 <cf114d8d4a8d78df272116a745bb43b48cef65f4, >=c06e09b76639657f284bfaf1cce29557a2515e85 <d346b3e5b25c95d504478507eb867cd3818775ab, >=c06e09b76639657f284bfaf1cce29557a2515e85 <eb9327af3621d26b1d83f767c97a3fe8191a3a65, >=c06e09b76639657f284bfaf1cce29557a2515e85 <ff28893c96c5e0927a4da10cd24a3522ca663515440f059837418fac1695b65d3ebc6080d33be877, 4b09715f1504f1b6e8dff0e9643630610bc05141, ad76fd30557d6a106c481e4606a981221ca525f7, cf114d8d4a8d78df272116a745bb43b48cef65f4, d346b3e5b25c95d504478507eb867cd3818775ab, eb9327af3621d26b1d83f767c97a3fe8191a3a65, ff28893c96c5e0927a4da10cd24a3522ca663515

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27045 severity on Zeptric[![CVE-2024-27045](https://zeptric.io/badge/cve/CVE-2024-27045.svg)](https://zeptric.io/cve/CVE-2024-27045)