# CVE-2024-47756: PCI: keystone: Fix if-statement expression in ks\_pcie\_quirk()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-05-23
- Aliases: UBUNTU-CVE-2024-47756, DEBIAN-CVE-2024-47756
- Record: https://cvemate.com/vulnerability/CVE-2024-47756 · JSON: https://cvemate.com/vulnerability/CVE-2024-47756/json

## Description

```text
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]
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.219%, percentile 13.19%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 129)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.2-1
- ubuntu linux (Ubuntu): \< 5.4.0-208.228 \| \< 5.15.0-127.137 \| \< 6.8.0-54.56
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1140.150 \| \< 5.15.0-1073.79 \| \< 6.8.0-1023.25
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1073.79~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1023.25~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1073.79+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1078.87 \| \< 6.8.0-1025.30
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 48)

- <https://git.kernel.org/stable/c/9c9afc3e75069fcfb067727973242cfbf00dd7eb>
- <https://git.kernel.org/stable/c/c289903b7a216df5ea6e1850ddf1b958eea9921d>
- <https://git.kernel.org/stable/c/dc5aeba07395c8dfa29bb878c8ce4d5180427221>
- <https://git.kernel.org/stable/c/23838bef2adb714ec37b2d6141dccf4a3a70bdef>
- <https://git.kernel.org/stable/c/e85ab507882db165c10a858d7f685a0a38f0312e>
- <https://git.kernel.org/stable/c/72210e52e19a27f615e0b5273d2bf012d0dc318d>
- <https://git.kernel.org/stable/c/2171c5cb2fbc3e03af7e8116cd58736c09328655>
- <https://git.kernel.org/stable/c/6188a1c762eb9bbd444f47696eda77a5eae6207a>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-47756>
- <https://www.cve.org/CVERecord?id=CVE-2024-47756>
- <https://git.kernel.org/linus/6188a1c762eb9bbd444f47696eda77a5eae6207a>
- <https://ubuntu.com/security/notices/USN-7166-1>
- <https://ubuntu.com/security/notices/USN-7166-2>
- <https://ubuntu.com/security/notices/USN-7166-3>
- <https://ubuntu.com/security/notices/USN-7186-1>
- <https://ubuntu.com/security/notices/USN-7186-2>
- <https://ubuntu.com/security/notices/USN-7194-1>
- <https://ubuntu.com/security/notices/USN-7166-4>

---

Data as of 2026-12-05T04:02:44.050Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
