Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DCDD1455173 for ; Fri, 25 Sep 2026 10:31:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332314; cv=none; b=dugd3Z2xZOpNSyrm6RzbrbTec9LY2vibhABsXQppd1TmBwliIOil+BbrF30+9obWqQ5Z5eZNe5TtL7YXx4Zx7t3kP7LdHY3MIrCh8ee8q2XLWbw8+cY/p6Nh634graL3EB8wrEgCHE+UVV9BiX6xwL1veWGIa1K3WQJpOzFzkA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332314; c=relaxed/simple; bh=KTYHflyUDIB+KHzypzjSWM2eRJUbsoyqzBH2yMDjDKQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BC9I8ZQSaIA+YttMRQbpqtHg05RDHkUr3c00ZVEjNeGsPLYU1KGJz8GiDLWmHBZLVIB6TpJafYTFXsyKlL8gc0XibmmKWblIx0sY4+DEqOHSPBJ/xEcjpEZhEucc1CEHduGVXI/iT7L538ZR+1+Ppn30N1WcWZHLU9vx1VjhvMI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sm7Uul83; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sm7Uul83" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 421271F00893; Fri, 25 Sep 2026 10:31:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332312; bh=CYiGcp6F45nhfpGeDeF3ovkgRflgirhcnX/T35TfuBE=; h=From:To:Cc:Subject:Date:Reply-To; b=sm7Uul83TzZrL+3tXBE2I+ztiVPI0RAefmmDtW29ncn3bcZ4H4a6LmC8frO+yYWth vyd1qSlP1zx1ujctazGFo3VRZVb7ILV/3BxtsSDccnGQsvNJG93PWiMFf/frB+PsNl Tw1qT8yya1jkh0Szq9t//rFDdRwfcguuphjLqr+s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97948: powerpc/eeh: Fix recursive locking on devices without EEH sensitive driver Date: Fri, 25 Sep 2026 12:24:11 +0200 Message-ID: <2026092513-CVE-2026-97948-957f@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3850; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WabJgdDyDkDx4QFgqwZpDEHFRZNwmSpKqfKID5PLa6o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvEOdRJ//N5twpjdLYUPEqlbTnzdjs/dvnSOw0lb+Y sfH3pnhHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR30sM81S3Pgp+dFsu2WTm vec5cpGzjzJ83M6wYLrJ7wk5zRyvxbNy7usHdex6fvDXCQA= 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: Fix recursive locking on devices without EEH sensitive driver The commit 1010b4c012b0 ("powerpc/eeh: Make EEH driver device hotplug safe") refactored the EEH code such that the pci_rescan_remove_lock is held at the beginning of eeh_handle_normal_event() and the eeh_reset_device() is called with that lock being held. Looks like the commit missed to remove the existing lock/unlock inside eeh_rmv_device() which is no longer necessary. This is causing the eehd to hang on the lock which it actually holds when that code path is taken. [<0>] 0xc00000011c78f870 [<0>] __switch_to+0xfc/0x1a0 [<0>] pci_lock_rescan_remove+0x30/0x44 [<0>] eeh_rmv_device+0x290/0x2e0 [<0>] eeh_pe_dev_traverse+0x80/0x130 [<0>] eeh_reset_device+0xcc/0x23c [<0>] eeh_handle_normal_event+0x830/0xa80 [<0>] eeh_event_handler+0xf8/0x190 [<0>] kthread+0x194/0x1b0 [<0>] start_kernel_thread+0x14/0x18 The issue is seen for cases where the errors are detected on the PHB directly AND|OR for devices where the driver error_detected() returns PCI_ERS_RESULT_NEED_RESET, and driver being not EEH sensitive(i.e no error handlers like slot_reset(), resume() etc defined). The Linux kernel CVE team has assigned CVE-2026-97948 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.42 with commit d2c60a8a387e9fcc28447ef36c03f8e49fd052a6 and fixed in 6.12.111 with commit 102e3dc5ab5ba052e294819e83384166b242c1ec Issue introduced in 6.17 with commit 1010b4c012b0d78dfb9d3132b49aa2ef024a07a7 and fixed in 6.18.53 with commit 2920af33d097ca335e492b346af70b72986ad6dc Issue introduced in 6.17 with commit 1010b4c012b0d78dfb9d3132b49aa2ef024a07a7 and fixed in 7.2.7 with commit 85d8eaefc052cf3e5ae2c7bafeda2db68b8898b4 Issue introduced in 6.17 with commit 1010b4c012b0d78dfb9d3132b49aa2ef024a07a7 and fixed in 7.3-rc3 with commit c5e68706527968282e49de205cc2b935823cb88a Issue introduced in 5.10.241 with commit 502f08831a9afb72dc98a56ae6504da43e93b250 Issue introduced in 5.15.190 with commit f56e004b781719d8fdf6c9619b15caf2579bc1f2 Issue introduced in 6.1.148 with commit 59c6d3d81d42bf543c90597b4f38c53d6874c5a1 Issue introduced in 6.6.102 with commit a426e8a6ae161f51888585b065db0f8f93ab2e16 Issue introduced in 6.15.10 with commit d42bbd8f30ac38b1ce54715bf08ec3dac18d6b25 Issue introduced in 6.16.1 with commit 19d5036e7ad766cf212aebec23b9f1d7924a62bc 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-2026-97948 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 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/102e3dc5ab5ba052e294819e83384166b242c1ec https://git.kernel.org/stable/c/2920af33d097ca335e492b346af70b72986ad6dc https://git.kernel.org/stable/c/85d8eaefc052cf3e5ae2c7bafeda2db68b8898b4 https://git.kernel.org/stable/c/c5e68706527968282e49de205cc2b935823cb88a