Description
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->dai_driver.

When configuring a DAI with LPAIF_I2SCTL_MODE_QUAD01, the probe code
currently uses dai_id to index variant->dai_driver. 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 dai_driver[4] instead of
updating the DAI being processed.

Use the loop index i when updating the current DAI's playback channel
constraints, while retaining dai_id 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.
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Memory corruption from out‑of‑bounds array write
Action: Patch Now
AI Analysis

Impact

A bug in the Linux kernel’s ASoC qcom lpass‑cpu driver uses the DAI (digital audio interface) ID as an array index when configuring playback constraints for the QUAD01 mode. Since the DAI ID is a hardware port identifier, it may not match the array position, causing the code to write beyond the bounds of the dai_driver table. This out‑of‑bounds write can corrupt kernel memory, potentially leading to a crash or, in the worst case, kernel code execution.

Affected Systems

All Linux kernel builds that include the ASoC qcom lpass‑cpu driver and run on platforms with sparse DAI IDs, for example IPQ806x MI2S devices. The vulnerability is triggered when the hardware is configured for LPAIF_I2SCTL_MODE_QUAD01 and the probe path uses the incorrect index.

Risk and Exploitability

The vulnerability results in a kernel memory corruption condition. No publicly disclosed exploits exist and the EPSS score is not available, but the lack of bounds checking gives the flaw high severity. The issue is not listed in the CISA KEV catalog, yet any system that loads the affected kernel can be compromised if the flaw is triggered. The attack vector is a local kernel‑level fault that arises from normal driver initialization; it does not require external network exposure.

Generated by OpenCVE AI on October 23, 2026 at 17:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch from the commits referenced in the advisory, rebuilding or installing the updated kernel.
  • Reboot the system to load the patched kernel and ensure the fix takes effect.
  • If an updated kernel cannot be applied immediately, temporarily disable the QUAD01 configuration for the MI2S DAI to prevent the out‑of‑bounds write.

Generated by OpenCVE AI on October 23, 2026 at 17:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-788

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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->dai_driver. When configuring a DAI with LPAIF_I2SCTL_MODE_QUAD01, the probe code currently uses dai_id to index variant->dai_driver. 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 dai_driver[4] instead of updating the DAI being processed. Use the loop index i when updating the current DAI's playback channel constraints, while retaining dai_id 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.
Title ASoC: qcom: lpass-cpu: use DAI table index for playback constraints
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:12:08.487Z

Reserved: 2026-09-25T10:25:14.381Z

Link: CVE-2026-98940

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:14.960

Modified: 2026-10-23T13:17:14.960

Link: CVE-2026-98940

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T17:30:17Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-788

    Access of Memory Location After End of Buffer