CVE-2025-22095
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
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]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.2NVD

What each source says

CVE List

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]

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: brcmstb: Corrección de la ruta de error tras una llamada a regulator_bulk_get(). Si regulator_bulk_get() devuelve un error y no se crean reguladores, debemos establecer su número en cero. Si no lo hacemos y falla la conexión PCIe, una llamada a regulator_bulk_free() provocará un pánico del kernel. Mientras tanto, imprima el valor del error, ya que no podemos devolver un error hacia arriba, ya que el kernel emitirá una advertencia WARN() en caso de un error de add_bus(). [kwilczynski: registro de confirmaciones, usar coma en el mensaje para que coincida con el estilo de otros mensajes similares]

References

Sources

SourceRecordLicence
CVE ListCVE-2025-22095 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-22095 changed 2026-11-10Public domain