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 3 weeks, 3 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
ASoC: fsl: fsl_audmix: Validate written enum values

In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl: fsl_audmix: Validate written enum values fsl_audmix_put_mix_clk_src() and fsl_audmix_put_out_src() convert the user-provided enum item with snd_soc_enum_item_to_val() before checking whether the item is within the enum's item count. The generic snd_soc_put_enum_double() helper performs that validation, but these callbacks use the converted value first: the clock-source path tests it with BIT(), and the output-source path indexes the prms transition table with it. Reject out-of-range enum items before converting them.

Affected products

Linux
  • ==5.2
  • =<5.10.*
  • =<6.6.*
  • =<*
  • <5b7a23c1ed04e794ef3b31e452ef5c93e1e34b4a
  • <b4774a7da12b14fc37219ab4368d1907f9b5aca4
  • <8fb4364eb494b926d009bfaf3c98f07c3aa5d9f3
  • <5.2
  • <7513831b90a38d55fa089e3e1b49691e467afee6
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • =<5.15.*
  • <b36d6d48faa6b1bb723b8f4e527c531a1a68520e
  • <0f1510e84d7bfc3eb9538efa65c6ea0aadf1078c
  • <0b10c6203e62d9e7337cc401568b201f9bac79ec
  • <3cd17e4e2871114d5579fa7bc8da66faf7fc1930
  • =<6.1.*