fkie_cve-2024-27008
Vulnerability from fkie_nvd
Published
2024-05-01 06:15
Modified
2025-03-04 16:43
Severity ?
Summary
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.
References
Impacted products
Vendor | Product | Version | |
---|---|---|---|
linux | linux_kernel | * | |
linux | linux_kernel | * | |
linux | linux_kernel | * | |
linux | linux_kernel | * | |
linux | linux_kernel | 6.9 | |
linux | linux_kernel | 6.9 | |
linux | linux_kernel | 6.9 | |
linux | linux_kernel | 6.9 | |
debian | debian_linux | 10.0 |
{ configurations: [ { nodes: [ { cpeMatch: [ { criteria: "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", matchCriteriaId: "47DBCABD-161C-4FF7-B5A5-FA633CF75B8B", versionEndExcluding: "5.15.157", versionStartIncluding: "2.6.38", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", matchCriteriaId: "B665F958-644E-434D-A78D-CCD1628D1774", versionEndExcluding: "6.1.88", versionStartIncluding: "5.16", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", matchCriteriaId: "0999E154-1E68-41FA-8DE3-9A735E382224", versionEndExcluding: "6.6.29", versionStartIncluding: "6.2", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", matchCriteriaId: "673B3328-389D-41A4-9617-669298635262", versionEndExcluding: "6.8.8", versionStartIncluding: "6.7", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*", matchCriteriaId: "22BEDD49-2C6D-402D-9DBF-6646F6ECD10B", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*", matchCriteriaId: "DF73CB2A-DFFD-46FB-9BFE-AA394F27EA37", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*", matchCriteriaId: "52048DDA-FC5A-4363-95A0-A6357B4D7F8C", vulnerable: true, }, { criteria: "cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*", matchCriteriaId: "A06B2CCF-3F43-4FA9-8773-C83C3F5764B2", vulnerable: true, }, ], negate: false, operator: "OR", }, ], }, { nodes: [ { cpeMatch: [ { criteria: "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*", matchCriteriaId: "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73", vulnerable: true, }, ], negate: false, operator: "OR", }, ], }, ], cveTags: [], descriptions: [ { lang: "en", value: "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.", }, { lang: "es", value: "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->or) en fabricate_dcb_output(), puede haber acceso fuera de los límites a la matriz dac_users en caso de que dcb->or es cero porque ffs(dcb->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.", }, ], id: "CVE-2024-27008", lastModified: "2025-03-04T16:43:49.613", metrics: { cvssMetricV31: [ { cvssData: { attackComplexity: "LOW", attackVector: "LOCAL", availabilityImpact: "HIGH", baseScore: 7.8, baseSeverity: "HIGH", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "LOW", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", version: "3.1", }, exploitabilityScore: 1.8, impactScore: 5.9, source: "nvd@nist.gov", type: "Primary", }, ], }, published: "2024-05-01T06:15:19.240", references: [ { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e", }, { source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Mailing List", ], url: "https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Mailing List", ], url: "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Mailing List", ], url: "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html", }, ], sourceIdentifier: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", vulnStatus: "Analyzed", weaknesses: [ { description: [ { lang: "en", value: "CWE-125", }, ], source: "nvd@nist.gov", type: "Primary", }, ], }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.