CVE-2024-42101
drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
Check your servers for CVE-2024-42101
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-42101 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/nouveau: fix null pointer dereference in nouveau_connector_get_modes
In nouveau_connector_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.
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 19.0% 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 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before 9baf60323efa992b7c915094529f0a1882c34e7e affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before e36364f5f3785d054a94e57e971385284886d41a affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before f48dd3f19614022f2e1b794fbd169d2b4c398c07 affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before 1f32535238493008587a8c5cb17eb2ca097592ef affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before 744b229f09134ccd091427a6f9ea6d97302cfdd9 affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before 7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e affected from 6ee738610f41b59733f63718f0bdbcba7d3a3f12, before 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4
Other versions: unaffected
|
| Linux |
affected 2.6.33 unaffected before 2.6.33 unaffected from 4.19.318 up to and including 4.19.* unaffected from 5.4.280 up to and including 5.4.* unaffected from 5.10.222 up to and including 5.10.* unaffected from 5.15.163 up to and including 5.15.* unaffected from 6.1.98 up to and including 6.1.* unaffected from 6.6.39 up to and including 6.6.* unaffected from 6.9.9 up to and including 6.9.* unaffected 6.10 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-42101 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42101
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-42101
trivy image --scanners vuln IMAGE | grep CVE-2024-42101
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/9baf60323efa992b7c915094529f0a1882c34e7e git.kernel.org
- https://git.kernel.org/stable/c/e36364f5f3785d054a94e57e971385284886d41a git.kernel.org
- https://git.kernel.org/stable/c/274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d git.kernel.org
- https://git.kernel.org/stable/c/f48dd3f19614022f2e1b794fbd169d2b4c398c07 git.kernel.org
- https://git.kernel.org/stable/c/1f32535238493008587a8c5cb17eb2ca097592ef git.kernel.org
- https://git.kernel.org/stable/c/744b229f09134ccd091427a6f9ea6d97302cfdd9 git.kernel.org
- https://git.kernel.org/stable/c/7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e git.kernel.org
- https://git.kernel.org/stable/c/80bec6825b19d95ccdfd3393cf8ec15ff2a749b4 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-42101 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