PCI: brcmstb: Fix error path after a call to regulator_bulk_get()
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]
CVE-2025-22095
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2025-22095
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "9e6be018b26347c26a93e63fb50a37ee2c9311de",
"lessThan": "99a0efba9f903acbdece548862b6b4cbe7d999e1",
"versionType": "git"
},
{
"status": "affected",
"version": "9e6be018b26347c26a93e63fb50a37ee2c9311de",
"lessThan": "eedd054834930b8d678f0776cd4b091b8fffbb4a",
"versionType": "git"
},
{
"status": "affected",
"version": "9e6be018b26347c26a93e63fb50a37ee2c9311de",
"lessThan": "df63321a40cc98e52313cffbff376b8ae9ceffa7",
"versionType": "git"
},
{
"status": "affected",
"version": "9e6be018b26347c26a93e63fb50a37ee2c9311de",
"lessThan": "7842e842a9bf6bd5866c84f588353711d131ab1a",
"versionType": "git"
},
{
"status": "affected",
"version": "9e6be018b26347c26a93e63fb50a37ee2c9311de",
"lessThan": "6f44e1fdb006db61394aa4d4c25728ada00842e7",
"versionType": "git"
},
{
"status": "affected",
"version": "9e6be018b26347c26a93e63fb50a37ee2c9311de",
"lessThan": "3651ad5249c51cf7eee078e12612557040a6bdb4",
"versionType": "git"
}
],
"programFiles": [
"drivers/pci/controller/pcie-brcmstb.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.0"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.134",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.87",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.23",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.13.11",
"versionType": "semver",
"lessThanOrEqual": "6.13.*"
},
{
"status": "unaffected",
"version": "6.14.2",
"versionType": "semver",
"lessThanOrEqual": "6.14.*"
},
{
"status": "unaffected",
"version": "6.15",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/pci/controller/pcie-brcmstb.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2025-22095
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #26979 · Revision 1
- Added to Heist Feed
- Publisher date