PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability
In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability dwc_pcie_rasdes_debugfs_init() returns success when the controller has no RAS DES capability, leaving pci->debugfs->rasdes_info unset. The common debugfs teardown path still calls dwc_pcie_rasdes_debugfs_deinit(), which dereferences rasdes_info unconditionally. Return early when no RAS DES state was allocated. In that case no RAS DES mutex was initialized, so there is nothing to destroy. [mani: reworded subject]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.40, 7.1.5
- CVEs
- CVE-2026-80621
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 02:33 UTC · Revision 1
Source evidence
PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability
core-osv · Original sourcePublished 28 Aug 2026, 06:48 UTC
In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability dwc_pcie_rasdes_debugfs_init() returns success when the controller has no RAS DES capability, leaving pci->debugfs->rasdes_info unset. The common debugfs teardown path still calls dwc_pcie_rasdes_debugfs_deinit(), which dereferences rasdes_info unconditionally. Return early when no RAS DES state was allocated. In that case no RAS DES mutex was initialized, so there is nothing to destroy. [mani: reworded subject]
osv:CVE-2026-80621
Kernel
Fixed versions: 6.18.40, 7.1.5
Complete source record
{
"id": "a3f73cfc0750c62a4c3b1e1686be23e5e8d94af9a2a1e7cd5c84ea9fa9d5af70",
"url": "https://osv.dev/vulnerability/CVE-2026-80621",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability",
"summary": "In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability dwc_pcie_rasdes_debugfs_init() returns success when the controller has no RAS DES capability, leaving pci->debugfs->rasdes_info unset. The common debugfs teardown path still calls dwc_pcie_rasdes_debugfs_deinit(), which dereferences rasdes_info unconditionally. Return early when no RAS DES state was allocated. In that case no RAS DES mutex was initialized, so there is nothing to destroy. [mani: reworded subject]",
"evidence": "osv:CVE-2026-80621",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-80621",
"aliases": [
"CVE-2026-80621"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4fbfa17f9a075593281034f566ca79cbf4930c82"
},
{
"fixed": "514b84b1bf30f75f32c2fa66734dc1a177abb73e"
},
{
"fixed": "855870e8c59b97fd424e8fa3543c9e289bb48fac"
},
{
"fixed": "26b67fa10ef84ea667942491b50e6261a45f098d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80621.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.15.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80621.json"
}
}
],
"modified": "2026-10-28T02:30:52.793055051Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/26b67fa10ef84ea667942491b50e6261a45f098d",
"https://git.kernel.org/stable/c/514b84b1bf30f75f32c2fa66734dc1a177abb73e",
"https://git.kernel.org/stable/c/855870e8c59b97fd424e8fa3543c9e289bb48fac",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80621.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80621",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80621.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80621",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 521823,
"published_at": "2026-08-28T06:48:41.081+00:00"
}