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 D2CAC2D5941 for ; Thu, 9 Oct 2025 09:48:04 +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=1760003284; cv=none; b=swQ+7xTLzetJjTda/omD72r5DNLkcLVDZmlIYRdYXAVR4fca9MEZpxmUtG+XqSdpBg96Odse+txyCOwHvaHFD6XSuEPpwqrqvLkfpPf8P+KyerLpKobzygtlETi8W8RyV3LNV87+HrheCpaudkaZKbIQ6MSQrROJAHTSSOnjSaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760003284; c=relaxed/simple; bh=tUHR7oV6pR1+SRXQieJ+23jJn+DSGrJ9/UWkKLrp6o4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Y1rw3O9VSJV5CvGBbin7Rd3oLPUsiegqmY9VRUndvzg0CL03x/y5ZS4n9ywzuZTIdlsYvWvAosFHWkIygbzrOJ5PGNig4JTxspDstlGSyjRqwiKyVZGH5ZD5hbCdAHEpwnCVnoNvovf9CH7CIOalNqHTh7G+6IKF/O5LEHPP67U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qG3CT0k/; 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="qG3CT0k/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3F01C4CEE7; Thu, 9 Oct 2025 09:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760003284; bh=tUHR7oV6pR1+SRXQieJ+23jJn+DSGrJ9/UWkKLrp6o4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qG3CT0k/9I7oGZMFueE6Wejxyr1Ql1XuKieEScLBOrtJMzdk0oxSzMm7XTb/zQ5rG wa68MDIafsJrZPJQRtmxVXy8ZaHdbTSW7wddX3guTs2Ued1QtLEkKZEh4yKvmgDpSW RWexXxOHKmNBgo7Z8vi3cZ0/N5CnD9p5zlWSJwa8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39959: ASoC: amd: acp: Fix incorrect retrival of acp_chip_info Date: Thu, 9 Oct 2025 11:47:45 +0200 Message-ID: <2025100943-CVE-2025-39959-ed09@gregkh> X-Mailer: git-send-email 2.51.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=2330; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BUU9fOQoyCOFyProYO1tyb6hcOD1revaLJBzRxMCiI0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnPW/ZPLv3oHSBzmnufleTEit+KkTK+F6xeNS092Wz9T 28Jb69XRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEUY9hnm3MivMT6r8u0bww L/xYn5NdTnz3OYYF54xspOy4o9p1xI/MXH7XeUvb9ZLLAA== 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: ASoC: amd: acp: Fix incorrect retrival of acp_chip_info Use dev_get_drvdata(dev->parent) instead of dev_get_platdata(dev) to correctly obtain acp_chip_info members in the acp I2S driver. Previously, some members were not updated properly due to incorrect data access, which could potentially lead to null pointer dereferences. This issue was missed in the earlier commit ("ASoC: amd: acp: Fix NULL pointer deref in acp_i2s_set_tdm_slot"), which only addressed set_tdm_slot(). This change ensures that all relevant functions correctly retrieve acp_chip_info, preventing further null pointer dereference issues. The Linux kernel CVE team has assigned CVE-2025-39959 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit e3933683b25e2cc94485da4909e3338e1a177b39 and fixed in 6.16.9 with commit 65c5cfbd6d938f77a0df3c34855a4f7d8a61fd10 Issue introduced in 6.15 with commit e3933683b25e2cc94485da4909e3338e1a177b39 and fixed in 6.17 with commit d7871f400cad1da376f1d7724209a1c49226c456 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-2025-39959 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-i2s.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/65c5cfbd6d938f77a0df3c34855a4f7d8a61fd10 https://git.kernel.org/stable/c/d7871f400cad1da376f1d7724209a1c49226c456