Skip to contentSkip to conversation

CVE-2026-99089: ASoC: samsung: i2s: enable op_clk in probe to balance runtime PM

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 26

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: samsung: i2s: enable op_clk in probe to balance runtime PM

The probe function puts the device into the runtime PM active state with only the "iis" bus clock enabled, but it also sets priv->op_clk to the parent of the RCLK_SRC mux without enabling it. The runtime PM suspend callback disables both clocks, so the first runtime suspend after probe disables op_clk once more than it was enabled.

On Exynos5250 Arndale both clocks resolve to the same EXYNOS_I2S_BUS gate, so this triggers the following warning during boot:

 WARNING: drivers/clk/clk.c:1270 at clk_core_disable+0xe4/0x23c, CPU#0: kworker/u8:3/45
 i2s_bus already disabled
 ...
 Workqueue: pm pm_runtime_work
 Call trace:
  ...
  clk_core_disable from clk_disable+0x28/0x34
  clk_disable from i2s_runtime_suspend+0x58/0x68 [snd_soc_i2s]
  i2s_runtime_suspend [snd_soc_i2s] from genpd_runtime_suspend+0xc4/0x298
  genpd_runtime_suspend from __rpm_callback+0x48/0x18c
  __rpm_callback from rpm_callback+0x4c/0x50
  rpm_callback from rpm_suspend+0xf4/0x718
  rpm_suspend from pm_runtime_work+0x9c/0xa0
  ...

Fix this by enabling op_clk in probe right after getting it, so the clock state matches the runtime PM active state, and by disabling it in remove.

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

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

	Issue introduced in 4.17 with commit 48279c53fd1d09dc0d1b6ebb9f21732c507cea0b and fixed in 6.6.160 with commit 2c64c30d493d82d5edc95811cede0083e1195822
	Issue introduced in 4.17 with commit 48279c53fd1d09dc0d1b6ebb9f21732c507cea0b and fixed in 6.12.113 with commit 5dac6bf09b5a4fff2433629801309c3884c3e94a
	Issue introduced in 4.17 with commit 48279c53fd1d09dc0d1b6ebb9f21732c507cea0b and fixed in 6.18.57 with commit 64bb35079dcbc67901da1fe8c52c234cbcd17df3
	Issue introduced in 4.17 with commit 48279c53fd1d09dc0d1b6ebb9f21732c507cea0b and fixed in 7.2.11 with commit a728c12f8bd89947894e227d0f4f83a895ac9ab7
	Issue introduced in 4.17 with commit 48279c53fd1d09dc0d1b6ebb9f21732c507cea0b and fixed in 7.3 with commit 7529254014764ae0b8c33d5c61a58f36c65b1a1c

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

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/samsung/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/2c64c30d493d82d5edc95811cede0083e1195822
	https://git.kernel.org/stable/c/5dac6bf09b5a4fff2433629801309c3884c3e94a
	https://git.kernel.org/stable/c/64bb35079dcbc67901da1fe8c52c234cbcd17df3
	https://git.kernel.org/stable/c/a728c12f8bd89947894e227d0f4f83a895ac9ab7
	https://git.kernel.org/stable/c/7529254014764ae0b8c33d5c61a58f36c65b1a1c