VDB

CVE-2024-38552

CVE-2024-38552 PUBLISHED CVSS 7.3 HIGH

drm/amd/display: Fix potential index out of bounds in color transformation function

Reported by linux · Published June 19, 2024

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential index out of bounds in color transformation function Fixes index out of bounds issue in the color transformation 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, an error message is logged and the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:405 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:406 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:407 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.3, 6.8.12, 6.6.33, 6.1.93, 5.15.161, 5.10.219, 5.4.278, 4.19.316
LinuxLinuxe280ab978c81443103d7c61bdd1d8d708cf6ed6d, ced9c4e2289a786b8fa684d8893b7045ea53ef7e, 7226ddf3311c5e5a7726ad7d4e7b079bb3cfbb29, 04bc4d1090c343025d69149ca669a27c5b9c34a7

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Affected products

VendorProductVersions
LinuxLinuxb629596072e5fa901c84f9e88d845a696ee32942, b629596072e5fa901c84f9e88d845a696ee32942, b629596072e5fa901c84f9e88d845a696ee32942
LinuxLinux4.16, 0, 4.19.316
LinuxLinux*, 6.1.93, 6.6.33
linuxlinux_kernel4.16, 4.16, 4.16
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0

Timeline

  • Jun 19, 2024 CVE Published
  • Jun 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (318 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (241 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38552
vulnetix vdb fixes CVE-2024-38552

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38552/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›