Skip to contentSkip to conversation

CVE-2026-46179: ASoC: SOF: Don't allow pointer operations on unconfigured streams

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

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: SOF: Don't allow pointer operations on unconfigured streams

When reporting the pointer for a compressed stream we report the current I/O frame position by dividing the position by the number of channels multiplied by the number of container bytes. These values default to 0 and are only configured as part of setting the stream parameters so this allows a divide by zero to be configured. Validate that they are non zero, returning an error if not

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

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

	Issue introduced in 6.1 with commit c1a731c71359407eae4fd0a5fd675ef25a582764 and fixed in 6.6.140 with commit 327a64241f30c74b6f35537eb9e1fc6c3cbe060b
	Issue introduced in 6.1 with commit c1a731c71359407eae4fd0a5fd675ef25a582764 and fixed in 6.12.88 with commit 98ed1383f597f8a45b6cb816bb20b96d46eeceda
	Issue introduced in 6.1 with commit c1a731c71359407eae4fd0a5fd675ef25a582764 and fixed in 6.18.30 with commit 0f0c0c1397a42aacaacae828206ee1b921623952
	Issue introduced in 6.1 with commit c1a731c71359407eae4fd0a5fd675ef25a582764 and fixed in 7.0.7 with commit 4f42dd01f5217465f23a763e27b3984e114d0972
	Issue introduced in 6.1 with commit c1a731c71359407eae4fd0a5fd675ef25a582764 and fixed in 7.1-rc1 with commit c5b6285aae050ff1c3ea824ca3d88ac4be1e69c8

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

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/sof/compress.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/327a64241f30c74b6f35537eb9e1fc6c3cbe060b
	https://git.kernel.org/stable/c/98ed1383f597f8a45b6cb816bb20b96d46eeceda
	https://git.kernel.org/stable/c/0f0c0c1397a42aacaacae828206ee1b921623952
	https://git.kernel.org/stable/c/4f42dd01f5217465f23a763e27b3984e114d0972
	https://git.kernel.org/stable/c/c5b6285aae050ff1c3ea824ca3d88ac4be1e69c8