CVE-2024-47756 PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
A logic error in the Linux kernel PCI Keystone driver causes a NULL pointer dereference, leading to a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47756?
CVE-2024-47756 is a medium-severity vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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]
Weakness: CWE-476
Which versions are affected by CVE-2024-47756?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47756?
Apply the vendor's patch.
Is CVE-2024-47756 being exploited?
There is no known exploitation of CVE-2024-47756 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-50646, BELL-CVE-2024-47756, DEBIAN-CVE-2024-47756, GHSA-fw6v-6fqv-jxv4, UBUNTU-CVE-2024-47756.