Skip to contentSkip to conversation

CVE-2025-39696: ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 5, 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:

ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv

During the conversion to unify the calibration data management, the reference to tasdevice_priv was wrongly set to h->hda_priv instead of h->priv. This resulted in memory corruption and crashes eventually. Unfortunately it's a void pointer, hence the compiler couldn't know that it's wrong.

The Linux kernel CVE team has assigned CVE-2025-39696 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.16 with commit 4fe238513407d83f38bf5782e8bcdd7b8baeb85d and fixed in 6.16.4 with commit 2812815aa79637d39d4398ecd7e58f65d1c79231
	Issue introduced in 6.16 with commit 4fe238513407d83f38bf5782e8bcdd7b8baeb85d and fixed in 6.17-rc3 with commit 3f4422e7c9436abf81a00270be7e4d6d3760ec0e

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-39696

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/hda/codecs/side-codecs/tas2781_hda_i2c.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/2812815aa79637d39d4398ecd7e58f65d1c79231
	https://git.kernel.org/stable/c/3f4422e7c9436abf81a00270be7e4d6d3760ec0e