{"id":"CVE-2026-99021","title":"regulator: of: fill in supply names in of_regulator_bulk_get_all()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: of: fill in supply names in of_regulator_bulk_get_all()\n\nof_regulator_bulk_get_all() returns an array it allocated itself, and\nfills in only the consumer of …","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 < 82ac8c4939bdbd064b4f54a580fbe4baf0d60e41","Linux >= 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 < a3384ec2516a7cc567bd7c09029282494469b247","Linux >= 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 < e2151c29cec73f6cc70abf1c7cbc7b9b202489f5","Linux fd5015686d898db6642e05cfa1cc4e1289631ecb","Linux >= 6.1.110 < 6.2","Linux 6.2"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:21:00.951Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99021","references":[{"url":"https://git.kernel.org/stable/c/82ac8c4939bdbd064b4f54a580fbe4baf0d60e41"},{"url":"https://git.kernel.org/stable/c/a3384ec2516a7cc567bd7c09029282494469b247"},{"url":"https://git.kernel.org/stable/c/e2151c29cec73f6cc70abf1c7cbc7b9b202489f5"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.536Z","slug":"CVE-2026-99021","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nregulator: of: fill in supply names in of_regulator_bulk_get_all()\n\nof_regulator_bulk_get_all() returns an array it allocated itself, and\nfills in only the consumer of each entry. Every other way of getting a\nbulk array has the supply name set, because the caller provides it, and\nthe core expects it to be there: regulator_bulk_enable() prints it when\na supply fails to enable, so a caller that hands such an array to it\ndereferences uninitialised memory on that path.\n\nCopy each name into the array's own allocation, right behind the\nentries, so that it shares the array's lifetime and callers still have\nnothing extra to free. That also retires the fixed 64 byte stack buffer\nthe names were assembled in, which is_supply_name() never bounded the\ncopy against.\n\n## Affected\n\n- `Linux >= 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 < 82ac8c4939bdbd064b4f54a580fbe4baf0d60e41`\n- `Linux >= 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 < a3384ec2516a7cc567bd7c09029282494469b247`\n- `Linux >= 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 < e2151c29cec73f6cc70abf1c7cbc7b9b202489f5`\n- `Linux fd5015686d898db6642e05cfa1cc4e1289631ecb`\n- `Linux >= 6.1.110 < 6.2`\n- `Linux 6.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}