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

CVE-2025-22095
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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]

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9e6be018b26347c26a93e63fb50a37ee2c9311de < 99a0efba9f903acbdece548862b6b4cbe7d999e1 ; affected 9e6be018b26347c26a93e63fb50a37ee2c9311de < eedd054834930b8d678f0776cd4b091b8fffbb4a ; affected 9e6be018b26347c26a93e63fb50a37ee2c9311de < df63321a40cc98e52313cffbff376b8ae9ceffa7 ; affected 9e6be018b26347c26a93e63fb50a37ee2c9311de < 7842e842a9bf6bd5866c84f588353711d131ab1a ; affected 9e6be018b26347c26a93e63fb50a37ee2c9311de < 6f44e1fdb006db61394aa4d4c25728ada00842e7 ; affected 9e6be018b26347c26a93e63fb50a37ee2c9311de < 3651ad5249c51cf7eee078e12612557040a6bdb4
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.134 ≤ 6.1.* ; unaffected 6.6.87 ≤ 6.6.* ; unaffected 6.12.23 ≤ 6.12.* ; unaffected 6.13.11 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD