What’s Vulnerable › Vulnerabilities

CVE-2023-53175: PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation

Description

In the Linux kernel, the following vulnerability has been resolved: PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation When a Linux VM with an assigned PCI device runs on Hyper-V, if the PCI device driver is not loaded yet (i.e. MSI-X/MSI is not enabled on the device yet), doing a VM hibernation triggers a panic in hv_pci_restore_msi_msg() -> msi_lock_descs(&pdev->dev), because pdev->dev.msi.data is still NULL. Avoid the panic by checking if MSI-X/MSI is enabled.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.53, 6.4.16, 6.5.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53175 or the next vulnerability affects your stack