ASoC: tas2562: Validate values for volume writes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bf726b1c86f2caab70ad614cdf7da3b81ad08e69 · < 8fb41964f7e4e4207c8999af2056894caa7a252a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s tas2562 volume control does not validate values written from userspace before using them as an index into a fixed-size array. A local user able to write this control can cause an out-of-bounds read and have the resulting value written to the device. The input does not specify whether authentication or additional user interaction is required.
Engineers running Linux kernels with the tas2562 driver should check their kernel’s status; affected versions are not specified.