CVE-2024-49895

Updated: 2024-11-04 15:56:19.413929

Description:

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


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Released CLSA-2025:1743193221 2024-11-18 16:30:40
CentOS 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-11-06 11:57:06
CentOS 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2024-11-06 11:57:03
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2025:1736778412 2025-01-15 01:13:41
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2025:1736778632 2025-01-15 01:13:42
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2024:1731431756 2024-11-12 13:29:34
CloudLinux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-11-06 11:57:06
CloudLinux 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2024-11-06 11:57:03
Oracle Linux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-11-06 11:57:03
Oracle Linux 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2025-05-12 04:24:44
Total: 14