CVE-2024-27045
drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
Mitigation
- Upgrade Linux to 4b09715f1504f1b6e8dff0e9643630610bc05141 or later.
Who should check
- Anyone running Linux >= c06e09b76639657f284bfaf1cce29557a2515e85, < ff28893c96c5e0927a4da10cd24a3522ca663515; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 440f059837418fac1695b65d3ebc6080d33be877; >= c06e09b76639657f284bfaf1cce29557a2515e85, < d346b3e5b25c95d504478507eb867cd3818775ab; >= c06e09b76639657f284bfaf1cce29557a2515e85, < ad76fd30557d6a106c481e4606a981221ca525f7; >= c06e09b76639657f284bfaf1cce29557a2515e85, < eb9327af3621d26b1d83f767c97a3fe8191a3a65; >= c06e09b76639657f284bfaf1cce29557a2515e85, < cf114d8d4a8d78df272116a745bb43b48cef65f4; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 4b09715f1504f1b6e8dff0e9643630610bc05141
- Anyone running Linux 5.9
Vulnerability facts
- Affected
- Linux >= c06e09b76639657f284bfaf1cce29557a2515e85, < ff28893c96c5e0927a4da10cd24a3522ca663515; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 440f059837418fac1695b65d3ebc6080d33be877; >= c06e09b76639657f284bfaf1cce29557a2515e85, < d346b3e5b25c95d504478507eb867cd3818775ab; >= c06e09b76639657f284bfaf1cce29557a2515e85, < ad76fd30557d6a106c481e4606a981221ca525f7; >= c06e09b76639657f284bfaf1cce29557a2515e85, < eb9327af3621d26b1d83f767c97a3fe8191a3a65; >= c06e09b76639657f284bfaf1cce29557a2515e85, < cf114d8d4a8d78df272116a745bb43b48cef65f4; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 4b09715f1504f1b6e8dff0e9643630610bc05141; Linux 5.9
- Fixed in
- Linux 440f059837418fac1695b65d3ebc6080d33be877, Linux 4b09715f1504f1b6e8dff0e9643630610bc05141
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-120
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c06e09b76639657f284bfaf1cce29557a2515e85, < ff28893c96c5e0927a4da10cd24a3522ca663515; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 440f059837418fac1695b65d3ebc6080d33be877; >= c06e09b76639657f284bfaf1cce29557a2515e85, < d346b3e5b25c95d504478507eb867cd3818775ab; >= c06e09b76639657f284bfaf1cce29557a2515e85, < ad76fd30557d6a106c481e4606a981221ca525f7; >= c06e09b76639657f284bfaf1cce29557a2515e85, < eb9327af3621d26b1d83f767c97a3fe8191a3a65; >= c06e09b76639657f284bfaf1cce29557a2515e85, < cf114d8d4a8d78df272116a745bb43b48cef65f4; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 4b09715f1504f1b6e8dff0e9643630610bc05141 | — | cvelist |
| Linux | 5.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-27045. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-27045.md Affected: Linux >= c06e09b76639657f284bfaf1cce29557a2515e85, < ff28893c96c5e0927a4da10cd24a3522ca663515; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 440f059837418fac1695b65d3ebc6080d33be877; >= c06e09b76639657f284bfaf1cce29557a2515e85, < d346b3e5b25c95d504478507eb867cd3818775ab; >= c06e09b76639657f284bfaf… Fixed in: Linux 440f059837418fac1695b65d3ebc6080d33be877, Linux 4b09715f1504f1b6e8dff0e9643630610bc05141 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/ff28893c96c5e0927a4da10cd24a3522ca663515
- https://git.kernel.org/stable/c/440f059837418fac1695b65d3ebc6080d33be877
- https://git.kernel.org/stable/c/d346b3e5b25c95d504478507eb867cd3818775ab
- https://git.kernel.org/stable/c/ad76fd30557d6a106c481e4606a981221ca525f7
- https://git.kernel.org/stable/c/eb9327af3621d26b1d83f767c97a3fe8191a3a65
- https://git.kernel.org/stable/c/cf114d8d4a8d78df272116a745bb43b48cef65f4
- https://git.kernel.org/stable/c/4b09715f1504f1b6e8dff0e9643630610bc05141
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
FAQ
Is CVE-2024-27045 being exploited?
There is no confirmed exploitation: CVE-2024-27045 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-27045?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-27045?
Linux >= c06e09b76639657f284bfaf1cce29557a2515e85, < ff28893c96c5e0927a4da10cd24a3522ca663515; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 440f059837418fac1695b65d3ebc6080d33be877; >= c06e09b76639657f284bfaf1cce29557a2515e85, < d346b3e5b25c95d504478507eb867cd3818775ab; >= c06e09b76639657f284bfaf1cce29557a2515e85, < ad76fd30557d6a106c481e4606a981221ca525f7; >= c06e09b76639657f284bfaf1cce29557a2515e85, < eb9327af3621d26b1d83f767c97a3fe8191a3a65; >= c06e09b76639657f284bfaf1cce29557a2515e85, < cf114d8d4a8d78df272116a745bb43b48cef65f4; >= c06e09b76639657f284bfaf1cce29557a2515e85, < 4b09715f1504f1b6e8dff0e9643630610bc05141; Linux 5.9.
Is there a fix for CVE-2024-27045?
Yes. Fixed in Linux 440f059837418fac1695b65d3ebc6080d33be877, Linux 4b09715f1504f1b6e8dff0e9643630610bc05141. Upgrade Linux to 4b09715f1504f1b6e8dff0e9643630610bc05141 or later.
How do I check if I'm affected by CVE-2024-27045?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.