PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 26b67fa10ef84ea667942491b50e6261a45f098d, Kernel 514b84b1bf30f75f32c2fa66734dc1a177abb73e and Kernel 855870e8c59b97fd424e8fa3543c9e289bb48fac.
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]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=4fbfa17f9a075593281034f566ca79cbf4930c82 <26b67fa10ef84ea667942491b50e6261a45f098d, >=4fbfa17f9a075593281034f566ca79cbf4930c82 <514b84b1bf30f75f32c2fa66734dc1a177abb73e, >=4fbfa17f9a075593281034f566ca79cbf4930c82 <855870e8c59b97fd424e8fa3543c9e289bb48fac | 26b67fa10ef84ea667942491b50e6261a45f098d, 514b84b1bf30f75f32c2fa66734dc1a177abb73e, 855870e8c59b97fd424e8fa3543c9e289bb48fac |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket