CVE-2024-27008
drm: nv04: Fix out of bounds access
Check your servers for CVE-2024-27008
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-27008 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: nv04: Fix out of bounds access
When Output Resource (dcb->or) value is assigned in fabricate_dcb_output(), there may be out of bounds access to dac_users array in case dcb->or is zero because ffs(dcb->or) is used as index there. The 'or' argument of fabricate_dcb_output() must be interpreted as a number of bit to set, not value.
Utilize macros from 'enum nouveau_or' in calls instead of hardcoding.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 May 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 2e5702aff39532662198459726c624d5eadbdd78, before c2b97f26f081ceec3298151481687071075a25cb affected from 2e5702aff39532662198459726c624d5eadbdd78, before 5050ae879a828d752b439e3827aac126709da6d1 affected from 2e5702aff39532662198459726c624d5eadbdd78, before 097c7918fcfa1dee233acfd1f3029f00c3bc8062 affected from 2e5702aff39532662198459726c624d5eadbdd78, before df0991da7db846f7fa4ec6740350f743d3b69b04 affected from 2e5702aff39532662198459726c624d5eadbdd78, before 5fd4b090304e450aa0e7cc9cc2b4873285c6face affected from 2e5702aff39532662198459726c624d5eadbdd78, before 6690cc2732e2a8d0eaca44dcbac032a4b0148042 affected from 2e5702aff39532662198459726c624d5eadbdd78, before 26212da39ee14a52c76a202c6ae5153a84f579a5 affected from 2e5702aff39532662198459726c624d5eadbdd78, before cf92bb778eda7830e79452c6917efa8474a30c1e
Other versions: unaffected
|
| Linux |
affected 2.6.38 unaffected before 2.6.38 unaffected from 4.19.313 up to and including 4.19.* unaffected from 5.4.275 up to and including 5.4.* unaffected from 5.10.216 up to and including 5.10.* unaffected from 5.15.157 up to and including 5.15.* unaffected from 6.1.88 up to and including 6.1.* unaffected from 6.6.29 up to and including 6.6.* unaffected from 6.8.8 up to and including 6.8.* unaffected 6.9 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-27008 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27008
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-27008
trivy image --scanners vuln IMAGE | grep CVE-2024-27008
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/c2b97f26f081ceec3298151481687071075a25cb git.kernel.org
- https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1 git.kernel.org
- https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062 git.kernel.org
- https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04 git.kernel.org
- https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face git.kernel.org
- https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042 git.kernel.org
- https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5 git.kernel.org
- https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ lists.fedoraproject.org
Source: the record CVE-2024-27008 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