CVE-2024-49892
drm/amd/display: Initialize get_bytes_per_element's default to 1
Check your servers for CVE-2024-49892
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-49892 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: Initialize get_bytes_per_element's default to 1
Variables, used as denominators and maybe not assigned to other values, should not be 0. bytes_per_element_y & bytes_per_element_c are initialized by get_bytes_per_element() which should never return 0.
This fixes 10 DIVIDE_BY_ZERO issues reported by Coverity.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.5% 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 8f0abb39c16e719129de10596b3ae3363fa178b4 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before f921335123f6620c3dce5c96fbb95f18524a021c affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before a23d6029e730f8a151b1a34afb169baac1274583 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before c7630935d9a4986e8c0ed91658a781b7a77d73f7 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before bc00d211da4ffad5314a2043b50bdc8ff8a33724 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 3334ab72cbba55a632f24579cd47c4a4e5e69cda affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 4067f4fa0423a89fb19a30b57231b384d77d2610
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 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-49892 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49892
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-49892
trivy image --scanners vuln IMAGE | grep CVE-2024-49892
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/8f0abb39c16e719129de10596b3ae3363fa178b4 git.kernel.org
- https://git.kernel.org/stable/c/f921335123f6620c3dce5c96fbb95f18524a021c git.kernel.org
- https://git.kernel.org/stable/c/1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76 git.kernel.org
- https://git.kernel.org/stable/c/a23d6029e730f8a151b1a34afb169baac1274583 git.kernel.org
- https://git.kernel.org/stable/c/c7630935d9a4986e8c0ed91658a781b7a77d73f7 git.kernel.org
- https://git.kernel.org/stable/c/bc00d211da4ffad5314a2043b50bdc8ff8a33724 git.kernel.org
- https://git.kernel.org/stable/c/3334ab72cbba55a632f24579cd47c4a4e5e69cda git.kernel.org
- https://git.kernel.org/stable/c/4067f4fa0423a89fb19a30b57231b384d77d2610 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-49892 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