ASoC: tegra: tegra210_ahub: Validate written enum value
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 16e1bcc2caf446fa3e1daa040b59fd6f6272a766 · < e098c9c6477dfa3cb363282100108484ceba5cc5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: tegra: tegra210_ahub: Validate written enum value
tegra_ahub_put_value_enum() reads e->values[item[0]] before checking whether item[0] is within the enum item range. The existing check therefore happens too late to prevent an out-of-range read of the values array.
Move the check before the array access.
From the CVE record · Linux
The Linux kernel’s tegra210_ahub component reads an enum values array before checking whether the supplied index is in range. An out-of-range index can cause an out-of-range read. The input does not specify how an attacker could reach this code or whether authentication or user interaction is required.
Engineers running Linux kernels with the tegra210_ahub component should check their versions; affected versions are not specified.