# CVE-2025-22095: PCI: brcmstb: Fix error path after a call to regulator_bulk_get()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:46.226Z
- Modified: 2026-11-10T13:17:42.523Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

PCI: brcmstb: Fix error path after a call to regulator_bulk_get()

If the regulator_bulk_get() returns an error and no regulators
are created, we need to set their number to zero.

If we don't do this and the PCIe link up fails, a call to the
regulator_bulk_free() will result in a kernel panic.

While at it, print the error value, as we cannot return an error
upwards as the kernel will WARN() on an error from add_bus().

[kwilczynski: commit log, use comma in the message to match style with
other similar messages]

(As written by CVE List.)

## Affected

- Linux Linux: from 9e6be018b26347c26a93e63fb50a37ee2c9311de before 99a0efba9f903acbdece548862b6b4cbe7d999e1; from 9e6be018b26347c26a93e63fb50a37ee2c9311de before eedd054834930b8d678f0776cd4b091b8fffbb4a; from 9e6be018b26347c26a93e63fb50a37ee2c9311de before df63321a40cc98e52313cffbff376b8ae9ceffa7; from 9e6be018b26347c26a93e63fb50a37ee2c9311de before 7842e842a9bf6bd5866c84f588353711d131ab1a; from 9e6be018b26347c26a93e63fb50a37ee2c9311de before 6f44e1fdb006db61394aa4d4c25728ada00842e7; from 9e6be018b26347c26a93e63fb50a37ee2c9311de before 3651ad5249c51cf7eee078e12612557040a6bdb4; 6.0 (not affected: before 6.0; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.0 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2

## References

- <https://git.kernel.org/stable/c/99a0efba9f903acbdece548862b6b4cbe7d999e1> (patch)
- <https://git.kernel.org/stable/c/eedd054834930b8d678f0776cd4b091b8fffbb4a> (patch)
- <https://git.kernel.org/stable/c/df63321a40cc98e52313cffbff376b8ae9ceffa7> (patch)
- <https://git.kernel.org/stable/c/7842e842a9bf6bd5866c84f588353711d131ab1a> (patch)
- <https://git.kernel.org/stable/c/6f44e1fdb006db61394aa4d4c25728ada00842e7> (patch)
- <https://git.kernel.org/stable/c/3651ad5249c51cf7eee078e12612557040a6bdb4> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-22095](https://www.cve.org/CVERecord?id=CVE-2025-22095), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-22095](https://nvd.nist.gov/vuln/detail/CVE-2025-22095), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-22095 · Whole record: https://cve.day/CVE-2025-22095.json · Rebuilt by cve.day 2026-11-25T22:58:56.610Z
