CVE-2026-99020
Description
In the Linux kernel, the following vulnerability has been resolved:
regulator: tps6594-regulator: Fix n_linear_ranges for TPS65224 BUCK2-4
The TPS65224 BUCK2, BUCK3 and BUCK4 descriptors pass 4 as
n_linear_ranges, but tps65224_bucks_2_3_4_ranges[] only has two
entries, covering selectors 0x00-0x45.
The linear range helpers loop over n_linear_ranges entries, so any
lookup of a selector above 0x45 reads past the end of the array and
treats whatever follows it as two more ranges. This happens on the
normal registration path when the core checks the voltage constraints
against every selector. TPS652G1 uses the same descriptors and is
affected too.
Use ARRAY_SIZE() so the count always matches the table.
https://git.kernel.org/stable/c/1ea151615a82fd94f25e38b2cc7eeac49112508b
https://git.kernel.org/stable/c/2f15518682c779b1014552cb2ccb4a2052f85f27
https://git.kernel.org/stable/c/66b7da589b2ce44a02b8387c6160e9254685f34f
https://git.kernel.org/stable/c/f3423b56be12208a393274afb9a5e3d67fc58ce3
https://git.kernel.org/stable/c/f6fbe9c6b39968a7696b9badef4bc29331a6376a