CVE-2026-64243 PUBLISHED

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

Assigner: Linux
Reserved: 19.07.2026 Published: 24.07.2026 Updated: 24.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to 6fb653b62f169f6050fac45b56bf21ad097e19f6 (excl.)
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to d8cc3e747b002a8b965c529de79c0654675b9a1a (excl.)
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to 5fe860af8630cf7c78523cbd68e5a234743585aa (excl.)
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to 2ff3ac6f7664fe5639cad01712ac5e021fa7939c (excl.)
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to 164dcbec9632ca93ae313e6da6e4e05584fa0f02 (excl.)
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to 05ef77f02607a3dc5d7f9762cb990f76843315d4 (excl.)
  • affected from 342fbb7578d1741ff646d7b08e14e8753267b9fa to f63ad68e18d774a5d15cd7e405ead63f6b322679 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.11 is affected
  • unaffected from 0 to 5.11 (excl.)
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.93 to 6.12.* (incl.)
  • unaffected from 6.18.35 to 6.18.* (incl.)
  • unaffected from 7.0.12 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References