CVE-2024-43904
drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
Check your servers for CVE-2024-43904
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-43904 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: Add null checks for 'stream' and 'plane' before dereferencing
This commit adds null checks for the 'stream' and 'plane' variables in the dcn30_apply_idle_power_optimizations function. These variables were previously assumed to be null at line 922, but they were used later in the code without checking if they were null. This could potentially lead to a null pointer dereference, which would cause a crash.
The null checks ensure that 'stream' and 'plane' are not null before they are used, preventing potential crashes.
Fixes the below static smatch checker: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:938 dcn30_apply_idle_power_optimizations() error: we previously assumed 'stream' could be null (see line 922) drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:940 dcn30_apply_idle_power_optimizations() error: we previously assumed 'plane' could be null (see line 922)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 fcf9d6a9f30ea414b6b84a6e901cebd44e146847 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 5e84eda48ffb2363437db44bbd0235594f8a58f9 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 10c20d79d59cadfe572480d98cec271a89ffb024 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 16a8a2a839d19c4cf7253642b493ffb8eee1d857 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 15c2990e0f0108b9c3752d7072a97d45d4283aea
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.116 up to and including 6.1.* unaffected from 6.6.60 up to and including 6.6.* unaffected from 6.10.5 up to and including 6.10.* unaffected 6.11 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-43904 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-43904
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-43904
trivy image --scanners vuln IMAGE | grep CVE-2024-43904
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/fcf9d6a9f30ea414b6b84a6e901cebd44e146847 git.kernel.org
- https://git.kernel.org/stable/c/5e84eda48ffb2363437db44bbd0235594f8a58f9 git.kernel.org
- https://git.kernel.org/stable/c/10c20d79d59cadfe572480d98cec271a89ffb024 git.kernel.org
- https://git.kernel.org/stable/c/16a8a2a839d19c4cf7253642b493ffb8eee1d857 git.kernel.org
- https://git.kernel.org/stable/c/15c2990e0f0108b9c3752d7072a97d45d4283aea git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-43904 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