Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: tas2562: Validate values for volume writes tas2562_volume_control_put() does not do any validation of the control value written by userspace, it uses it to look up a value in a fixed size array which can easily be overflowed and then writes whatever value it gets back to the device. Add validation that we are loading a value we have in the array.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected bf726b1c86f2caab70ad614cdf7da3b81ad08e69 before 1f389ecd0c35e9e281036e44c121df904f3164c1; affected bf726b1c86f2caab70ad614cdf7da3b81ad08e69 before 20bdbb1376457ecbf418bf677fd285820d1fc011; affected bf726b1c86f2caab70ad614cdf7da3b81ad08e69 before db488d653d896fcf9ac87e15239924c2928bbc3c; affected bf726b1c86f2caab70ad614cdf7da3b81ad08e69 before c37a0461c0d0a70c5de4fdbd70449a7f53c12dda; affected bf726b1c86f2caab70ad614cdf7da3b81ad08e69 before 8fb41964f7e4e4207c8999af2056894caa7a252a |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 6.6.153 through 6.6.*; unaffected 6.12.105 through 6.12.*; unaffected 6.18.46 through 6.18.*; unaffected 7.1.10 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/1f389ecd0c35e9e281036e44c121df904f3164c1
- https://git.kernel.org/stable/c/20bdbb1376457ecbf418bf677fd285820d1fc011
- https://git.kernel.org/stable/c/db488d653d896fcf9ac87e15239924c2928bbc3c
- https://git.kernel.org/stable/c/c37a0461c0d0a70c5de4fdbd70449a7f53c12dda
- https://git.kernel.org/stable/c/8fb41964f7e4e4207c8999af2056894caa7a252a