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 37A1D26CE32 for ; Wed, 22 Apr 2026 13:55:01 +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=1776866101; cv=none; b=JtnWenPiCAw+AeR1idMbmeZugvetRZ+nSVaOgAC1/Qs11b27qc8YmttU9fdQPuWnVwy3Z0QfHe9eWdFXnvXYQPzyDTlu3fo5vYIKSsll2x/nwWJBPGzOVcJr4mKRV1Ql9HZV118t3FgDJJiVGNKh9S59VrlVbdXQ6zUoEydQm4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866101; c=relaxed/simple; bh=UzNMBiLZTUI0lQ/diUHFDvmbF0qk98cbzvCAijyngKo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ijnKhvb2EFuWoDrcaV8Lfa3hXiI1WBDRd3KPiqky3hnHjVg6819OR8Rh730fRqqtu4Re89aQiucB3COthNCQbljs08xAv4nuGeGjvpvKLMMPwFbJcY2Lm+IZ5hKaCM5HYTU5dsLeFNRA6JgXbuuO1416wSR2CJ/z6T+1PgHVkSw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ujGcB6ui; 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="ujGcB6ui" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0BEAC2BCAF; Wed, 22 Apr 2026 13:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866100; bh=UzNMBiLZTUI0lQ/diUHFDvmbF0qk98cbzvCAijyngKo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ujGcB6uiitxYqlyg14PQtC+WuKyuz8l0HgcJHUCUMZh3P+8WeCSMaEcv1wssWgemo OPkvk3xUTDbAM6G/wAiD0y8BYdttur6Idsi2+JDP/8/VnjhkL61pvfj3U+DZbS0Y/o UF4JPi562GnyvjD972aWEa8I6zOmyHhROM1NV0Wo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31439: dmaengine: xilinx: xdma: Fix regmap init error handling Date: Wed, 22 Apr 2026 15:53:45 +0200 Message-ID: <2026042243-CVE-2026-31439-b890@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=2633; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dJp1LaFnAg8TL9cBnv94S0nfGMcUqFGtu7JkdavrUqE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLr2Q0g71SzIzd/OW7Vg4ua9AZaNx3orT1ovUrzw4d H4yO8+2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI/xMMC06ktt4xVz6jukVi z5LuG/y2KUp8lxnmJ590C99yb+vJg3906m10rHifHn5aBQA= 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: xilinx: xdma: Fix regmap init error handling devm_regmap_init_mmio returns an ERR_PTR() upon error, not NULL. Fix the error check and also fix the error message. Use the error code from ERR_PTR() instead of the wrong value in ret. The Linux kernel CVE team has assigned CVE-2026-31439 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 17ce252266c7f016ece026492c45838f852ddc79 and fixed in 6.6.131 with commit 4b6e1da50b22e5528b9003f376a3cecccce4decc Issue introduced in 6.3 with commit 17ce252266c7f016ece026492c45838f852ddc79 and fixed in 6.12.80 with commit 9787b3d9b908785b40bc3f2e6d7082fdb8fdd98a Issue introduced in 6.3 with commit 17ce252266c7f016ece026492c45838f852ddc79 and fixed in 6.18.21 with commit f27197ccfd2ecd2c71f27fd57c6d507e892ad24d Issue introduced in 6.3 with commit 17ce252266c7f016ece026492c45838f852ddc79 and fixed in 6.19.11 with commit 59f6ccd0f3345be2e8a78bdef2103e93f180633a Issue introduced in 6.3 with commit 17ce252266c7f016ece026492c45838f852ddc79 and fixed in 7.0 with commit e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8 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-31439 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/xilinx/xdma.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/4b6e1da50b22e5528b9003f376a3cecccce4decc https://git.kernel.org/stable/c/9787b3d9b908785b40bc3f2e6d7082fdb8fdd98a https://git.kernel.org/stable/c/f27197ccfd2ecd2c71f27fd57c6d507e892ad24d https://git.kernel.org/stable/c/59f6ccd0f3345be2e8a78bdef2103e93f180633a https://git.kernel.org/stable/c/e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8