Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4fbfa17f9a075593281034f566ca79cbf4930c82 before 514b84b1bf30f75f32c2fa66734dc1a177abb73e; affected 4fbfa17f9a075593281034f566ca79cbf4930c82 before 855870e8c59b97fd424e8fa3543c9e289bb48fac; affected 4fbfa17f9a075593281034f566ca79cbf4930c82 before 26b67fa10ef84ea667942491b50e6261a45f098d |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.