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-03-20T12:35:21.419841Z
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"