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 211C027E7EF for ; Wed, 18 Jun 2025 11:05:48 +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=1750244748; cv=none; b=AYocN6d47/B+q2kMf38yordR3E31CwHb2Xn3CixM+jO4Q9wfLJA2Eu687os57R95uzVbkw3s2IuuCIbpHZMVXEHDl1sF02RcQM78YBsELm2jErZdsFaW94FXhpQh/99Cun39elX0hPD4GJvz1UaGIdE1S94QYdqFQ5ycVlRLPn0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244748; c=relaxed/simple; bh=Vtuyfj8jc99peOZiC6+JLCKt+3ZiEeB/f7mtcve/mfA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t2QcypyhYSBlb4N17T/j4jSY1nUjSj4wff3mHMbWnpnOzQ8yIBKjE8jsg72deo/asCUrHNfwA9KD/kS7feCX0fjqHRGN/EsJN/cT2MuvSajIfX0+qAqczAVgMVwK1KkMQ4UtLEBXZkdD3UF3EYqWQF3cPq6XlqJlerhF+BeKw0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OtTBc/Oy; 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="OtTBc/Oy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E2A9C4CEED; Wed, 18 Jun 2025 11:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244748; bh=Vtuyfj8jc99peOZiC6+JLCKt+3ZiEeB/f7mtcve/mfA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OtTBc/OyUULVZejvztTSJosCvctGMY6PIpGtycXPZ4NngXueP5itl7YlpVItMwprT Qhr2C2xMUkmq7FJIyDRVDF57ftVDbCQD1gHpQV/DY4TVIlxSj4jid8vsXMkr2R/mHL Fpmf+NSr7NK1KUfmIHSJB4JfWR4M2FCej/4Wb+Sk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50023: dmaengine: dw-axi-dmac: ignore interrupt if no descriptor Date: Wed, 18 Jun 2025 13:01:28 +0200 Message-ID: <2025061836-CVE-2022-50023-1d2a@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1972; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o+8cDk5WOz2TLkwLL8Cy9JPmCxpiFWvAFEr7Px0jMMM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc0KuZrRf37Z7hqbb48qwvX4f1F3jpodfkHewf2VgI rHkZdu2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI1F6GBZsFX+cbGTxdxOQd 35z9JKz0mcLdzQzzo09snbI2hyU24arrVNU6Bqunhv9MAA== 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: dw-axi-dmac: ignore interrupt if no descriptor If the channel has no descriptor and the interrupt is raised then the kernel will OOPS. Check the result of vchan_next_desc() in the handler axi_chan_block_xfer_complete() to avoid the error happening. The Linux kernel CVE team has assigned CVE-2022-50023 to this issue. Affected and fixed versions =========================== Fixed in 5.15.63 with commit 54aa6c49361b79f7f6b15fc63dfe9ea52c70bb03 Fixed in 5.19.4 with commit 3d05aeebbde8c69593d8aa512b7c08b8f0ad25ba Fixed in 6.0 with commit 820f5ce999d2f99961e88c16d65cd26764df0590 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-2022-50023 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/dw-axi-dmac/dw-axi-dmac-platform.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/54aa6c49361b79f7f6b15fc63dfe9ea52c70bb03 https://git.kernel.org/stable/c/3d05aeebbde8c69593d8aa512b7c08b8f0ad25ba https://git.kernel.org/stable/c/820f5ce999d2f99961e88c16d65cd26764df0590