CVE-2024-27045CWE-120

CVE-2024-27045

High · published May 1, 2024

CVSS v3.1
7.0
EPSS
0%
Percentile
22.5
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00309 · 22.5th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2024-05-01T17:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9, < 5.10.2145.10.214
linux/linux_kernel≥ 5.11, < 5.15.1535.15.153
linux/linux_kernel≥ 5.16, < 6.1.836.1.83
linux/linux_kernel≥ 6.2, < 6.6.236.6.23
linux/linux_kernel≥ 6.7, < 6.7.116.7.11
linux/linux_kernel≥ 6.8, < 6.8.26.8.2
References (15)
https://git.kernel.org/stable/c/440f059837418fac1695b65d3ebc6080d33be877 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/4b09715f1504f1b6e8dff0e9643630610bc05141 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ad76fd30557d6a106c481e4606a981221ca525f7 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cf114d8d4a8d78df272116a745bb43b48cef65f4 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/d346b3e5b25c95d504478507eb867cd3818775ab · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/eb9327af3621d26b1d83f767c97a3fe8191a3a65 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ff28893c96c5e0927a4da10cd24a3522ca663515 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/440f059837418fac1695b65d3ebc6080d33be877 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/4b09715f1504f1b6e8dff0e9643630610bc05141 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ad76fd30557d6a106c481e4606a981221ca525f7 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cf114d8d4a8d78df272116a745bb43b48cef65f4 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/d346b3e5b25c95d504478507eb867cd3818775ab · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/eb9327af3621d26b1d83f767c97a3fe8191a3a65 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ff28893c96c5e0927a4da10cd24a3522ca663515 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 01 MAY 12:54Z
    drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
    cvelistv5