Description
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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
be1df61cf06efb355c90702e46b8d46f055acb4e to < 7513831b90a38d55fa089e3e1b49691e467afee6affectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < b4774a7da12b14fc37219ab4368d1907f9b5aca4affectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < 8fb4364eb494b926d009bfaf3c98f07c3aa5d9f3affectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < 0b10c6203e62d9e7337cc401568b201f9bac79ecaffectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < b36d6d48faa6b1bb723b8f4e527c531a1a68520eaffectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < 0f1510e84d7bfc3eb9538efa65c6ea0aadf1078caffectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < 5b7a23c1ed04e794ef3b31e452ef5c93e1e34b4aaffectedbe1df61cf06efb355c90702e46b8d46f055acb4e to < 3cd17e4e2871114d5579fa7bc8da66faf7fc1930affected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7513831b90a38d55fa089e3e1b49691e467afee6 ↗
- https://git.kernel.org/stable/c/b4774a7da12b14fc37219ab4368d1907f9b5aca4 ↗
- https://git.kernel.org/stable/c/8fb4364eb494b926d009bfaf3c98f07c3aa5d9f3 ↗
- https://git.kernel.org/stable/c/0b10c6203e62d9e7337cc401568b201f9bac79ec ↗
- https://git.kernel.org/stable/c/b36d6d48faa6b1bb723b8f4e527c531a1a68520e ↗
- https://git.kernel.org/stable/c/0f1510e84d7bfc3eb9538efa65c6ea0aadf1078c ↗
- https://git.kernel.org/stable/c/5b7a23c1ed04e794ef3b31e452ef5c93e1e34b4a ↗
- https://git.kernel.org/stable/c/3cd17e4e2871114d5579fa7bc8da66faf7fc1930 ↗