Vulnerabilities

CVE-2024-49894

High 7.8 CVSS 3.1

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix index out of bounds in degamma hardware format translation Fixes index out of bounds issue in `cm_helper_translate_curve_to_degamma_hw_format` 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 the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:594 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:595 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:596 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max

Description as published by the source, in English.

Key facts

Published
2024-10-21
Last modified
2026-10-15
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 25 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Debian Debian Linux 11.0 Affected
Linux Linux Kernel ≥ 4.15, < 4.19.323 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.285 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.168 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.113 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.227 Affected
Linux Linux Kernel ≥ 6.11, < 6.11.3 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.55 Affected
Linux Linux Kernel ≥ 6.7, < 6.10.14 Affected
Siemens Simatic S7-1500 Tm Mfp all versions listed Not affected
Siemens Simatic S7-1500 Tm Mfp Firmware 1.1 Affected
Siemens Sinec Os < 3.2 Affected

Weakness type

  • CWE-129: Improper Validation of Array Index

    The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities