regulator: tps6594-regulator: Fix n_linear_ranges for TPS65224 BUCK2-4 (Linux Linux)

CVE-2026-99020
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 54308f24ce510a3ba1bf2e0ebc8b9c8a577b3c3b < 1ea151615a82fd94f25e38b2cc7eeac49112508b
affected : ≥ 00c826525fbae0230f6c3e9879e56d50267deb42 < 66b7da589b2ce44a02b8387c6160e9254685f34f
affected : ≥ 00c826525fbae0230f6c3e9879e56d50267deb42 < f6fbe9c6b39968a7696b9badef4bc29331a6376a
affected : ≥ 00c826525fbae0230f6c3e9879e56d50267deb42 < f3423b56be12208a393274afb9a5e3d67fc58ce3
affected : ≥ 00c826525fbae0230f6c3e9879e56d50267deb42 < 2f15518682c779b1014552cb2ccb4a2052f85f27
affected : ≥ 6.6.157 < 6.6.160
Other versions : unaffected
Linux · Linux
affected : 6.10
unaffected : ≥ 0 < 6.10
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.113 ≤ 6.12.*
unaffected : ≥ 6.18.57 ≤ 6.18.*
unaffected : ≥ 7.2.11 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD