{"id":"CVE-2024-27008","aliases":["CVE-2024-27008"],"related":[],"kind":"vulnerability","state":"published","title":"drm: nv04: Fix out of bounds access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: nv04: Fix out of bounds access\n\nWhen Output Resource (dcb->or) value is assigned in\nfabricate_dcb_output(), there may be out of bounds access to\ndac_users array in case dcb->or is zero because ffs(dcb->or) 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: nv04: Fix out of bounds access\n\nWhen Output Resource (dcb->or) value is assigned in\nfabricate_dcb_output(), there may be out of bounds access to\ndac_users array in case dcb->or is zero because ffs(dcb->or) 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm: nv04: corregir el acceso fuera de los límites Cuando se asigna el valor del recurso de salida (dcb-&gt;or) en fabricate_dcb_output(), puede haber acceso fuera de los límites a la matriz dac_users en caso de que dcb-&gt;or es cero porque ffs(dcb-&gt;or) se usa como índice allí. El argumento 'o' de fabricate_dcb_output() debe interpretarse como un número de bits a configurar, no como un valor. Utilice macros de 'enum nouveau_or' en las llamadas en lugar de codificarlas. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE.","source":"nvd"}],"published":"2024-05-01T05:29:13.312Z","modified":"2026-06-17T07:18:55.540Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"c2b97f26f081ceec3298151481687071075a25cb","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"5050ae879a828d752b439e3827aac126709da6d1","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"097c7918fcfa1dee233acfd1f3029f00c3bc8062","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"df0991da7db846f7fa4ec6740350f743d3b69b04","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"5fd4b090304e450aa0e7cc9cc2b4873285c6face","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"6690cc2732e2a8d0eaca44dcbac032a4b0148042","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"26212da39ee14a52c76a202c6ae5153a84f579a5","status":"affected"},{"type":"git","introduced":"2e5702aff39532662198459726c624d5eadbdd78","fixed":"cf92bb778eda7830e79452c6917efa8474a30c1e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.38","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.38","status":"unaffected"},{"type":"semver","introduced":"4.19.313","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.275","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.216","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.157","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.88","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.29","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.8","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.38","fixed":"4.19.313"},{"status":"affected","introduced":"4.20","fixed":"5.4.275"},{"status":"affected","introduced":"5.5","fixed":"5.10.216"},{"status":"affected","introduced":"5.11","fixed":"5.15.157"},{"status":"affected","introduced":"5.16","fixed":"6.1.88"},{"status":"affected","introduced":"6.2","fixed":"6.6.29"},{"status":"affected","introduced":"6.7","fixed":"6.8.8"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"},{"status":"affected","version":"39"},{"status":"affected","version":"40"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T17:53:02.936Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27008","url":"https://www.cve.org/CVERecord?id=CVE-2024-27008","licence":"CVE Terms of Use","modified":"2026-05-11T20:08:37.848Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27008","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27008","licence":"Public domain","modified":"2026-06-17T07:18:55.540Z"}],"updatedAt":"2026-11-25T22:58:39.768Z","epss":{"score":0.00431,"percentile":0.29129,"date":"2026-11-30T12:00:22.000Z"}}