CVE-2026-142887

Source
https://cve.org/CVERecord?id=CVE-2026-142887
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142887.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142887
Downstream
Published
2026-12-03T03:23:40Z
Modified
2026-12-03T05:01:10Z
Summary
PCI: cadence: Store the core controller in platform drvdata
Details

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

PCI: cadence: Store the core controller in platform drvdata

cdns_plat_pcie_probe() stores a struct cdns_plat_pcie pointer with platform_set_drvdata(). cdns_plat_pcie_shutdown() and the callbacks in cdns_pcie_pm_ops retrieve the same pointer with dev_get_drvdata() but use it as a struct cdns_pcie pointer. This makes them read phy_count and phy beyond the wrapper.

struct cdns_plat_pcie only contains a pointer to struct cdns_pcie. Drop the redundant wrapper and store the struct cdns_pcie pointer directly.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142887.json"
}
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
bd22885aa188f135fd98382febfec650601ec998
Fixed
6aa1728a3e23deb6859c1eac21ac6dfd4a373e12
Fixed
0c9eb3eb4611c707efd027d89e220a44bf65de25
Fixed
8d3c16ddee6452c8e9b4399c4193f0bff7c4cf80
Fixed
7fb9d9bce94dae3061d16352d6492d044c10e5f7
Fixed
4967f334bccc790bcc06065b091998d345b4a16b
Show 3 more events Show fewer events
Fixed
4fc3d8dc30d7ea9b79c76c636196546fc04eb812
Fixed
dc2b7bc1bf881f28546d3b6019f45a386f91c202
Fixed
cfe96ce583c51bf6e034d4038c652a1e8227867c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142887.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142887.json"