KernelScan.io

HIGH Introduced in 6.13

fsl_micfil Mclk Leak

CVE-2026-98093

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI3.3LOW

01

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.

02

Engine v0.6.0

Risk summary

A clock enable/disable imbalance in the NXP MICFIL audio driver allows a local user with audio device access to leak master clock enable references or trigger a kernel warning by exploiting the lack of 1:1 pairing guarantees between ALSA hw_params and hw_free callbacks. The leaked references leave the clock permanently enabled, degrading power management and audio subsystem reliability. This requires specific NXP hardware with the MICFIL peripheral.

Affectedsound/soc/fsl/fsl_micfil.c (ASoC NXP MICFIL driver)

Vulnerability analysis

The NXP MICFIL audio driver's hardware parameter setup callback unconditionally enables the master clock every time it is invoked, while the corresponding free callback disables it unconditionally. Because the ALSA PCM core does not guarantee these two calls are paired one-to-one, repeated setup calls accumulate unmatched clock enable references, leaving the clock permanently ungated and consuming power. Conversely, a free call without a prior setup call attempts to disable an already-disabled clock, triggering a kernel warning. The fix guards both the enable and disable paths with an existing flag so the clock is enabled at most once and disabled only if it was previously enabled, ensuring balanced reference counts regardless of the call sequence. This is reachable by any local user with access to the audio device on systems with NXP MICFIL hardware.

03

BranchIntroducedFixed inPatch commit
6.186.136.18.53470db2026a43
7.26.137.2.7fa1bbe353449
mainline6.137.3d3dbccfe6afa