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 AEAE03C0B for ; Wed, 19 Jun 2024 13:36:49 +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=1718804209; cv=none; b=kSoOn0a9tdiRuZzkGmSSBtUNtVjoi9S3hmeh19wLdg01cw8Ch8nvH5aCSet3+92bQX36pWJJW/IGrz6FUGOprR5aMT7NsUw2qEEKwHjWugtg6+YDAU1opse4nQ+5P3mvhP9Pux+gRNXtoS5qKJTvbzDpF+TuNaP0eHPBtTbpb8A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718804209; c=relaxed/simple; bh=L+l2RdYfyxpHYJUfbxADUJdxpN0j5EeY+GYL5fp/hBY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XTY5PkHtu6KdIZfH9KhUUsfq5MfDHCorNpylI6l3V6ck2PGZOeeIFZpmXMrW54tmqA4dZqAELmPx+KewiaHBxBbSqBvjKQMFGSj4TLW4dbvND8Es0o5oMDtVguhyomMSjvqc+coOo4R2/Ynm5qGv6TMtYGo9KhL/YT9hKsMNvY0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Cf21dnaF; 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="Cf21dnaF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 336FDC2BBFC; Wed, 19 Jun 2024 13:36:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718804209; bh=L+l2RdYfyxpHYJUfbxADUJdxpN0j5EeY+GYL5fp/hBY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Cf21dnaFRyYfEF/13K9aGHyu55NcVUrnXqaK8W/hHppy/52o85O0Zh3Yk/RPqPJ4G YvAKy8o0WQmqB+g6u/gudO55zXGpywfSCmG9IJJiwTmzVOuVN1BuI3zrDo7NIPhMVP TBm8h8Bd9XDHAL8YzxfbBIBhv3dkIRQCiXHYWcAo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38550: ASoC: kirkwood: Fix potential NULL dereference Date: Wed, 19 Jun 2024 15:35:59 +0200 Message-ID: <2024061950-CVE-2024-38550-a20b@gregkh> X-Mailer: git-send-email 2.45.2 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=2608; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=L+l2RdYfyxpHYJUfbxADUJdxpN0j5EeY+GYL5fp/hBY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlF97Z/WdTaFLKDu35uMbetr0Jl4u1ZFvdYZjMqHddYV cHVc9q6I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbi+Y1hNjubwOx36xbGzfQr fbKxrYrPNmviRYYFl360xXTvNS0UPOB27NeRL1uuNfwLAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: kirkwood: Fix potential NULL dereference In kirkwood_dma_hw_params() mv_mbus_dram_info() returns NULL if CONFIG_PLAT_ORION macro is not defined. Fix this bug by adding NULL check. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2024-38550 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit bb6a40fc5a83 and fixed in 5.15.161 with commit d48d0c5fd733 Issue introduced in 5.14 with commit bb6a40fc5a83 and fixed in 6.1.93 with commit de9987cec6fd Issue introduced in 5.14 with commit bb6a40fc5a83 and fixed in 6.6.33 with commit 1a7254525ca7 Issue introduced in 5.14 with commit bb6a40fc5a83 and fixed in 6.8.12 with commit 5bf5154739cd Issue introduced in 5.14 with commit bb6a40fc5a83 and fixed in 6.9.3 with commit 802b49e39da6 Issue introduced in 5.14 with commit bb6a40fc5a83 and fixed in 6.10-rc1 with commit ea60ab95723f Issue introduced in 5.13.12 with commit 145951900b76 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-2024-38550 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: sound/soc/kirkwood/kirkwood-dma.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/d48d0c5fd733bd6d8d3ddb2ed553777ab4724169 https://git.kernel.org/stable/c/de9987cec6fde1dd41dfcb971433e05945852489 https://git.kernel.org/stable/c/1a7254525ca7a6f3e37d7882d7f7ad97f6235f7c https://git.kernel.org/stable/c/5bf5154739cd676b6d0958079070557c8d96afb6 https://git.kernel.org/stable/c/802b49e39da669b54bd9b77dc3c649999a446bf6 https://git.kernel.org/stable/c/ea60ab95723f5738e7737b56dda95e6feefa5b50