Description
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.
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
16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < 4e45e4c2015519a39c40eb575c03b77807fb5080affected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < 964f8f9015fb117402d8d2186593397cd93388e9affected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < 2ec7d16fe21c68b0879873a2abf9aac854c96134affected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < 4bcb23635d5059ee71f3fb89719ea14aada6fd59affected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < f67d63628fe158b3a6e6b33a2b8c83ff118699d1affected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < e098c9c6477dfa3cb363282100108484ceba5cc5affected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < 226d93b65f4f99b35fb7a03bdb24acb577364ebcaffected16e1bcc2caf446fa3e1daa040b59fd6f6272a766 to < 1d8aabb413b5638670dfd1162169edc0ba276a2eaffected
Linux Linux
Default version status: affected
5.9affected0 to < 5.9unaffected5.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/4e45e4c2015519a39c40eb575c03b77807fb5080 ↗
- https://git.kernel.org/stable/c/964f8f9015fb117402d8d2186593397cd93388e9 ↗
- https://git.kernel.org/stable/c/2ec7d16fe21c68b0879873a2abf9aac854c96134 ↗
- https://git.kernel.org/stable/c/4bcb23635d5059ee71f3fb89719ea14aada6fd59 ↗
- https://git.kernel.org/stable/c/f67d63628fe158b3a6e6b33a2b8c83ff118699d1 ↗
- https://git.kernel.org/stable/c/e098c9c6477dfa3cb363282100108484ceba5cc5 ↗
- https://git.kernel.org/stable/c/226d93b65f4f99b35fb7a03bdb24acb577364ebc ↗
- https://git.kernel.org/stable/c/1d8aabb413b5638670dfd1162169edc0ba276a2e ↗