CVE-2024-27045

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

HIGH
7.8
CVSS Score
Published: May 1, 2024 at 12:54 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1535.16 ≤ v < 6.1.835.9 ≤ v < 5.10.2145.9 ≤ v < 5.15.1535.9 ≤ v < 6.1.835.9 ≤ v < 6.6.235.9 ≤ v < 6.7.115.9 ≤ v < 6.8.25.9 ≤ v < 6.96.2 ≤ v < 6.6.236.7 ≤ v < 6.7.116.8 ≤ v < 6.8.25.9c06e09b76639657f284bfaf1cce29557a2515e85
Vendor states this is fixed in 440f059837418fac1695b65d3ebc6080d33be877 (fixed)
Vendor states this is fixed in 4b09715f1504f1b6e8dff0e9643630610bc05141 (fixed)
Vendor states this is fixed in ad76fd30557d6a106c481e4606a981221ca525f7 (fixed)
Vendor states this is fixed in cf114d8d4a8d78df272116a745bb43b48cef65f4 (fixed)
Vendor states this is fixed in d346b3e5b25c95d504478507eb867cd3818775ab (fixed)
Vendor states this is fixed in eb9327af3621d26b1d83f767c97a3fe8191a3a65 (fixed)
Vendor states this is fixed in ff28893c96c5e0927a4da10cd24a3522ca663515 (fixed)
Vendor states this is fixed in 5.10.214 (unaffected)
Vendor states this is fixed in 5.15.153 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/440f059837418fac1695b65d3ebc6080d33be877
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b09715f1504f1b6e8dff0e9643630610bc05141
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad76fd30557d6a106c481e4606a981221ca525f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf114d8d4a8d78df272116a745bb43b48cef65f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d346b3e5b25c95d504478507eb867cd3818775ab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb9327af3621d26b1d83f767c97a3fe8191a3a65
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff28893c96c5e0927a4da10cd24a3522ca663515
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card