CVE-2026-80583

ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses

Published Aug 26, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses

The "DEC0 MODE" to "DEC7 MODE" controls are enumerated, but
tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their
value through ucontrol->value.integer.value[0] (a long) instead of
ucontrol->value.enumerated.item[0] (an unsigned int).

This same pattern was fixed in the sibling drivers by
commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array
out of bounds for enum type") and
commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array
out of bounds for enum type"), but tx-macro was missed.

On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value
sanity check catches the 4 bytes written past the enumerated item
and every read of these controls fails with -EINVAL:

snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow

Analysis

AI-generated

Technical impact

In the Linux kernel ALSA ASoC driver for the lpass‑tx‑macro codec, the control values for DEC0 MODE through DEC7 MODE are accessed through the wrong data member: ucontrol->value.integer.value[0] (a long) instead of the proper ucontrol->value.enumerated.item[0] (an unsigned int). This mismatch causes an out‑of‑bounds write on 64‑bit kernels built with CONFIG_SND_CTL_DEBUG, forcing every subsequent read of these controls to fail with a -EINVAL error. The invalid memory write corrupts the expected enumeration access, preventing the sound controls from functioning correctly.

Affected Systems

All Linux kernel releases that contain the lpass‑tx‑macro ASoC driver before the commit 1ba381759e45d5d0442452cfa5c42e836191a568 are vulnerable. The issue is limited to 64‑bit builds configured with CONFIG_SND_CTL_DEBUG and becomes apparent when the affected sound controls are queried. Any distribution shipping an older kernel with this driver and configuration is impacted until the kernel is patched.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating a modest level of publicly known exploitation. The bug manifests on 64‑bit kernels compiled with CONFIG_SND_CTL_DEBUG when the affected DEC0 MODE through DEC7 MODE controls are queried. The incorrect access writes past the end of the enumerated item array, causing the kernel’s sanity check to reject subsequent reads for these controls with an -EINVAL error. Consequently, the affected sound controls become unusable, effectively denying sound functionality for any user or process that requires them. The issue is local to systems that ship an older kernel with the lpass‑tx‑macro ASoC driver and the debug configuration enabled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that includes commit 1ba381759e45d5d0442452cfa5c42e836191a568, ensuring the lpass‑tx‑macro driver accesses the correct enumerated field.
  • If the codec is not required, disable the lpass‑tx‑macro driver or remove the associated hardware to eliminate the exposure.
  • Limit access to ALSA sound controls by configuring udev rules or other access controls so that only privileged users or system services can manipulate them.

Generated by OpenCVE AI on August 27, 2026 at 09:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6477-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses The "DEC0 MODE" to "DEC7 MODE" controls are enumerated, but tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their value through ucontrol->value.integer.value[0] (a long) instead of ucontrol->value.enumerated.item[0] (an unsigned int). This same pattern was fixed in the sibling drivers by commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type") and commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array out of bounds for enum type"), but tx-macro was missed. On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value sanity check catches the 4 bytes written past the enumerated item and every read of these controls fails with -EINVAL: snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow
Title ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 27, 2026, 12:40 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Aug 27, 2026, 1:18 PM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM