Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4fbfa17f9a075593281034f566ca79cbf4930c82 to < 514b84b1bf30f75f32c2fa66734dc1a177abb73eaffected4fbfa17f9a075593281034f566ca79cbf4930c82 to < 855870e8c59b97fd424e8fa3543c9e289bb48facaffected4fbfa17f9a075593281034f566ca79cbf4930c82 to < 26b67fa10ef84ea667942491b50e6261a45f098daffected
Linux Linux
Default version status: affected
6.15affected0 to < 6.15unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected