CVE-2024-47756Published Oct 21, 2024 · Oct 21Updated 2d ago
PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dd47051c76c8acd8cb983f01b4d1265da29cb66a · < 72210e52e19a27f615e0b5273d2bf012d0dc318d| No fix yet |
| Linux Linux |
|
|
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]
From the CVE record · Linux
The Linux kernel's PCI keystone code uses an incorrect condition in ks_pcie_quirk(), potentially causing a NULL dereference. The input does not specify how an attacker could trigger it or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the PCI keystone code should check their installations; affected versions are not specified.