CVE-2024-38552
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.9.3, 6.8.12, 6.6.33, 6.1.93, 5.15.161, 5.10.219, 5.4.278, 4.19.316 |
| Linux | Linux | e280ab978c81443103d7c61bdd1d8d708cf6ed6d, ced9c4e2289a786b8fa684d8893b7045ea53ef7e, 7226ddf3311c5e5a7726ad7d4e7b079bb3cfbb29, 04bc4d1090c343025d69149ca669a27c5b9c34a7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b629596072e5fa901c84f9e88d845a696ee32942, b629596072e5fa901c84f9e88d845a696ee32942, b629596072e5fa901c84f9e88d845a696ee32942 |
| Linux | Linux | 4.16, 0, 4.19.316 |
| Linux | Linux | *, 6.1.93, 6.6.33 |
| linux | linux_kernel | 4.16, 4.16, 4.16 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
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