ASoC: codecs: simple-mux: Fix enum control bounds check
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.210, Kernel 6.1.176, Kernel 6.18.35 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.210, >=5.16 <6.1.176, >=6.13 <6.18.35, >=6.19 <7.0.12, >=6.2 <6.6.143, >=6.7 <6.12.93, =7.1, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <164dcbec9632ca93ae313e6da6e4e05584fa0f02, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <2ff3ac6f7664fe5639cad01712ac5e021fa7939c, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <5fe860af8630cf7c78523cbd68e5a234743585aa, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <6fb653b62f169f6050fac45b56bf21ad097e19f6, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <d8cc3e747b002a8b965c529de79c0654675b9a1a, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <f63ad68e18d774a5d15cd7e405ead63f6b322679, =5.11, >=342fbb7578d1741ff646d7b08e14e8753267b9fa <05ef77f02607a3dc5d7f9762cb990f76843315d4 | 5.15.210, 6.1.176, 6.18.35, 7.0.12, 6.6.143, 6.12.93, 164dcbec9632ca93ae313e6da6e4e05584fa0f02, 2ff3ac6f7664fe5639cad01712ac5e021fa7939c, 5fe860af8630cf7c78523cbd68e5a234743585aa, 6fb653b62f169f6050fac45b56bf21ad097e19f6, d8cc3e747b002a8b965c529de79c0654675b9a1a, f63ad68e18d774a5d15cd7e405ead63f6b322679, 05ef77f02607a3dc5d7f9762cb990f76843315d4 |
| linux-kernel: Kernel | >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.35, >=6.19.0 <7.0.12, >=6.2.0 <6.6.143, >=6.7.0 <6.12.93 | 5.15.210, 6.1.176, 6.18.35, 7.0.12, 6.6.143, 6.12.93 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket