{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "cfb006e185f64edbbdf7869eac352442bc76b8f6"
            },
            {
              "fixed": "9c9afc3e75069fcfb067727973242cfbf00dd7eb"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "ebbdbbc580c1695dec283d0ba6448729dc993246"
            },
            {
              "fixed": "c289903b7a216df5ea6e1850ddf1b958eea9921d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "135843c351c08df72bdd4b4ebea53c8052a76881"
            },
            {
              "fixed": "dc5aeba07395c8dfa29bb878c8ce4d5180427221"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "af218c803fe298ddf00abef331aa526b20d7ea61"
            },
            {
              "fixed": "23838bef2adb714ec37b2d6141dccf4a3a70bdef"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "576d0fb6f8d4bd4695e70eee173a1b9c7bae9572"
            },
            {
              "fixed": "e85ab507882db165c10a858d7f685a0a38f0312e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "dd47051c76c8acd8cb983f01b4d1265da29cb66a"
            },
            {
              "fixed": "72210e52e19a27f615e0b5273d2bf012d0dc318d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "86f271f22bbb6391410a07e08d6ca3757fda01fa"
            },
            {
              "fixed": "2171c5cb2fbc3e03af7e8116cd58736c09328655"
            },
            {
              "fixed": "6188a1c762eb9bbd444f47696eda77a5eae6207a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47756.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: keystone: Fix if-statement expression in ks_pcie_quirk()\n\nThis code accidentally uses \u0026\u0026 where || was intended.  It potentially\nresults in a NULL dereference.\n\nThus, fix the if-statement expression to use the correct condition.\n\n[kwilczynski: commit log]",
  "id": "CVE-2024-47756",
  "modified": "2026-04-01T23:09:52.761430708Z",
  "published": "2024-10-21T12:14:19.768Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2171c5cb2fbc3e03af7e8116cd58736c09328655"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/23838bef2adb714ec37b2d6141dccf4a3a70bdef"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6188a1c762eb9bbd444f47696eda77a5eae6207a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/72210e52e19a27f615e0b5273d2bf012d0dc318d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c9afc3e75069fcfb067727973242cfbf00dd7eb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c289903b7a216df5ea6e1850ddf1b958eea9921d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dc5aeba07395c8dfa29bb878c8ce4d5180427221"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e85ab507882db165c10a858d7f685a0a38f0312e"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47756.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-47756"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "PCI: keystone: Fix if-statement expression in ks_pcie_quirk()"
}