{"id":"CVE-2024-27008","summary":"drm: nv04: Fix out of bounds access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: nv04: Fix out of bounds access\n\nWhen Output Resource (dcb-\u003eor) value is assigned in\nfabricate_dcb_output(), there may be out of bounds access to\ndac_users array in case dcb-\u003eor is zero because ffs(dcb-\u003eor) is\nused as index there.\nThe 'or' argument of fabricate_dcb_output() must be interpreted as a\nnumber of bit to set, not value.\n\nUtilize macros from 'enum nouveau_or' in calls instead of hardcoding.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-04-16T00:02:26.736414953Z","published":"2024-05-01T05:29:13.312Z","related":["SUSE-SU-2024:1643-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27008.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27008.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27008"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}