CVE Catalog

CVE-2024-27045

HighCVSS 7.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

23th percentile - higher than 23% of all known CVEs

Summary

In the Linux kernel, in the AMD Display driver, a potential buffer overflow was found in function dp_dsc_clock_en_read(). The snprintf() function was writing up to 30 bytes into a 10-byte buffer. The fix limits the write to at most 10 bytes.

Risk Assessment

The vulnerability could lead to buffer overflow in kernel space, potentially causing system crash or privilege escalation. Requires access to the debugfs interface.

Recommendation

It is recommended to update the Linux kernel to a patched version. Also restrict access to the debugfs interface if not required.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS