CVE-2024-27008

drm: nv04: Fix out of bounds access

HIGH
7.8
CVSS Score
Published: May 1, 2024 at 05:29 AM UTC
Updated: June 17, 2026 at 07:18 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxFedora

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.38 ≤ v < 4.19.3132.6.38 ≤ v < 5.10.2162.6.38 ≤ v < 5.4.2752.6.38 ≤ v < 6.1.882.6.38 ≤ v < 6.6.292.6.38 ≤ v < 6.8.82.6.38 ≤ v < 6.94.20 ≤ v < 5.4.2755.11 ≤ v < 5.15.1575.16 ≤ v < 6.1.885.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.296.7 ≤ v < 6.8.82e5702aff39532662198459726c624d5eadbdd786.9 rc16.9 rc26.9 rc36.9 rc4
Vendor states this is fixed in 097c7918fcfa1dee233acfd1f3029f00c3bc8062 (fixed)
Vendor states this is fixed in 26212da39ee14a52c76a202c6ae5153a84f579a5 (fixed)
Vendor states this is fixed in 5050ae879a828d752b439e3827aac126709da6d1 (fixed)
Vendor states this is fixed in 5fd4b090304e450aa0e7cc9cc2b4873285c6face (fixed)
Vendor states this is fixed in 6690cc2732e2a8d0eaca44dcbac032a4b0148042 (fixed)
Vendor states this is fixed in c2b97f26f081ceec3298151481687071075a25cb (fixed)
Vendor states this is fixed in cf92bb778eda7830e79452c6917efa8474a30c1e (fixed)
Vendor states this is fixed in df0991da7db846f7fa4ec6740350f743d3b69b04 (fixed)
Vendor states this is fixed in 2.6.38 (unaffected)
Vendor states this is fixed in 4.19.313 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.157 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 6.1.88 (unaffected)
Vendor states this is fixed in 6.6.29 (unaffected)
Vendor states this is fixed in 6.8.8 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (13)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card