CVE-2024-49895·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation This commit addresses a potential index out of bounds issue in the `cm3_helper_translate_curve_to_degamma_hw_format` function in the DCN30 color management module. 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/dcn30/dcn30_cm_common.c:338 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:339 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:340 cm3_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 patch a buffer overflow vulnerability in the AMD display driver's color management module. This flaw could allow local attackers with user-level privileges to trigger a kernel crash or potentially escalate privileges through malformed degamma hardware format operations. Immediate kernel patching is strongly recommended for systems running vulnerable versions 6.11 through 6.11.2.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r — vulnerable if output shows 6.11.0, 6.11.1, or 6.11.2
- Verify AMD GPU driver presence: lspci | grep -i amd — confirms if DCN30-based AMD display hardware is present
- Search kernel logs for degamma errors: sudo dmesg | grep -i 'degamma\|cm3_helper\|buffer overflow' — looks for exploitation attempts
- Confirm patched version: uname -r — should show 6.11.3 or later; cross-reference with: cat /proc/version
FAQ
What is CVE-2024-49895?
This vulnerability is a buffer overflow in the AMD display driver's color management (DCN30) module, specifically in the degamma hardware format translation function. An authenticated local attacker can trigger an out-of-bounds memory access by manipulating transfer function point indices, potentially causing a denial of service or privilege escalation.
Is CVE-2024-49895 being actively exploited?
No. This vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are currently available. However, the local privilege escalation potential warrants prompt patching.
What versions of Kernel are affected by CVE-2024-49895?
Linux kernel versions 6.11.0 through 6.11.2 are vulnerable. The fix is included in kernel 6.11.3 and all later versions.
How do I check if my server is vulnerable to CVE-2024-49895?
Run: uname -r — if the output is 6.11.0, 6.11.1, or 6.11.2, and your system has AMD GPU hardware (check: lspci | grep -i amd), your server is vulnerable.
Does Defensia detect CVE-2024-49895?
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-49895 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0d38a0751143afc03faef02d55d31f70374ff843
- https://git.kernel.org/stable/c/ad89f83343a501890cf082c8a584e96b59fe4015
- https://git.kernel.org/stable/c/bc50b614d59990747dd5aeced9ec22f9258991ff
- https://git.kernel.org/stable/c/c4fdc2d6fea129684b82bab90bb52fbace494a58
- https://git.kernel.org/stable/c/de6ee4f9e6b1c36b4fdc7c345c1a6de9e246093e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-49895. Free for 1 server.
Get started free