ASoC: codecs: simple-mux: Fix enum control bounds check
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 7.1epss 0.2%
probabilidad de explotación
0.2%top 94% de las CVE
explotación observada
noninguna fuente lo reporta
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/05ef77f02607a3dc5d7f9762cb990f76843315d4https://git.kernel.org/stable/c/164dcbec9632ca93ae313e6da6e4e05584fa0f02https://git.kernel.org/stable/c/2ff3ac6f7664fe5639cad01712ac5e021fa7939chttps://git.kernel.org/stable/c/5fe860af8630cf7c78523cbd68e5a234743585aahttps://git.kernel.org/stable/c/6fb653b62f169f6050fac45b56bf21ad097e19f6https://git.kernel.org/stable/c/d8cc3e747b002a8b965c529de79c0654675b9a1ahttps://git.kernel.org/stable/c/f63ad68e18d774a5d15cd7e405ead63f6b322679