Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 month, 1 week ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
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 products

Linux
  • =<6.1.*
  • <164dcbec9632ca93ae313e6da6e4e05584fa0f02
  • =<*
  • =<5.15.*
  • <d8cc3e747b002a8b965c529de79c0654675b9a1a
  • <05ef77f02607a3dc5d7f9762cb990f76843315d4
  • ==5.11
  • <5fe860af8630cf7c78523cbd68e5a234743585aa
  • =<6.18.*
  • =<6.6.*
  • =<6.12.*
  • =<7.0.*
  • <5.11
  • <f63ad68e18d774a5d15cd7e405ead63f6b322679
  • <2ff3ac6f7664fe5639cad01712ac5e021fa7939c
  • <6fb653b62f169f6050fac45b56bf21ad097e19f6