Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B5472C027C for ; Mon, 15 Sep 2025 14:10:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945447; cv=none; b=BwAY8g3a3aYP3JSVvChFgvdvGjLN8HQ/qBfdyzxppzZ7cwKNZ1uKvQOjBBxSpp89WD8+QPN1Gi8K5OqQ5j6ftZa1rDYAyUsFcVbEYRJ0inJqivTh4V3NY/1PJMC4V8TWCFPK1bTis9/DjZqCTBFQmrVgi4f5qjUjM46DQNWlNfI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945447; c=relaxed/simple; bh=OSW60RVuavZBml0twZxRQ+9ygpTRsc7y244qWzDGB8A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NSsmtYacazdDjH6xD7eFP/IfLLHaAkOsJQfdhFDXbcm2cg/6BxcWCXTxIE9RZLdQfOwLpgZiZQv655x0LVia767rf5upUGirIG5exisCcScEFGkvcruKfwIVt7Ais+pl7YgzOkPr014OkiYtIDZtULWLCQ8qN38z1jjLIiOtlZk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2CyhQ1qB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2CyhQ1qB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 589A7C4CEF1; Mon, 15 Sep 2025 14:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945447; bh=OSW60RVuavZBml0twZxRQ+9ygpTRsc7y244qWzDGB8A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2CyhQ1qB4NaVStNWP5t6pHdAy12ENlfdWOqp/isve9JbmCsD87wRfh0MmOjQZD2FG wxesWztxbXBXC5/KNH+t9HWHl3FhLrLdrSB8fY9QsrOerP/JZdGMOvB9O7ygKDEZz/ 8+DtFM70M8KnyvuSOmiGmVIiW6tk39R7kOogaHpo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53175: PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation Date: Mon, 15 Sep 2025 16:02:29 +0200 Message-ID: <2025091555-CVE-2023-53175-66fa@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2595; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b3RbZAgoiiQ3iaNJQxi+MXndyeXgB7weyjOCRzR/kIU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZIKXnte5cDLU+WOFm6+qQmpBTFBZ2dNApvYqtoxHj m1bZsR0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwET+fGKY7x4noNb+h1PaK1Ol bs82hqNrTbZfYVjQfaH8kXDEfF3Z47fq1jJbywo6XDsNAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2023-53175 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit dc2b453290c471266a2d56d7ead981e3c5cea05e and fixed in 6.1.53 with commit 223fc5352054900f70b8b5e10cfc2f297e70c512 Issue introduced in 5.17 with commit dc2b453290c471266a2d56d7ead981e3c5cea05e and fixed in 6.4.16 with commit d0687755407b21d252b98dca6be459153a60c62a Issue introduced in 5.17 with commit dc2b453290c471266a2d56d7ead981e3c5cea05e and fixed in 6.5.3 with commit e32fc2168aa6b477290392ddbb73d95f012b050c Issue introduced in 5.17 with commit dc2b453290c471266a2d56d7ead981e3c5cea05e and fixed in 6.6 with commit 04bbe863241a9be7d57fb4cf217ee4a72f480e70 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-53175 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/pci/controller/pci-hyperv.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/223fc5352054900f70b8b5e10cfc2f297e70c512 https://git.kernel.org/stable/c/d0687755407b21d252b98dca6be459153a60c62a https://git.kernel.org/stable/c/e32fc2168aa6b477290392ddbb73d95f012b050c https://git.kernel.org/stable/c/04bbe863241a9be7d57fb4cf217ee4a72f480e70