ASoC: codecs: simple-mux: Fix enum control bounds check
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in 6fb653b62f169f6050fac45b56bf21ad097e19f6; From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in d8cc3e747b002a8b965c529de79c0654675b9a1a; From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in 5fe860af8630cf7c78523cbd68e5a234743585aa; From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in 2ff3ac6f7664fe5639cad01712ac5e021fa7939c; From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in 164dcbec9632ca93ae313e6da6e4e05584fa0f02; From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in 05ef77f02607a3dc5d7f9762cb990f76843315d4; From 342fbb7578d1741ff646d7b08e14e8753267b9fa · fixed in f63ad68e18d774a5d15cd7e405ead63f6b322679
- Linux Linux
5.11
- KernelLinux
From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.93; From 6.13.0 · fixed in 6.18.35; From 6.19.0 · fixed in 7.0.12
References 7
git.kernel.org
- stable/c/6fb653b62f169f6050fac45b56bf21ad097e19f6
- stable/c/d8cc3e747b002a8b965c529de79c0654675b9a1a
- stable/c/5fe860af8630cf7c78523cbd68e5a234743585aa
- stable/c/2ff3ac6f7664fe5639cad01712ac5e021fa7939c
- stable/c/164dcbec9632ca93ae313e6da6e4e05584fa0f02
- stable/c/05ef77f02607a3dc5d7f9762cb990f76843315d4
- stable/c/f63ad68e18d774a5d15cd7e405ead63f6b322679