CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's PCI subsystem, specifically the dwc_pcie_rasdes_debugfs_init() function, which improperly handles cases where the RAS DES capability is absent, leading to a potential NULL dereference during the debugfs teardown process. This flaw could result in system instability or crashes when the debugfs interface is accessed without proper RAS DES state allocation. Linux system administrators and developers working with PCI devices should prioritize this issue to ensure system reliability and prevent potential disruptions.
Original NVD 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]