ASoC: codecs: simple-mux: Fix enum control bounds check (Linux Linux)

CVE-2026-64243
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: simple-mux: Fix enum control bounds check 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.

Weaknesses (CWE)

  • CWE-125 — Out-of-bounds Read
  • CWE-129 — Improper Validation of Array Index

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 342fbb7578d1741ff646d7b08e14e8753267b9fa < 6fb653b62f169f6050fac45b56bf21ad097e19f6 ; affected 342fbb7578d1741ff646d7b08e14e8753267b9fa < d8cc3e747b002a8b965c529de79c0654675b9a1a ; affected 342fbb7578d1741ff646d7b08e14e8753267b9fa < 5fe860af8630cf7c78523cbd68e5a234743585aa ; affected 342fbb7578d1741ff646d7b08e14e8753267b9fa < 2ff3ac6f7664fe5639cad01712ac5e021fa7939c ; affected 342fbb7578d1741ff646d7b08e14e8753267b9fa < 164dcbec9632ca93ae313e6da6e4e05584fa0f02 ; affected 342fbb7578d1741ff646d7b08e14e8753267b9fa < 05ef77f02607a3dc5d7f9762cb990f76843315d4
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.* ; unaffected 6.12.93 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD