{"id":"CVE-2026-99182","state":"PUBLISHED","title":"ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture\n\nWhen ch_count is smaller than blob->alh_cfg.device_count (e.g. a mono\ncapture stream, such as a SmartMic, aggregated across multiple SDW\nlinks), step = ch_count / blob->alh_cfg.device_count truncates to 0.\nThe subsequent GENMASK(step - 1, 0) then underflows step - 1 (u32) to\nUINT_MAX, causing GENMASK()'s internal shift to use an out-of-bounds\nexponent:\n\n  UBSAN: shift-out-of-bounds in sound/soc/sof/ipc4-topology.c:2363:13\n  shift exponent 18446744069414584384 is too large for 64-bit type 'long unsigned int'\n\nTreat ch_count < device_count the same way as the existing \"channels\nequal to output reference channels\" case: apply the same ch_mask to\nevery aggregated device instead of trying to split channels that\ncan't be evenly divided.","publishedAt":"2026-10-28T10:35:35.193Z","updatedAt":"2026-10-30T12:42:45.813Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"ef9342fa7433643f54de19b980e2aac0fae7201c","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"a92dee3a2a5e1ef05d13731b2f5e2eb9a3125e4e","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"cad63a7798d6a6cac1fc68732595f0a3278ff6f0","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"5e1322787c5e424a570e87c8c2c25e37552cbe3b","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"746de48c3a250f0c264105dcbfcdf0c5001e970b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc4-topology.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.161","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.115","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc4-topology.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-30T13:02:04.640Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99182.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99182","state":"PUBLISHED","datePublished":"2026-10-28T10:35:35.193Z","dateUpdated":"2026-10-30T12:42:45.813Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.399Z"},"containers":{"cna":{"title":"ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture\n\nWhen ch_count is smaller than blob->alh_cfg.device_count (e.g. a mono\ncapture stream, such as a SmartMic, aggregated across multiple SDW\nlinks), step = ch_count / blob->alh_cfg.device_count truncates to 0.\nThe subsequent GENMASK(step - 1, 0) then underflows step - 1 (u32) to\nUINT_MAX, causing GENMASK()'s internal shift to use an out-of-bounds\nexponent:\n\n  UBSAN: shift-out-of-bounds in sound/soc/sof/ipc4-topology.c:2363:13\n  shift exponent 18446744069414584384 is too large for 64-bit type 'long unsigned int'\n\nTreat ch_count < device_count the same way as the existing \"channels\nequal to output reference channels\" case: apply the same ch_mask to\nevery aggregated device instead of trying to split channels that\ncan't be evenly divided."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"ef9342fa7433643f54de19b980e2aac0fae7201c","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"a92dee3a2a5e1ef05d13731b2f5e2eb9a3125e4e","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"cad63a7798d6a6cac1fc68732595f0a3278ff6f0","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"5e1322787c5e424a570e87c8c2c25e37552cbe3b","versionType":"git"},{"version":"0390a102cc18cb7456d6c1f15ac51f1af90fcf9c","status":"affected","lessThan":"746de48c3a250f0c264105dcbfcdf0c5001e970b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc4-topology.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.161","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.115","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc4-topology.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ef9342fa7433643f54de19b980e2aac0fae7201c"},{"url":"https://git.kernel.org/stable/c/a92dee3a2a5e1ef05d13731b2f5e2eb9a3125e4e"},{"url":"https://git.kernel.org/stable/c/cad63a7798d6a6cac1fc68732595f0a3278ff6f0"},{"url":"https://git.kernel.org/stable/c/5e1322787c5e424a570e87c8c2c25e37552cbe3b"},{"url":"https://git.kernel.org/stable/c/746de48c3a250f0c264105dcbfcdf0c5001e970b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:42:45.813Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.161"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.2.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}