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 42DC037F306 for ; Sat, 15 Aug 2026 06:30:03 +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=1786775404; cv=none; b=EES+Wr9qKkFPh4JeACo3qr1wc8ZelrFLyhtyPe8j3qAqh+JttL2HJQ92W2Z9RYIdOtflaNopJkZACN5QI+o0PErRY7thkMQodF+zfECqXNXLlBaLWqUusgwvY5z8hkIraT7Pp8ccxlqZWJ/MUgC0oE0eZUAaumcTq8msDskt/MM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775404; c=relaxed/simple; bh=CgVZ6n18jEcMhs2Vj8KA5fhN+j/qikhBmTp99sN2xww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZE2dea7NkGu4UosdtVHHKSgKKWnjl5BZ6YQqjlmmKxce/ruKUUoci/NppPxiWBEe2KQGXJna6sF6/Mtn9u2uvt5cZM3cbFUUP0nJZYKGyhYsLtcGkP7yoRYTNRhWCdB8CbJOavDxYkab/e8Fx8iUYFj3n0kkfm9MTfSx+mO9VZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UHL9uGr6; 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="UHL9uGr6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 990311F000E9; Sat, 15 Aug 2026 06:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775403; bh=0fdxzlsVwvOKvk8iE/HCu8WATXniYNzbRr9Xp86TzZk=; h=From:To:Cc:Subject:Date:Reply-To; b=UHL9uGr64EeuOc3XDL4EGXrOJwjihPbyVF/0sjFqP8XP4fQCpdimNw3EUL6EoatK/ XpOmsiNlBJ5iCiqnEthoBHcD2q9Xhs24pw2KdM2jnkJ6bGLSrxeqQrcaY1XXM4Qq11 x8ZGrT68Eaxh0IY7SDI1+v/zgKVcQTxA2EUNZN90= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72474: dmaengine: dma-axi-dmac: use DMA pool to manange DMA descriptor Date: Sat, 15 Aug 2026 15:09:13 +0900 Message-ID: <2026081535-CVE-2026-72474-44b6@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=3094; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5Deo7YubhKmKQDBNowCizhR7sOpba9bF33qyql/tOH4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDL/9QsRDpf7V1j7V0nd+lOu++ELNtwnHFz+YUf3/n n3g4nfmHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRcxoM853ed4WJveDpLb/c EXrzzjKLvxX8EQzzqz+55h2IK15SLJrx2ufQtUq+ylPHAQ== 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: dmaengine: dma-axi-dmac: use DMA pool to manange DMA descriptor For architectures like Microblaze or arm64 (where this IP is used), DMA_DIRECT_REMAP is set which means that dma_alloc_coherent() might remap (and hence vmalloc()) some memory. This became visible in a design where dma_direct_use_pool() is not possible. With the above, when calling dma_free_coherent(), vunmap() would be called from softirq context and thus leading to a BUG(). To fix it, use a dma pool that is allocated in .device_alloc_chan_resources() and allocate blocks from it. The key point is that now dma_pool_free() is used in axi_dmac_free_desc() to free the blocks and that just frees the blocks from the pool in the sense they can be used again. In other words, no actual call to dma_free_coherent() happens. That only happens when destroying the pool in axi_dmac_free_chan_resources() which does not happen in any interrupt context. The Linux kernel CVE team has assigned CVE-2026-72474 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 3f8fd25936ee5f52596f10d420f650c5b5e3285f and fixed in 6.12.97 with commit a4f41ceecfe68e117bae9c76c5ebc5e2b353fa56 Issue introduced in 6.8 with commit 3f8fd25936ee5f52596f10d420f650c5b5e3285f and fixed in 6.18.40 with commit c0e6bb2b0408fcac6382158ee2bd9fdc45eceee9 Issue introduced in 6.8 with commit 3f8fd25936ee5f52596f10d420f650c5b5e3285f and fixed in 7.1.5 with commit 65e82fa24965b2eb6ad9412f6c530ed9a50a625f Issue introduced in 6.8 with commit 3f8fd25936ee5f52596f10d420f650c5b5e3285f and fixed in 7.2-rc1 with commit 9e942c8579130e62734c14338e9f451780669164 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-72474 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/dma/dma-axi-dmac.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/a4f41ceecfe68e117bae9c76c5ebc5e2b353fa56 https://git.kernel.org/stable/c/c0e6bb2b0408fcac6382158ee2bd9fdc45eceee9 https://git.kernel.org/stable/c/65e82fa24965b2eb6ad9412f6c530ed9a50a625f https://git.kernel.org/stable/c/9e942c8579130e62734c14338e9f451780669164