CVE-2026-99182

ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture

Published Oct 28, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture

When ch_count is smaller than blob->alh_cfg.device_count (e.g. a mono
capture stream, such as a SmartMic, aggregated across multiple SDW
links), step = ch_count / blob->alh_cfg.device_count truncates to 0.
The subsequent GENMASK(step - 1, 0) then underflows step - 1 (u32) to
UINT_MAX, causing GENMASK()'s internal shift to use an out-of-bounds
exponent:

UBSAN: shift-out-of-bounds in sound/soc/sof/ipc4-topology.c:2363:13
shift exponent 18446744069414584384 is too large for 64-bit type 'long unsigned int'

Treat ch_count < device_count the same way as the existing "channels
equal to output reference channels" case: apply the same ch_mask to
every aggregated device instead of trying to split channels that
can't be evenly divided.

Analysis

AI-generated

Technical impact

The vulnerability resides in the ASoC Sound Open Firmware (SOF) IPC4 topology handling of the Linux kernel. When a capture stream has fewer channels than the number of aggregated devices, the calculation of the channel mask yields zero. This zero value causes an underflow in the GENMASK macro, which results in a shift‑out‑of‑bounds condition that triggers undefined behaviour in the kernel, potentially leading to a crash or corruption of memory within the audio driver. The flaw involves a shift error and an integer overflow.

Affected Systems

All Linux kernel releases that contain the ASoC SOF IPC4 topology source before the commit that introduces the fix are vulnerable. The patch is upstreamed in commit 5e1322787c5e424a570e87c8c2c25e37552cbe3b and will appear in kernel releases after that commit. Systems running custom or vendor‑specific kernels that have not incorporated this change remain at risk.

Risk and Exploitability

The CVSS score of 5.5 denotes moderate severity, while the EPSS score of less than 1% reflects a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog and no public exploits are available. Exploitation would require that the vulnerable code path be reached, for example by initiating an aggregated mono audio capture stream spanning multiple devices. No explicit privilege level or remote attack surface is described in the advisory, so the exact attack vector is uncertain based on the data provided.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commit 5e1322787c5e424a570e87c8c2c25e37552cbe3b or later.
  • If an upgrade cannot be performed immediately, avoid initiating aggregated mono capture streams across multiple devices until the kernel fix is applied.
  • Monitor kernel logs and crash dumps for UBSAN messages from sound/soc/sof/ipc4-topology.c and apply the patch as soon as it becomes available.

Generated by OpenCVE AI on October 29, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
History
Type Values Removed Values Added
Weaknesses CWE-190
CWE-193
Type Values Removed Values Added
Weaknesses CWE-1335
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-190
CWE-193
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture When ch_count is smaller than blob->alh_cfg.device_count (e.g. a mono capture stream, such as a SmartMic, aggregated across multiple SDW links), step = ch_count / blob->alh_cfg.device_count truncates to 0. The subsequent GENMASK(step - 1, 0) then underflows step - 1 (u32) to UINT_MAX, causing GENMASK()'s internal shift to use an out-of-bounds exponent: UBSAN: shift-out-of-bounds in sound/soc/sof/ipc4-topology.c:2363:13 shift exponent 18446744069414584384 is too large for 64-bit type 'long unsigned int' Treat ch_count < device_count the same way as the existing "channels equal to output reference channels" case: apply the same ch_mask to every aggregated device instead of trying to split channels that can't be evenly divided.
Title ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-1335

    Incorrect Bitwise Shift of Integer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 28, 2026, 12:00 AM