Skip to contentSkip to conversation

CVE-2025-39959: ASoC: amd: acp: Fix incorrect retrival of acp_chip_info

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 9, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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