Linux
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < 7513831b90a38d55fa089e3e1b49691e467afee6
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < b4774a7da12b14fc37219ab4368d1907f9b5aca4
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < 8fb4364eb494b926d009bfaf3c98f07c3aa5d9f3
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < 0b10c6203e62d9e7337cc401568b201f9bac79ec
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < b36d6d48faa6b1bb723b8f4e527c531a1a68520e
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < 0f1510e84d7bfc3eb9538efa65c6ea0aadf1078c
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < 5b7a23c1ed04e794ef3b31e452ef5c93e1e34b4a
- >= be1df61cf06efb355c90702e46b8d46f055acb4e, < 3cd17e4e2871114d5579fa7bc8da66faf7fc1930
Fixed in 7513831b90a38d55fa089e3e1b49691e467afee6, b4774a7da12b14fc37219ab4368d1907f9b5aca4, 8fb4364eb494b926d009bfaf3c98f07c3aa5d9f3, 0b10c6203e62d9e7337cc401568b201f9bac79ec, b36d6d48faa6b1bb723b8f4e527c531a1a68520e, 0f1510e84d7bfc3eb9538efa65c6ea0aadf1078c, 5b7a23c1ed04e794ef3b31e452ef5c93e1e34b4a, 3cd17e4e2871114d5579fa7bc8da66faf7fc1930
- 5.2
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 7513831b90a38d55fa089e3e1b49691e467afee6 or b4774a7da12b14fc37219ab4368d1907f9b5aca4 or 8fb4364eb494b926d009bfaf3c98f07c3aa5d9f3 or 0b10c6203e62d9e7337cc401568b201f9bac79ec or b36d6d48faa6b1bb723b8f4e527c531a1a68520e or 0f1510e84d7bfc3eb9538efa65c6ea0aadf1078c or 5b7a23c1ed04e794ef3b31e452ef5c93e1e34b4a or 3cd17e4e2871114d5579fa7bc8da66faf7fc1930 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.