cve-2024-27008
Vulnerability from cvelistv5
Published
2024-05-01 05:29
Modified
2024-12-19 08:52
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
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Impacted products
Vendor Product Version
Linux Linux Version: 2.6.38
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-27008",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-28T17:53:02.936582Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:46:47.615Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:21:05.825Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/nouveau/nouveau_bios.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c2b97f26f081ceec3298151481687071075a25cb",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "5050ae879a828d752b439e3827aac126709da6d1",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "097c7918fcfa1dee233acfd1f3029f00c3bc8062",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "df0991da7db846f7fa4ec6740350f743d3b69b04",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "5fd4b090304e450aa0e7cc9cc2b4873285c6face",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "6690cc2732e2a8d0eaca44dcbac032a4b0148042",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "26212da39ee14a52c76a202c6ae5153a84f579a5",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            },
            {
              "lessThan": "cf92bb778eda7830e79452c6917efa8474a30c1e",
              "status": "affected",
              "version": "2e5702aff39532662198459726c624d5eadbdd78",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/nouveau/nouveau_bios.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.38"
            },
            {
              "lessThan": "2.6.38",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.313",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.88",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.29",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "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-\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 \u0027or\u0027 argument of fabricate_dcb_output() must be interpreted as a\nnumber of bit to set, not value.\n\nUtilize macros from \u0027enum nouveau_or\u0027 in calls instead of hardcoding.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:52:24.237Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062"
        },
        {
          "url": "https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04"
        },
        {
          "url": "https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face"
        },
        {
          "url": "https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042"
        },
        {
          "url": "https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e"
        }
      ],
      "title": "drm: nv04: Fix out of bounds access",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-27008",
    "datePublished": "2024-05-01T05:29:13.312Z",
    "dateReserved": "2024-02-19T14:20:24.208Z",
    "dateUpdated": "2024-12-19T08:52:24.237Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-27008\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-01T06:15:19.240\",\"lastModified\":\"2024-11-21T09:03:36.560\",\"vulnStatus\":\"Awaiting Analysis\",\"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-\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 \u0027or\u0027 argument of fabricate_dcb_output() must be interpreted as a\\nnumber of bit to set, not value.\\n\\nUtilize macros from \u0027enum nouveau_or\u0027 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\u00f3 la siguiente vulnerabilidad: drm: nv04: corregir el acceso fuera de los l\u00edmites Cuando se asigna el valor del recurso de salida (dcb-\u0026gt;or) en fabricate_dcb_output(), puede haber acceso fuera de los l\u00edmites a la matriz dac_users en caso de que dcb-\u0026gt;or es cero porque ffs(dcb-\u0026gt;or) se usa como \u00edndice all\u00ed. El argumento \u0027o\u0027 de fabricate_dcb_output() debe interpretarse como un n\u00famero de bits a configurar, no como un valor. Utilice macros de \u0027enum nouveau_or\u0027 en las llamadas en lugar de codificarlas. Encontrado por el Centro de verificaci\u00f3n de Linux (linuxtesting.org) con SVACE.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


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.