CVE-2024-27008

Source
https://cve.org/CVERecord?id=CVE-2024-27008
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27008.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27008
Downstream
Related
Published
2024-05-01T05:29:13.312Z
Modified
2026-05-13T03:51:50.384447416Z
Summary
drm: nv04: Fix out of bounds access
Details

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 fabricatedcboutput(), there may be out of bounds access to dacusers array in case dcb->or is zero because ffs(dcb->or) is used as index there. The 'or' argument of fabricatedcb_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27008.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2e5702aff39532662198459726c624d5eadbdd78
Fixed
c2b97f26f081ceec3298151481687071075a25cb
Fixed
5050ae879a828d752b439e3827aac126709da6d1
Fixed
097c7918fcfa1dee233acfd1f3029f00c3bc8062
Fixed
df0991da7db846f7fa4ec6740350f743d3b69b04
Fixed
5fd4b090304e450aa0e7cc9cc2b4873285c6face
Fixed
6690cc2732e2a8d0eaca44dcbac032a4b0148042
Fixed
26212da39ee14a52c76a202c6ae5153a84f579a5
Fixed
cf92bb778eda7830e79452c6917efa8474a30c1e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27008.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.38
Fixed
4.19.313
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.275
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.216
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.157
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.88
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.29
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27008.json"