ghsa-5hhv-hrg6-cwc7
Vulnerability from github
Published
2024-05-01 06:31
Modified
2024-06-27 15:30
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 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.

Show details on source website


{
   affected: [],
   aliases: [
      "CVE-2024-27008",
   ],
   database_specific: {
      cwe_ids: [],
      github_reviewed: false,
      github_reviewed_at: null,
      nvd_published_at: "2024-05-01T06:15:19Z",
      severity: null,
   },
   details: "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.",
   id: "GHSA-5hhv-hrg6-cwc7",
   modified: "2024-06-27T15:30:38Z",
   published: "2024-05-01T06:31:43Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-27008",
      },
      {
         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",
      },
   ],
   schema_version: "1.4.0",
   severity: [],
}


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.