CVE-2024-47756

PCI: keystone: Fix if-statement expression in ks_pcie_quirk()

MEDIUM
5.5
CVSS Score
Published: October 21, 2024 at 12:14 PM UTC
Updated: June 17, 2026 at 07:57 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.226 ≤ v < 5.10.2275.15.167 ≤ v < 5.15.1685.4.284 ≤ v < 5.4.2855.4.284 ≤ v < 5.56.1.110 ≤ v < 6.1.1136.10.10 ≤ v < 6.10.136.11 ≤ v < 6.11.26.11 ≤ v < 6.126.6.51 ≤ v < 6.6.54135843c351c08df72bdd4b4ebea53c8052a768815.10.2265.15.1675.4.284576d0fb6f8d4bd4695e70eee173a1b9c7bae95726.1.1106.10.106.6.5186f271f22bbb6391410a07e08d6ca3757fda01faaf218c803fe298ddf00abef331aa526b20d7ea61cfb006e185f64edbbdf7869eac352442bc76b8f6dd47051c76c8acd8cb983f01b4d1265da29cb66aebbdbbc580c1695dec283d0ba6448729dc993246
Vendor states this is fixed in 2171c5cb2fbc3e03af7e8116cd58736c09328655 (fixed)
Vendor states this is fixed in 23838bef2adb714ec37b2d6141dccf4a3a70bdef (fixed)
Vendor states this is fixed in 6188a1c762eb9bbd444f47696eda77a5eae6207a (fixed)
Vendor states this is fixed in 72210e52e19a27f615e0b5273d2bf012d0dc318d (fixed)
Vendor states this is fixed in 9c9afc3e75069fcfb067727973242cfbf00dd7eb (fixed)
Vendor states this is fixed in c289903b7a216df5ea6e1850ddf1b958eea9921d (fixed)
Vendor states this is fixed in dc5aeba07395c8dfa29bb878c8ce4d5180427221 (fixed)
Vendor states this is fixed in e85ab507882db165c10a858d7f685a0a38f0312e (fixed)
Vendor states this is fixed in 5.10.227 (unaffected)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1.113 (unaffected)
Vendor states this is fixed in 6.10.13 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.11.2 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.54 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2171c5cb2fbc3e03af7e8116cd58736c09328655
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/23838bef2adb714ec37b2d6141dccf4a3a70bdef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6188a1c762eb9bbd444f47696eda77a5eae6207a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72210e52e19a27f615e0b5273d2bf012d0dc318d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c289903b7a216df5ea6e1850ddf1b958eea9921d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dc5aeba07395c8dfa29bb878c8ce4d5180427221
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e85ab507882db165c10a858d7f685a0a38f0312e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card