{"id":"CVE-2024-47756","summary":"PCI: keystone: Fix if-statement expression in ks_pcie_quirk()","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 && 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]","modified":"2026-04-16T04:36:50.155773088Z","published":"2024-10-21T12:14:19.768Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47756.json","cna_assigner":"Linux"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cfb006e185f64edbbdf7869eac352442bc76b8f6"},{"fixed":"9c9afc3e75069fcfb067727973242cfbf00dd7eb"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ebbdbbc580c1695dec283d0ba6448729dc993246"},{"fixed":"c289903b7a216df5ea6e1850ddf1b958eea9921d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"135843c351c08df72bdd4b4ebea53c8052a76881"},{"fixed":"dc5aeba07395c8dfa29bb878c8ce4d5180427221"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"af218c803fe298ddf00abef331aa526b20d7ea61"},{"fixed":"23838bef2adb714ec37b2d6141dccf4a3a70bdef"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"576d0fb6f8d4bd4695e70eee173a1b9c7bae9572"},{"fixed":"e85ab507882db165c10a858d7f685a0a38f0312e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dd47051c76c8acd8cb983f01b4d1265da29cb66a"},{"fixed":"72210e52e19a27f615e0b5273d2bf012d0dc318d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"86f271f22bbb6391410a07e08d6ca3757fda01fa"},{"fixed":"2171c5cb2fbc3e03af7e8116cd58736c09328655"},{"fixed":"6188a1c762eb9bbd444f47696eda77a5eae6207a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47756.json"}}],"schema_version":"1.7.5"}