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 A8C77157A59 for ; Mon, 29 Jul 2024 15:53:15 +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=1722268395; cv=none; b=He6zV5KleBNoFvAnHnW8spDjBDQ2fyWJdxk08vsgEB29SN6HwT6KxhInJ3OiTXiC5Or7Kc38uPPMrbVwCj+pIL6+w4/G4M1J1QeMjFJei2MSICrSA/rcP86oUrnV8CwvZmAuJfZooxEdora3MtPIRS/k5K2rNv/vAxCcZsJh72Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722268395; c=relaxed/simple; bh=6YwW44AKmEvVWw+vvVWjJoAuaDGhQeAOKq5jzJajtzc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=USwe9xnw+TM3eueT7hK5DKdfqfY/AzdLmRq8yeDoLwtXh+GlSJUXTzZ6Tq9AaDBJRTGKKsEGnWFFOxubpATIDHg9nSJ+1jvVYYWZkm4/606/JHNZPHClHildjuJJRPOj8tTJmjOYCf5BPq25r0QtSQ9eHwfAsGfwcKykpolMDVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OvA3jgTZ; 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="OvA3jgTZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3E4BC32786; Mon, 29 Jul 2024 15:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722268395; bh=6YwW44AKmEvVWw+vvVWjJoAuaDGhQeAOKq5jzJajtzc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OvA3jgTZGHKo/NCjNnoShYsZA0BGvEoNioiQt4H+Ao8OjwnLYqs70y4gEmXPRcMAp kSnXlX9K4V7UpbumWGh5GlD6fgmmLEyvYkapOnnMcjvtOGdQWLv78kT7N14oe/3r95 Rkd+SCAUn01lxsN1pxXbqm88PKjcjSucFgA0m7Fg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42074: ASoC: amd: acp: add a null check for chip_pdev structure Date: Mon, 29 Jul 2024 17:53:03 +0200 Message-ID: <2024072953-CVE-2024-42074-a913@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=2019; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6YwW44AKmEvVWw+vvVWjJoAuaDGhQeAOKq5jzJajtzc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLd13V4srju/2DuUmgYifrhTdzfq2/a/TmX3VFK//KO q0L3//wdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEwmsZ5lfHGS+pEH87u+X4 77rQL3MCfkWfq2FYsOt3RdXnST3PTumHSH6XnDHdxcrgJAA= 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: amd: acp: add a null check for chip_pdev structure When acp platform device creation is skipped, chip->chip_pdev value will remain NULL. Add NULL check for chip->chip_pdev structure in snd_acp_resume() function to avoid null pointer dereference. The Linux kernel CVE team has assigned CVE-2024-42074 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 088a40980efb and fixed in 6.6.37 with commit e158ed266fc1 Issue introduced in 6.6 with commit 088a40980efb and fixed in 6.9.8 with commit b0c39ae1cc86 Issue introduced in 6.6 with commit 088a40980efb and fixed in 6.10 with commit 98d919dfee1c 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-42074 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/amd/acp/acp-pci.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/e158ed266fc1adfa456880fb6dabce2e5623843b https://git.kernel.org/stable/c/b0c39ae1cc86afe74aa2f6273ccb514f8d180cf6 https://git.kernel.org/stable/c/98d919dfee1cc402ca29d45da642852d7c9a2301