cvelo
P4 · InfoEPSS 0.2%

regulator: of: fill in supply names in of_regulator_bulk_get_all()

  • CVE-2026-99021
  • GHSA-pp3v-c45m-5x73
  • EUVD-2026-108815

Description

In the Linux kernel, the following vulnerability has been resolved: regulator: of: fill in supply names in of_regulator_bulk_get_all() of_regulator_bulk_get_all() returns an array it allocated itself, and fills in only the consumer of each entry. Every other way of getting a bulk array has the supply name set, because the caller provides it, and the core expects it to be there: regulator_bulk_enable() prints it when a supply fails to enable, so a caller that hands such an array to it dereferences uninitialised memory on that path. Copy each name into the array's own allocation, right behind the entries, so that it shares the array's lifetime and callers still have nothing extra to free. That also retires the fixed 64 byte stack buffer the names were assembled in, which is_supply_name() never bounded the copy against.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.1.110 to before 6.1.1936.1.193
    6.2none stated
    before 6.2: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.57 up to 6.18.*: not affectednone stated
    from 7.2.11 up to 7.2.*: not affectednone stated

    and 1 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.