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 3FF1DEC2 for ; Thu, 6 Mar 2025 16:22: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=1741278168; cv=none; b=IhBmVP6CDqS0eRBz82ZMaH1xKCsGOuHp40BuZgJgGhCl64WZBj/+NV/rDTUFdHBPpsfiRUqsNLlFL7l89jiSXwZBOFuJjdciKVuA2XWUvFaTdICzMjbR/yuJl58dHCx1OF5A+/u51/xUVCJ18anLfRiL+3lRxxAl7N9m5ZkdMAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741278168; c=relaxed/simple; bh=7pkY5Jg92gldtHX7twqohP/JNu2gGxrmDEP0bxnHu5Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OwH8ScePxPyX4UUB9cELEFml4Fv+GSYj5Hn/4JLTxC09porGgGtC2nGJDns2AOVTyFNVVT36OazddBCiUJIfgZetY9+zGszGwtpllQjLuSQ4kzesTVxlcNzTVQgFkQ25qoKRyjo/+Ww9qs8ftSJiXHv/DAKCvB2mh7FhLjuIxOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wnlpKJBW; 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="wnlpKJBW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37B41C4CEE0; Thu, 6 Mar 2025 16:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741278167; bh=7pkY5Jg92gldtHX7twqohP/JNu2gGxrmDEP0bxnHu5Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wnlpKJBWYt7+y92hsVop0S85yald4JVhOi7TYast8AznWKjZLP1SRj+9SZNM3kCKU pUGZokRoHxFI6dgXhAToQT0EV1h5cOuwpEyxoZhmLN3JmldkDmyesVbGJqr3tkQw/W yJXwuQvpM9MusyN0DDUuR7tNP4cdKVaws5CAlE4s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21831: PCI: Avoid putting some root ports into D3 on TUXEDO Sirius Gen1 Date: Thu, 6 Mar 2025 17:22:37 +0100 Message-ID: <2025030634-CVE-2025-21831-3ada@gregkh> X-Mailer: git-send-email 2.48.1 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=3203; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7pkY5Jg92gldtHX7twqohP/JNu2gGxrmDEP0bxnHu5Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknT5+u23rK2egM64VkvXA7A+Yil1simr4Rz54W6zj3n A0XkZvZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMx6mKYnyX6wPTBqwkvX1WK sJikc2ZUfpDVZ1gwIyQg6mrgQh7nrqLM465Cq8LZ900HAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: PCI: Avoid putting some root ports into D3 on TUXEDO Sirius Gen1 commit 9d26d3a8f1b0 ("PCI: Put PCIe ports into D3 during suspend") sets the policy that all PCIe ports are allowed to use D3. When the system is suspended if the port is not power manageable by the platform and won't be used for wakeup via a PME this sets up the policy for these ports to go into D3hot. This policy generally makes sense from an OSPM perspective but it leads to problems with wakeup from suspend on the TUXEDO Sirius 16 Gen 1 with a specific old BIOS. This manifests as a system hang. On the affected Device + BIOS combination, add a quirk for the root port of the problematic controller to ensure that these root ports are not put into D3hot at suspend. This patch is based on https://lore.kernel.org/linux-pci/20230708214457.1229-2-mario.limonciello@amd.com but with the added condition both in the documentation and in the code to apply only to the TUXEDO Sirius 16 Gen 1 with a specific old BIOS and only the affected root ports. The Linux kernel CVE team has assigned CVE-2025-21831 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 9d26d3a8f1b0c442339a235f9508bdad8af91043 and fixed in 6.6.78 with commit 8852e056e297df1d8635ee7504e780d3184e45d0 Issue introduced in 4.8 with commit 9d26d3a8f1b0c442339a235f9508bdad8af91043 and fixed in 6.12.14 with commit 5ee3dd6e59b834e4d66e8b16fc684749ee40a257 Issue introduced in 4.8 with commit 9d26d3a8f1b0c442339a235f9508bdad8af91043 and fixed in 6.13.3 with commit a78dfe50fffe6058afed2bb04c50c2c9a16664ee Issue introduced in 4.8 with commit 9d26d3a8f1b0c442339a235f9508bdad8af91043 and fixed in 6.14-rc1 with commit b1049f2d68693c80a576c4578d96774a68df2bad 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-2025-21831 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: arch/x86/pci/fixup.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/8852e056e297df1d8635ee7504e780d3184e45d0 https://git.kernel.org/stable/c/5ee3dd6e59b834e4d66e8b16fc684749ee40a257 https://git.kernel.org/stable/c/a78dfe50fffe6058afed2bb04c50c2c9a16664ee https://git.kernel.org/stable/c/b1049f2d68693c80a576c4578d96774a68df2bad