ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/ef9342fa7433643f54de19b980e2aac0fae7201c
- https://git.kernel.org/stable/c/a92dee3a2a5e1ef05d13731b2f5e2eb9a3125e4e
- https://git.kernel.org/stable/c/cad63a7798d6a6cac1fc68732595f0a3278ff6f0
- https://git.kernel.org/stable/c/5e1322787c5e424a570e87c8c2c25e37552cbe3b
- https://git.kernel.org/stable/c/746de48c3a250f0c264105dcbfcdf0c5001e970b
European references
- ENISA EUVD · EUVD-2026-111934
- GCVE · GCVE-0-2026-99182
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c < ef9342fa7433643f54de19b980e2aac0fae7201c affected : ≥ 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c < a92dee3a2a5e1ef05d13731b2f5e2eb9a3125e4e affected : ≥ 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c < cad63a7798d6a6cac1fc68732595f0a3278ff6f0 affected : ≥ 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c < 5e1322787c5e424a570e87c8c2c25e37552cbe3b affected : ≥ 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c < 746de48c3a250f0c264105dcbfcdf0c5001e970b Other versions : unaffected |
| Linux · Linux | affected : 6.3 unaffected : ≥ 0 < 6.3 unaffected : ≥ 6.6.161 ≤ 6.6.* unaffected : ≥ 6.12.115 ≤ 6.12.* unaffected : ≥ 6.18.59 ≤ 6.18.* unaffected : ≥ 7.2.13 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |