CVE-2024-47756
PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
Check your servers for CVE-2024-47756
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-47756 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
This code accidentally uses && where || was intended. It potentially results in a NULL dereference.
Thus, fix the if-statement expression to use the correct condition.
[kwilczynski: commit log]
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cfb006e185f64edbbdf7869eac352442bc76b8f6, before 9c9afc3e75069fcfb067727973242cfbf00dd7eb affected from ebbdbbc580c1695dec283d0ba6448729dc993246, before c289903b7a216df5ea6e1850ddf1b958eea9921d affected from 135843c351c08df72bdd4b4ebea53c8052a76881, before dc5aeba07395c8dfa29bb878c8ce4d5180427221 affected from af218c803fe298ddf00abef331aa526b20d7ea61, before 23838bef2adb714ec37b2d6141dccf4a3a70bdef affected from 576d0fb6f8d4bd4695e70eee173a1b9c7bae9572, before e85ab507882db165c10a858d7f685a0a38f0312e affected from dd47051c76c8acd8cb983f01b4d1265da29cb66a, before 72210e52e19a27f615e0b5273d2bf012d0dc318d affected from 86f271f22bbb6391410a07e08d6ca3757fda01fa, before 2171c5cb2fbc3e03af7e8116cd58736c09328655 affected from 86f271f22bbb6391410a07e08d6ca3757fda01fa, before 6188a1c762eb9bbd444f47696eda77a5eae6207a affected from 5.4.284, before 5.4.285 affected from 5.10.226, before 5.10.227 affected from 5.15.167, before 5.15.168 affected from 6.1.110, before 6.1.113 affected from 6.6.51, before 6.6.54 affected from 6.10.10, before 6.10.13
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.54 up to and including 6.6.* unaffected from 6.10.13 up to and including 6.10.* unaffected from 6.11.2 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-47756 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-47756
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-47756
trivy image --scanners vuln IMAGE | grep CVE-2024-47756
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9c9afc3e75069fcfb067727973242cfbf00dd7eb git.kernel.org
- https://git.kernel.org/stable/c/c289903b7a216df5ea6e1850ddf1b958eea9921d git.kernel.org
- https://git.kernel.org/stable/c/dc5aeba07395c8dfa29bb878c8ce4d5180427221 git.kernel.org
- https://git.kernel.org/stable/c/23838bef2adb714ec37b2d6141dccf4a3a70bdef git.kernel.org
- https://git.kernel.org/stable/c/e85ab507882db165c10a858d7f685a0a38f0312e git.kernel.org
- https://git.kernel.org/stable/c/72210e52e19a27f615e0b5273d2bf012d0dc318d git.kernel.org
- https://git.kernel.org/stable/c/2171c5cb2fbc3e03af7e8116cd58736c09328655 git.kernel.org
- https://git.kernel.org/stable/c/6188a1c762eb9bbd444f47696eda77a5eae6207a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-47756 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse