CVE-2024-47756

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47756
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47756.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-47756
Downstream
Related
Published
2024-10-21T12:14:19Z
Modified
2025-10-09T20:43:25.557062Z
Summary
PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

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]

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cfb006e185f64edbbdf7869eac352442bc76b8f6
Fixed
9c9afc3e75069fcfb067727973242cfbf00dd7eb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ebbdbbc580c1695dec283d0ba6448729dc993246
Fixed
c289903b7a216df5ea6e1850ddf1b958eea9921d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
135843c351c08df72bdd4b4ebea53c8052a76881
Fixed
dc5aeba07395c8dfa29bb878c8ce4d5180427221
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
af218c803fe298ddf00abef331aa526b20d7ea61
Fixed
23838bef2adb714ec37b2d6141dccf4a3a70bdef
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
576d0fb6f8d4bd4695e70eee173a1b9c7bae9572
Fixed
e85ab507882db165c10a858d7f685a0a38f0312e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dd47051c76c8acd8cb983f01b4d1265da29cb66a
Fixed
72210e52e19a27f615e0b5273d2bf012d0dc318d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
86f271f22bbb6391410a07e08d6ca3757fda01fa
Fixed
2171c5cb2fbc3e03af7e8116cd58736c09328655
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
86f271f22bbb6391410a07e08d6ca3757fda01fa
Fixed
6188a1c762eb9bbd444f47696eda77a5eae6207a

Affected versions

v5.*

v5.10.226
v5.15.167
v5.4.284

v6.*

v6.1.110
v6.1.111
v6.1.112
v6.10
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.10
v6.10.11
v6.10.12
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.6.51
v6.6.52
v6.6.53

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.285
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.227
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.168
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.113
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.54
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.13
Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.2