CVE-2024-49894
drm/amd/display: Fix index out of bounds in degamma hardware format translation
Check your servers for CVE-2024-49894
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-49894 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.33%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 28.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before b3dfa878257a7e98830b3009ca5831a01d8f85fc affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before f5f6d90087131812c1e4b9d3103f400f1624396d affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before c130a3c09e3746c1a09ce26c20d21d449d039b1d affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before c6979719012a90e5b8e3bc31725fbfdd0b9b2b79 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 2495c8e272d84685403506833a664fad932e453a affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 122e3a7a8c7bcbe3aacddd6103f67f9f36bed473 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 2f5da549535be8ccd2ab7c9abac8562ad370b181 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 07078fa5d589a7fbce8f81ea8acf7aa0021ab38e affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before b7e99058eb2e86aabd7a10761e76cae33d22b49f
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.55 up to and including 6.6.* unaffected from 6.10.14 up to and including 6.10.* unaffected from 6.11.3 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-49894 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49894
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-49894
trivy image --scanners vuln IMAGE | grep CVE-2024-49894
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b3dfa878257a7e98830b3009ca5831a01d8f85fc git.kernel.org
- https://git.kernel.org/stable/c/f5f6d90087131812c1e4b9d3103f400f1624396d git.kernel.org
- https://git.kernel.org/stable/c/c130a3c09e3746c1a09ce26c20d21d449d039b1d git.kernel.org
- https://git.kernel.org/stable/c/c6979719012a90e5b8e3bc31725fbfdd0b9b2b79 git.kernel.org
- https://git.kernel.org/stable/c/2495c8e272d84685403506833a664fad932e453a git.kernel.org
- https://git.kernel.org/stable/c/122e3a7a8c7bcbe3aacddd6103f67f9f36bed473 git.kernel.org
- https://git.kernel.org/stable/c/2f5da549535be8ccd2ab7c9abac8562ad370b181 git.kernel.org
- https://git.kernel.org/stable/c/07078fa5d589a7fbce8f81ea8acf7aa0021ab38e git.kernel.org
- https://git.kernel.org/stable/c/b7e99058eb2e86aabd7a10761e76cae33d22b49f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-49894 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse