CVE-2025-22095

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

State
Published
Severity
Not scored
Published
Apr 16, 2025
Updated
Oct 15, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9e6be018b26347c26a93e63fb50a37ee2c9311de to before 99a0efba9f903acbdece548862b6b4cbe7d999e1Affected
  • 9e6be018b26347c26a93e63fb50a37ee2c9311de to before eedd054834930b8d678f0776cd4b091b8fffbb4aAffected
  • 9e6be018b26347c26a93e63fb50a37ee2c9311de to before df63321a40cc98e52313cffbff376b8ae9ceffa7Affected
  • 9e6be018b26347c26a93e63fb50a37ee2c9311de to before 7842e842a9bf6bd5866c84f588353711d131ab1aAffected
  • 9e6be018b26347c26a93e63fb50a37ee2c9311de to before 6f44e1fdb006db61394aa4d4c25728ada00842e7Affected
  • 9e6be018b26347c26a93e63fb50a37ee2c9311de to before 3651ad5249c51cf7eee078e12612557040a6bdb4Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.134 through 6.1.*Not affected
  • 6.6.87 through 6.6.*Not affected
  • 6.12.23 through 6.12.*Not affected
  • 6.13.11 through 6.13.*Not affected
  • 6.14.2 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.