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 DC0604F649B for ; Wed, 16 Sep 2026 10:42: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=1789555388; cv=none; b=HtGULKS7BcGKrQO/pUDX0YJj/2YcEB9XGski+RvZsrwCWDKgPgBa4ADDFXhlUAedm+ArLtc9eyPUHl7BLc7REaPhrg6/ww24QPOE8BK5BjN9oecW74IXvKfRb6D3VzopwWiZIlsu9QB5CmLdJEL4L6OEfECatiFB+EgWW++ROWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555388; c=relaxed/simple; bh=Ng62b/vJ5i1G6AoRZksyushSMKxZvUZv3QL3uk4TKng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IYDa+oa6w3gQ6Adzh0WRYpJY2JKH6AsUnv1pke/AS22IpDPSKTnwf4dwgdd1cD1gFkWZxpLDDVWvjOwy4/SBZO9LSP1l+zfcxtvndPh5qyqge6V++WXJuKYx4PmFiL+SnfPXPzaIa3HCmVBIb08+l6LjsskzaOfxz6aDPoj2kTQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Kam5wkHT; 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="Kam5wkHT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC2631F00899; Wed, 16 Sep 2026 10:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555371; bh=rtytNDk9TcYz4w1C1zd9dD0tswBkt1v8ndvBHwFxNmA=; h=From:To:Cc:Subject:Date:Reply-To; b=Kam5wkHTA7SUvBhJMANSq1NtvnVJEiLOERvUcp464SSt9wIoowskdCrh+UxYj+lIu Sw8uiq4YK70YnNtNstWn+2mkrMdbNVG/v1T55aOIPTrUOgazKcpcKYIj5qI8R06O6C Z8IBYfCGsUK/KpYYNX1wd/QBMAqwqQWjsxEtahCI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89995: dma-direct: return struct page from dma_direct_alloc_from_pool() Date: Wed, 16 Sep 2026 11:32:05 +0100 Message-ID: <2026091658-CVE-2026-89995-c36f@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=2688; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cvzMA3FkWnbUSHIj4CUjIiV3nyCybx0nBbhnUzZ/hKk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8pd1HzisbOVy1flx6YoZLvVhBqkvl6rwr2Ver6LRu /CeydrajlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIOTmGBTNibLsZTCWS7ytX bvx5bdHaa5UMXQzzM5P8pGyLzrle8VmStWNapIJd8n0xAA== 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: dma-direct: return struct page from dma_direct_alloc_from_pool() Commit 5b138c534fda ("dma-direct: factor out a dma_direct_alloc_from_pool helper") changed dma_direct_alloc_from_pool() to return the CPU address from dma_alloc_from_pool(). That fits dma_direct_alloc(), but dma_direct_alloc_pages() also uses the helper and expects a struct page *. Fix this by making dma_direct_alloc_from_pool() return the struct page * again, and pass the CPU address back through an out-parameter for the dma_direct_alloc() caller. The Linux kernel CVE team has assigned CVE-2026-89995 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 5b138c534fda57c2ebc1e6de72578aa1d70788a6 and fixed in 6.12.110 with commit c3fdb94da43ff23287f85664174c45c45e881a3f Issue introduced in 5.10 with commit 5b138c534fda57c2ebc1e6de72578aa1d70788a6 and fixed in 6.18.51 with commit 408ff2d5bf555bd3f4c84a2edb95c0690bf9edc8 Issue introduced in 5.10 with commit 5b138c534fda57c2ebc1e6de72578aa1d70788a6 and fixed in 7.2.5 with commit feeb2ef775081a6c188cdd10e7a45369a07ce531 Issue introduced in 5.10 with commit 5b138c534fda57c2ebc1e6de72578aa1d70788a6 and fixed in 7.3-rc1 with commit 94a04ad732c9f8b9554270fc4038a06737de5c22 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-89995 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: kernel/dma/direct.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/c3fdb94da43ff23287f85664174c45c45e881a3f https://git.kernel.org/stable/c/408ff2d5bf555bd3f4c84a2edb95c0690bf9edc8 https://git.kernel.org/stable/c/feeb2ef775081a6c188cdd10e7a45369a07ce531 https://git.kernel.org/stable/c/94a04ad732c9f8b9554270fc4038a06737de5c22