Back

HIGH

ASoC: codecs: simple-mux: Fix enum control bounds check

Published Jul 24, 2026

Description

simple_mux_control_put() rejects values greater than e->items, but enum control values are zero based. For the two-entry mux used by this driver, valid values are 0 and 1, so value 2 must be rejected as well.

Accepting e->items can store an invalid mux state, pass it to the GPIO setter, and pass it on to the DAPM mux update path where it is used as an index into the enum text array.

Use the same >= e->items check used by the ASoC enum helpers.

Affected products

Remediation

No remediation recorded yet.

References (13)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Jul 24, 2026
Updated Aug 5, 2026
Reserved Jul 19, 2026
NVD
Status Analyzed
Modified Aug 17, 2026
Red Hat
Severity Moderate
Public date Jul 24, 2026
ENISA EUVD
Assigner Linux
Published Jul 24, 2026
Updated Aug 5, 2026
Exploited since n/a
EUVD-2026-48652