UBUNTU-CVE-2026-98940: Medium severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: lpass-cpu: use DAI table index for playback constraints The DAI ID is a hardware port ID and is not necessarily the index of the corresponding entry in variant->daidriver. When configuring a DAI with LPAIFI2SCTLMODEQUAD01, the probe code currently uses daiid to index variant->daidriver. This is incorrect for platforms where DAI IDs are sparse. For example, the IPQ806x MI2S DAI has ID 4 while it is the only entry in the DAI driver table. If that DAI is configured for QUAD01 and probe reaches this branch, the code writes beyond that single entry via daidriver[4] instead of updating the DAI being processed. Use the loop index i when updating the current DAI's playback channel constraints, while retaining daiid for indexing the hardware-port specific playback SD-line mode array. This fixes the incorrect DAI table access for platforms where the DAI ID does not match its position in the driver table.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the ASoC Qualcomm lpass-cpu probe code, use the loop index i—not dai_id—to index variant->dai_driver when updating the current DAI's playback channel constraints; retain dai_id for indexing the hardware-port-specific playback SD-line mode array.