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 7FA923976A2 for ; Wed, 25 Mar 2026 10:27:40 +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=1774434460; cv=none; b=XHWU87m/MtB4INKRSbVqD0fPgQrTStDhwXXOvTOTCp3teYfPRn7ghQ+mzYvSzFobPgniHScqJIjxKZeEwGhsaYXk94rn+m6Xv0oETo/D71wfseV6qe6NMCuxNQI7kOCTtPEDciP5Qtq4sW4pc8xmkydzI6i4O1pYpgIAYOcmq1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434460; c=relaxed/simple; bh=ZZ/TmUkOg7onhZSxp4rR1xaMBbGPF/ivKPtXhbAOenE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u1HC5GBJgYq5YDnsaotfDjfUVR0w1MkNIh9tdkiN9lkV+5iztk0dfICcznlX7xzWisqkw9tmt6hGbyrxOq12M1zLZ605UGQzQm2N/T1Ab/886qLMpw9gj7eWjcBfEaySFFsqN/YD6GDQk2coWbUqigrtOdqbQNonD2heeXg7z6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HV3IBlFW; 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="HV3IBlFW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7B22C4CEF7; Wed, 25 Mar 2026 10:27:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434460; bh=ZZ/TmUkOg7onhZSxp4rR1xaMBbGPF/ivKPtXhbAOenE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HV3IBlFWg68vxlSFDmdbLaiyhSr1uzuL2YE/MArryKkjLe2lRug51Sfn9bWAtF3QF t0Ai69k/Y89IfsS8rDb1lpv+8l/tTQFlpHkK+RBXO0vPiIRc89Pf2K5e9zQZYb54+r uUM4fiYYXNvPOCVuwSwLndQc3Vyg52Psf3chiHpo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23295: accel/amdxdna: Fix dead lock for suspend and resume Date: Wed, 25 Mar 2026 11:26:39 +0100 Message-ID: <2026032526-CVE-2026-23295-59d2@gregkh> X-Mailer: git-send-email 2.53.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=2470; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BAWeH9JU+8qPEDF25ywFwqBUBCAATDtMyt7H+o3U288=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdwR1/N+io6bdlSq89eCX6MObtrCcdTPcMrdO034d+ /TrRZZbOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiHRMYFhyfsl/MuNNVyqH8 ya5V6ivcHy1LOMQwP+73BNtnRmd3r3zmW7epxGlPrQD/VAA= 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: accel/amdxdna: Fix dead lock for suspend and resume When an application issues a query IOCTL while auto suspend is running, a deadlock can occur. The query path holds dev_lock and then calls pm_runtime_resume_and_get(), which waits for the ongoing suspend to complete. Meanwhile, the suspend callback attempts to acquire dev_lock and blocks, resulting in a deadlock. Fix this by releasing dev_lock before calling pm_runtime_resume_and_get() and reacquiring it after the call completes. Also acquire dev_lock in the resume callback to keep the locking consistent. The Linux kernel CVE team has assigned CVE-2026-23295 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 063db451832b8849faf1b0b8404b3a6a39995b29 and fixed in 6.19.7 with commit ac24537478dd8eb2fd3984b4652bb19461e5e74c Issue introduced in 6.19 with commit 063db451832b8849faf1b0b8404b3a6a39995b29 and fixed in 7.0-rc2 with commit 1aa82181a3c285c7351523d587f7981ae4c015c8 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-23295 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/accel/amdxdna/aie2_ctx.c drivers/accel/amdxdna/aie2_pci.c drivers/accel/amdxdna/aie2_pm.c drivers/accel/amdxdna/amdxdna_ctx.c drivers/accel/amdxdna/amdxdna_pm.c drivers/accel/amdxdna/amdxdna_pm.h 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/ac24537478dd8eb2fd3984b4652bb19461e5e74c https://git.kernel.org/stable/c/1aa82181a3c285c7351523d587f7981ae4c015c8