{"id":"CVE-2024-49969","summary":"drm/amd/display: Fix index out of bounds in DCN30 color transformation","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix index out of bounds in DCN30 color transformation\n\nThis commit addresses a potential index out of bounds issue in the\n`cm3_helper_translate_curve_to_hw_format` function in the DCN30 color\nmanagement module. The issue could occur when the index 'i' exceeds the\nnumber of transfer function points (TRANSFER_FUNC_POINTS).\n\nThe fix adds a check to ensure 'i' is within bounds before accessing the\ntransfer function points. If 'i' is out of bounds, the function returns\nfalse to indicate an error.\n\ndrivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:180 cm3_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf-\u003etf_pts.red' 1025 \u003c= s32max\ndrivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:181 cm3_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf-\u003etf_pts.green' 1025 \u003c= s32max\ndrivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:182 cm3_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf-\u003etf_pts.blue' 1025 \u003c= s32max","modified":"2026-04-02T12:21:10.794295Z","published":"2024-10-21T18:02:19.044Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4140-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49969.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0f1e222a4b41d77c442901d166fbdca967af0d86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/578422ddae3d13362b64e77ef9bab98780641631"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ab69af56a23859b647dee69fa1052c689343621"},{"type":"WEB","url":"https://git.kernel.org/stable/c/929506d5671419cffd8d01e9a7f5eae53682a838"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b9d8b94ec7e67f0cae228c054f77b73967c389a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c13f9c62015c56a938304cef6d507227ea3e0039"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d81873f9e715b72d4f8d391c8eb243946f784dfc"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49969.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49969"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"03f54d7d3448dc1668568d1adb69b43c1d1dc79f"},{"fixed":"7ab69af56a23859b647dee69fa1052c689343621"},{"fixed":"c13f9c62015c56a938304cef6d507227ea3e0039"},{"fixed":"0f1e222a4b41d77c442901d166fbdca967af0d86"},{"fixed":"929506d5671419cffd8d01e9a7f5eae53682a838"},{"fixed":"578422ddae3d13362b64e77ef9bab98780641631"},{"fixed":"b9d8b94ec7e67f0cae228c054f77b73967c389a3"},{"fixed":"d81873f9e715b72d4f8d391c8eb243946f784dfc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49969.json"}}],"schema_version":"1.7.5"}