CVE-2024-49894·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix index out of bounds in degamma hardware format translation Fixes index out of bounds issue in `cm_helper_translate_curve_to_degamma_hw_format` function. The issue could occur when the index 'i' exceeds the number of transfer function points (TRANSFER_FUNC_POINTS). The fix adds a check to ensure 'i' is within bounds before accessing the transfer function points. If 'i' is out of bounds the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:594 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:595 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:596 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.3
- Published
- 2024-10-21
Affected versions
From: 6.11
Until: 6.11.3
Fixed in: 6.11.3
How to fix this CVE
Update your Linux kernel to version 6.11.3 or later to address a buffer overflow vulnerability in AMD display driver's degamma hardware format translation function. This fix prevents out-of-bounds memory access that could occur during color space conversion operations on AMD GPUs. Systems running kernel versions 6.11 through 6.11.2 should prioritize this update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; versions 6.11.0 through 6.11.2 are vulnerable
- Check if AMD GPU drivers are active with 'lspci | grep -i amd' and 'lsmod | grep amdgpu'
- Search kernel logs for degamma-related errors: 'dmesg | grep -i degamma' or 'journalctl -u kernel | grep degamma'
- After patching, verify the new kernel version with 'uname -r' and confirm it shows 6.11.3 or later
FAQ
What is CVE-2024-49894?
This vulnerability is a buffer overflow in the Linux kernel's AMD display driver, specifically in the degamma (inverse gamma correction) hardware format conversion function. When processing certain color space transfer functions, the code could write beyond allocated buffer boundaries on systems with AMD GPUs.
Is CVE-2024-49894 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, it should still be addressed promptly due to its high severity rating.
What versions of Kernel are affected by CVE-2024-49894?
Linux kernel versions 6.11 through 6.11.2 are vulnerable. The fix was included starting in version 6.11.3.
How do I check if my server is vulnerable to CVE-2024-49894?
Run 'uname -r' to display your kernel version. If it shows 6.11.0, 6.11.1, or 6.11.2 and you have AMD GPUs with amdgpu driver loaded ('lsmod | grep amdgpu'), your system is vulnerable.
Does Defensia detect CVE-2024-49894?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-49894 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/07078fa5d589a7fbce8f81ea8acf7aa0021ab38e
- https://git.kernel.org/stable/c/122e3a7a8c7bcbe3aacddd6103f67f9f36bed473
- https://git.kernel.org/stable/c/2495c8e272d84685403506833a664fad932e453a
- https://git.kernel.org/stable/c/2f5da549535be8ccd2ab7c9abac8562ad370b181
- https://git.kernel.org/stable/c/b3dfa878257a7e98830b3009ca5831a01d8f85fc
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-49894. Free for 1 server.
Get started free