lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 22 Aug 2023 15:06:16 +0200
From:   Lorenzo Pieralisi <lpieralisi@...nel.org>
To:     tglx@...utronix.de, jgg@...pe.ca, bhelgaas@...gle.com,
        haiyangz@...rosoft.com, kw@...ux.com, kys@...rosoft.com,
        linux-hyperv@...r.kernel.org, linux-pci@...r.kernel.org,
        mikelley@...rosoft.com, robh@...nel.org, wei.liu@...nel.org,
        helgaas@...nel.org, Dexuan Cui <decui@...rosoft.com>
Cc:     Lorenzo Pieralisi <lpieralisi@...nel.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation

On Wed, 16 Aug 2023 10:59:39 -0700, Dexuan Cui wrote:
> 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.
> 
> [...]

Applied to controller/hv, thanks!

[1/1] PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
      https://git.kernel.org/pci/pci/c/04bbe863241a

Thanks,
Lorenzo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ