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 57862288C0D for ; Wed, 18 Jun 2025 11:05:51 +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=1750244751; cv=none; b=Xq1iYuHTcCdXNWAQtXBRv2pi/r5XMH+rXtNGCsrevWj1PJ/S9zSkvysVfwNlEkMqqqquxKnZEnzIAcdPDjqmnhCfegwj1fGy+1SSSKLmlTQauOXzIU2yD+6DAiLih0YSzOZTTjfjkpG1iYykKEzMAmK/m8EV2q2NBXWiyP+VlHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244751; c=relaxed/simple; bh=u2BMG8OPKu92ZpL4fCHJG5FGLEmXBXd/wAbh5HpOuso=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E0EUOmazWFJ3dxO9/SyGOu1ElvuGK7SVc/m6SwSPfBpz2lr7gxjcQjUYQrYblcoIZT2CtGAyAicjkXd6sK7nHCHZOLc+XgfDTFH/6UCpgxPvuISp4fnkwK72q4Uyhlt6ROOOzJlrk8DOR9zIzz2V63Tvc0lCvFVaTa3mu5YGwqg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tcP/IyTe; 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="tcP/IyTe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C14C4CEE7; Wed, 18 Jun 2025 11:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244751; bh=u2BMG8OPKu92ZpL4fCHJG5FGLEmXBXd/wAbh5HpOuso=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tcP/IyTetX+ilUQJQpisfC+fIF6jQj2aMhGmTBayDiu5245bdk5kambhVCguXfsKK g1MLvDysAWgnlJK63tuokZBwto7XihJrWEDtTYE5/Brpgo6O5fJkytmMU1sh+RcqtV 4Z/9lj4KqM2k/nEma38q6oxAc6EQ7rRqAdAFYeoU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50024: dmaengine: dw-axi-dmac: do not print NULL LLI during error Date: Wed, 18 Jun 2025 13:01:29 +0200 Message-ID: <2025061836-CVE-2022-50024-d57b@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=1979; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4wv+UHwQDK7tkEyIzNC91scJmWuTsbMXkg/8ZpKR/eE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc0LOahl06p6d7sf9veXZ+jbGd6zpvKLWN50/dHOqB i94kXC5I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSJ8Mwz3qdqcCMWZ1Ry5v5 0qdEdN1P+h2ZxjBPz6TB5c4Jo0XWeXdubrc+P8mT+dR0AA== 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: do not print NULL LLI during error During debugging we have seen an issue where axi_chan_dump_lli() is passed a NULL LLI pointer which ends up causing an OOPS due to trying to get fields from it. Simply print NULL LLI and exit to avoid this. The Linux kernel CVE team has assigned CVE-2022-50024 to this issue. Affected and fixed versions =========================== Fixed in 5.15.63 with commit af76e6fdcf92f1a742b788d0dba5edd194267bf9 Fixed in 5.19.4 with commit ad764df73ae5eada265fffc0408404703cbb2b8d Fixed in 6.0 with commit 86cb0defe0e275453bc39e856bb523eb425a6537 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-50024 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/af76e6fdcf92f1a742b788d0dba5edd194267bf9 https://git.kernel.org/stable/c/ad764df73ae5eada265fffc0408404703cbb2b8d https://git.kernel.org/stable/c/86cb0defe0e275453bc39e856bb523eb425a6537