Skip to contentSkip to conversation

CVE-2026-98093: ASoC: fsl_micfil: balance mclk enable/disable

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

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: fsl_micfil: balance mclk enable/disable

hw_params() enables mclk unconditionally and hw_free() disables it unconditionally, but the PCM core does not guarantee 1:1 pairing:
hw_free() can run without hw_params(), and hw_params() can be called multiple times from the SETUP state. This triggers an "already disabled" WARN() in the first case and leaks an enable reference in the second, leaving the clock ungateable.

Guard both sides with the existing mclk_flag, as fsl_sai.c does with mclk_streams.

The Linux kernel CVE team has assigned CVE-2026-98093 to this issue.

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

	Issue introduced in 6.13 with commit b47024dc624bcffb89d238f4a5b490363cea2a1e and fixed in 6.18.53 with commit 470db2026a435b79f7ecb4d65523ea16a99d55d8
	Issue introduced in 6.13 with commit b47024dc624bcffb89d238f4a5b490363cea2a1e and fixed in 7.2.7 with commit fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5
	Issue introduced in 6.13 with commit b47024dc624bcffb89d238f4a5b490363cea2a1e and fixed in 7.3-rc3 with commit d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56

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-2026-98093

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/fsl/fsl_micfil.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/470db2026a435b79f7ecb4d65523ea16a99d55d8
	https://git.kernel.org/stable/c/fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5
	https://git.kernel.org/stable/c/d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56