PT-2024-33734 · Linux+7 · Linux Kernel+7
Srinivasan Shanmugam
·
Published
2024-07-23
·
Updated
2025-09-29
·
CVE-2024-49894
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel versions prior to 6.6.58
Description:
The issue is related to an index out of bounds problem in the
cm helper translate curve to degamma hw format function, which could occur when the index 'i' exceeds the number of transfer function points (TRANSFER FUNC POINTS). This could lead to a buffer overflow error, as reported by smatch, affecting 'output tf->tf pts.red', 'output tf->tf pts.green', and 'output tf->tf pts.blue'. The fix adds a check to ensure 'i' is within bounds before accessing the transfer function points, returning false to indicate an error if 'i' is out of bounds.Recommendations:
For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue. As a temporary workaround, consider restricting access to the
cm helper translate curve to degamma hw format function until a patch is available.Exploit
Fix
Improper Validation of Array Index
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu