CVE-2024-27008 drm: nv04: Fix out of bounds access
An out-of-bounds access in the Linux kernel's nouveau driver allows attackers to cause denial of service or potentially execute code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-27008?
CVE-2024-27008 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 1 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2024-27008?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel.
How do I fix CVE-2024-27008?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-27008 being exploited?
There is no known exploitation of CVE-2024-27008 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-27008, DEBIAN-CVE-2024-27008, GHSA-5hhv-hrg6-cwc7, UBUNTU-CVE-2024-27008.