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 81D993D45E1 for ; Wed, 27 May 2026 12:20:04 +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=1779884406; cv=none; b=rtVeC0GlX5mcJgBSUU1bTVvZ7htLfvZlN3gb9uMJkxgWxP6a3eH9VPOArf9kUsnVaoTG4vM+oh6Jm5n2HSSstpuk2lNQ+uUK/GDKfCf6gZDGcFPvl/tK94oPfYgLqjV5QBbsfPwhFJAt3RFW/7N4qPOVxfY2MqNF3KgXanXMnQw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884406; c=relaxed/simple; bh=JLj7Ys/tX6hJ7lr5Zl9JjZSqkK2HcOkEer+PEsObsyQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Jt4FiTkK1WeQpwHKpAMVhU7PETrrcX6s+ipJgsi4HFUZSN/NnzAp81xlXCNIsAN2No877SzuKFucYb0RaIKuzjMJ5dRvHDuRyNbBnpj8iZPimCk1Wq6/TtzW+DclWmBkIGVb1ZUiYvB0vik8x7fQ5A2cjSmFdy3j3JmOfjWObik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kYa2iVdh; 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="kYa2iVdh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B22FD1F00A3A; Wed, 27 May 2026 12:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884404; bh=JwlS/OMAqIp42R8QYFcPISD4YQMhjhY7ExIUn0JwmSA=; h=From:To:Cc:Subject:Date:Reply-To; b=kYa2iVdh+tDyQx+S0zzWWRS57ETOZQuKrJ/D/WwXq3sK5ZMM8g8KByiaAxlZ/d8J5 y+QcuRWTdAa+Z5Ju2cJkG5z3MCf8VyWfFp+d3HzZr7aySbTv0/ayeI0ggIi73Ke2Bc jRT+pf/Kj5XNipTUpNhyImdTIDUC3iEfbmKiOCcE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71308: accel/amdxdna: Fix potential NULL pointer dereference in context cleanup Date: Wed, 27 May 2026 14:18:07 +0200 Message-ID: <2026052707-CVE-2025-71308-f05e@gregkh> X-Mailer: git-send-email 2.54.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=2245; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OqQ7ZHg1MbbpFNozV0ZMDgXN7i+LiF4meA7YreGS9+Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD/6HeupdYLw8f+MWsWWzTE/mZUw7+Ek06ZbxbR/uA +cm9Pn+64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJGBUxLLh5Y4Zft2F14IUD y/kXdjdXXI/+cpBhwdZdxz7lLcy4Eq1nG31mymr303n+agA= 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 potential NULL pointer dereference in context cleanup aie_destroy_context() is invoked during error handling in aie2_create_context(). However, aie_destroy_context() assumes that the context's mailbox channel pointer is non-NULL. If mailbox channel creation fails, the pointer remains NULL and calling aie_destroy_context() can lead to a NULL pointer dereference. In aie2_create_context(), replace aie_destroy_context() with a function which request firmware to remove the context created previously. The Linux kernel CVE team has assigned CVE-2025-71308 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit be462c97b7dfd24999babe39cce3de224ebe1f80 and fixed in 6.19.4 with commit 2611c9616cb52d3ed54a6095d72d18e645a6955a Issue introduced in 6.14 with commit be462c97b7dfd24999babe39cce3de224ebe1f80 and fixed in 7.0 with commit 97f27573837ef96b4ba42af463cc800cab615c0e 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-71308 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_message.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/2611c9616cb52d3ed54a6095d72d18e645a6955a https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e