All reports
Low

kernel: ASoC: amd: acp: Fix incorrect retrival of acp_chip_info

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-39959

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel’s ASoC AMD ACP I2S driver (sound/soc/amd/acp/acp-i2s.c). Some functions used the wrong helper to obtain the device’s ACP chip information, which left certain acp_chip_info members unset and could result in a NULL pointer dereference in acp_i2s_set_fmt(), acp_i2s_hw_params(), acp_i2s_trigger() and acp_i2s_startup(). A local attacker with access to the audio device interface could cause a denial-of-service (kernel crash)