CVE-2026-99021
kernel: regulator: of: fill in supply names in of_regulator_bulk_get_all()
Overview
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.
Source: OX vulnerability database
Severity
4.1 · MEDIUM
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 27 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift-ose-rhel-coreos-9 | affected |
| 8 | openshift-ose-rhel-coreos-9 | affected |
| 9 | bpftool +106 | affected |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | affected |
| 13 | linux | 6.12.117-1 |
| 14 | linux | 7.2.11-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
ubuntu 3 releases · 18 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux-aws-6-8 +9 | affected |
| 24.04 | linux +18 | affected |
| 24.04 | linux-oracle-7-0 | 7.0.0-1016.18~24.04.1 |
| 24.04 | linux-aws-7-0 | 7.0.0-1017.18~24.04.1 |
| 24.04 | linux-gcp-7-0 | 7.0.0-1017.19~24.04.1 |
| 24.04 | linux-azure-fde-7-0 | 7.0.0-1019.19~24.04.1 |
13 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-99021
- git.kernel.org https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-99021.mbox
- git.kernel.org https://git.kernel.org/stable/c/82ac8c4939bdbd064b4f54a580fbe4baf0d60e41
- git.kernel.org https://git.kernel.org/stable/c/a3384ec2516a7cc567bd7c09029282494469b247
- git.kernel.org https://git.kernel.org/stable/c/a5f43540e14589b53f80306d25c043c0abdcbca0
- git.kernel.org https://git.kernel.org/stable/c/e2151c29cec73f6cc70abf1c7cbc7b9b202489f5
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-99021
- ubuntu.com https://ubuntu.com/security/notices/USN-9018-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9018-2
- ubuntu.com https://ubuntu.com/security/notices/USN-9019-1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.