{"id":"CVE-2024-47756","aliases":["CVE-2024-47756"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: keystone: Fix if-statement expression in ks_pcie_quirk()","summary":"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 && 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]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 && 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]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: keystone: Arreglar la expresión de la declaración if en ks_pcie_quirk() Este código usa accidentalmente &amp;&amp; donde se pretendía ||. Esto potencialmente resulta en una desreferencia NULL. Por lo tanto, corrija la expresión de la declaración if para usar la condición correcta. [kwilczynski: registro de confirmaciones]","source":"nvd"}],"published":"2024-10-21T12:14:19.768Z","modified":"2026-06-17T07:57:41.770Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"cfb006e185f64edbbdf7869eac352442bc76b8f6","fixed":"9c9afc3e75069fcfb067727973242cfbf00dd7eb","status":"affected"},{"type":"git","introduced":"ebbdbbc580c1695dec283d0ba6448729dc993246","fixed":"c289903b7a216df5ea6e1850ddf1b958eea9921d","status":"affected"},{"type":"git","introduced":"135843c351c08df72bdd4b4ebea53c8052a76881","fixed":"dc5aeba07395c8dfa29bb878c8ce4d5180427221","status":"affected"},{"type":"git","introduced":"af218c803fe298ddf00abef331aa526b20d7ea61","fixed":"23838bef2adb714ec37b2d6141dccf4a3a70bdef","status":"affected"},{"type":"git","introduced":"576d0fb6f8d4bd4695e70eee173a1b9c7bae9572","fixed":"e85ab507882db165c10a858d7f685a0a38f0312e","status":"affected"},{"type":"git","introduced":"dd47051c76c8acd8cb983f01b4d1265da29cb66a","fixed":"72210e52e19a27f615e0b5273d2bf012d0dc318d","status":"affected"},{"type":"git","introduced":"86f271f22bbb6391410a07e08d6ca3757fda01fa","fixed":"2171c5cb2fbc3e03af7e8116cd58736c09328655","status":"affected"},{"type":"git","introduced":"86f271f22bbb6391410a07e08d6ca3757fda01fa","fixed":"6188a1c762eb9bbd444f47696eda77a5eae6207a","status":"affected"},{"type":"semver","introduced":"5.4.284","fixed":"5.4.285","status":"affected"},{"type":"semver","introduced":"5.10.226","fixed":"5.10.227","status":"affected"},{"type":"semver","introduced":"5.15.167","fixed":"5.15.168","status":"affected"},{"type":"semver","introduced":"6.1.110","fixed":"6.1.113","status":"affected"},{"type":"semver","introduced":"6.6.51","fixed":"6.6.54","status":"affected"},{"type":"semver","introduced":"6.10.10","fixed":"6.10.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.227","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.113","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.54","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.13","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.2","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","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":"5.4.284","fixed":"5.5"},{"status":"affected","introduced":"6.1.110","fixed":"6.1.113"},{"status":"affected","introduced":"6.6.51","fixed":"6.6.54"},{"status":"affected","introduced":"6.10.10","fixed":"6.10.13"},{"status":"affected","introduced":"6.11","fixed":"6.11.2"},{"status":"affected","version":"5.10.226"},{"status":"affected","version":"5.15.167"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9c9afc3e75069fcfb067727973242cfbf00dd7eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c289903b7a216df5ea6e1850ddf1b958eea9921d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc5aeba07395c8dfa29bb878c8ce4d5180427221","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23838bef2adb714ec37b2d6141dccf4a3a70bdef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e85ab507882db165c10a858d7f685a0a38f0312e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72210e52e19a27f615e0b5273d2bf012d0dc318d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2171c5cb2fbc3e03af7e8116cd58736c09328655","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6188a1c762eb9bbd444f47696eda77a5eae6207a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-21T12:57:17.860Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47756","url":"https://www.cve.org/CVERecord?id=CVE-2024-47756","licence":"CVE Terms of Use","modified":"2026-05-23T15:53:53.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47756","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47756","licence":"Public domain","modified":"2026-06-17T07:57:41.770Z"}],"updatedAt":"2026-11-25T22:58:47.003Z","epss":{"score":0.00219,"percentile":0.13217,"date":"2026-12-01T12:00:22.000Z"}}