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]
https://git.kernel.org/stable/c/855870e8c59b97fd424e8fa3543c9e289bb48fac
https://git.kernel.org/stable/c/514b84b1bf30f75f32c2fa66734dc1a177abb73e
https://git.kernel.org/stable/c/26b67fa10ef84ea667942491b50e6261a45f098d