Linux
ASoC: codecs: simple-mux: Fix enum control bounds check
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < 6fb653b62f169f6050fac45b56bf21ad097e19f6
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < d8cc3e747b002a8b965c529de79c0654675b9a1a
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < 5fe860af8630cf7c78523cbd68e5a234743585aa
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < 2ff3ac6f7664fe5639cad01712ac5e021fa7939c
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < 164dcbec9632ca93ae313e6da6e4e05584fa0f02
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < 05ef77f02607a3dc5d7f9762cb990f76843315d4
- >= 342fbb7578d1741ff646d7b08e14e8753267b9fa, < f63ad68e18d774a5d15cd7e405ead63f6b322679
Fixed in 6fb653b62f169f6050fac45b56bf21ad097e19f6, d8cc3e747b002a8b965c529de79c0654675b9a1a, 5fe860af8630cf7c78523cbd68e5a234743585aa, 2ff3ac6f7664fe5639cad01712ac5e021fa7939c, 164dcbec9632ca93ae313e6da6e4e05584fa0f02, 05ef77f02607a3dc5d7f9762cb990f76843315d4, f63ad68e18d774a5d15cd7e405ead63f6b322679
- 5.11
Fixed in 0, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to 6fb653b62f169f6050fac45b56bf21ad097e19f6 or d8cc3e747b002a8b965c529de79c0654675b9a1a or 5fe860af8630cf7c78523cbd68e5a234743585aa or 2ff3ac6f7664fe5639cad01712ac5e021fa7939c or 164dcbec9632ca93ae313e6da6e4e05584fa0f02 or 05ef77f02607a3dc5d7f9762cb990f76843315d4 or f63ad68e18d774a5d15cd7e405ead63f6b322679 or later.
Upgrade Linux to 0 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.