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 883422FABED for ; Tue, 19 Aug 2025 17:19:46 +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=1755623986; cv=none; b=TQPzlHDxta9Y6F/TbwY7bEwBVTLJgweeTAFzq2T1VoQdM0aRfQRUKBhbJRgvjyJUO7G6iLds4j0XqpuAEsDCyQ9tiFT3am8ofXSNEe/gn3JWCQOSUoi4rgwXfddE9FtPY82I7NpIl0NDnzuGBxngvkWomJe/sF9M6NrpN+EkBwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755623986; c=relaxed/simple; bh=4k7CFOK1c2HYFJVh/3gexUl1xPXEu2Txg9hkEDolpiE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jOAIeSfu7OJFtKM0u8eZOKkCJX7TL1Q+Dj0+9ZGHYUX4Ug5Uttc4gUqbACrjMghVt9tYWHOoejZNdh6O6KP9jD7+WvlWzn720vrRd1p15mE3OfWl6zSdjAo35DIwDBZ5HfMo75iU4pFM4jynpaXw7N7D7ZQqMMSgG0wRJ0MlyfE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TNQc6pqS; 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="TNQc6pqS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FD68C4CEF1; Tue, 19 Aug 2025 17:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755623986; bh=4k7CFOK1c2HYFJVh/3gexUl1xPXEu2Txg9hkEDolpiE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TNQc6pqS66io0lxexiCwUd4zGfVGVEx/WQOR6b771ZutZjgSjHQB/I4sKLHjNHTxr j7iNx2iFQwyajPvf6hSJqTSZPeQ/cin8jfT3jhHE2kvn3jXQDLylOGQiAqRiKY9qND bVEPGWmIcIiQz3fq6HlJVsuI5sTT/4IR8+5XwDDk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38576: powerpc/eeh: Make EEH driver device hotplug safe Date: Tue, 19 Aug 2025 19:18:22 +0200 Message-ID: <2025081912-CVE-2025-38576-d1a7@gregkh> X-Mailer: git-send-email 2.50.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=2765; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Jw9zzwyhvRBWuLd2zaj4SzCHg0ZNnpLS52nVHclzFHc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlLNl6Z43Z5wd/2R84Vtiu+5K9QOKJVI/04/OHih9GHm 6yDuHRkOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAisSkMC7Y72zxw+Hu/0W4r q47MQb2e4ss3shgWTE5NOBAwSzXc8WxD1tvv65w+bhOWAwA= 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: powerpc/eeh: Make EEH driver device hotplug safe Multiple race conditions existed between the PCIe hotplug driver and the EEH driver, leading to a variety of kernel oopses of the same general nature: A second class of oops is also seen when the underlying bus disappears during device recovery. Refactor the EEH module to be PCI rescan and remove safe. Also clean up a few minor formatting / readability issues. The Linux kernel CVE team has assigned CVE-2025-38576 to this issue. Affected and fixed versions =========================== Fixed in 6.1.148 with commit 59c6d3d81d42bf543c90597b4f38c53d6874c5a1 Fixed in 6.6.102 with commit a426e8a6ae161f51888585b065db0f8f93ab2e16 Fixed in 6.12.42 with commit d2c60a8a387e9fcc28447ef36c03f8e49fd052a6 Fixed in 6.15.10 with commit d42bbd8f30ac38b1ce54715bf08ec3dac18d6b25 Fixed in 6.16.1 with commit 19d5036e7ad766cf212aebec23b9f1d7924a62bc Fixed in 6.17-rc1 with commit 1010b4c012b0d78dfb9d3132b49aa2ef024a07a7 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-38576 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/powerpc/kernel/eeh_driver.c arch/powerpc/kernel/eeh_pe.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/59c6d3d81d42bf543c90597b4f38c53d6874c5a1 https://git.kernel.org/stable/c/a426e8a6ae161f51888585b065db0f8f93ab2e16 https://git.kernel.org/stable/c/d2c60a8a387e9fcc28447ef36c03f8e49fd052a6 https://git.kernel.org/stable/c/d42bbd8f30ac38b1ce54715bf08ec3dac18d6b25 https://git.kernel.org/stable/c/19d5036e7ad766cf212aebec23b9f1d7924a62bc https://git.kernel.org/stable/c/1010b4c012b0d78dfb9d3132b49aa2ef024a07a7