In the Linux kernel, the following vulnerability has been resolved:
PCI: brcmstb: Fix error path after a call to regulatorbulkget()
If the regulatorbulkget() 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 regulatorbulkfree() 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]
[
{
"digest": {
"function_hash": "158106480471674578369179793770664073256",
"length": 810.0
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c",
"function": "brcm_pcie_add_bus"
},
"signature_version": "v1",
"id": "CVE-2025-22095-209fe35d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7842e842a9bf6bd5866c84f588353711d131ab1a",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146677705755835510696878685410830738818",
"133189739995016644880394521077106469133",
"135673344828837631051550525298785697376",
"182761177048417131155565504405629469423"
]
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c"
},
"signature_version": "v1",
"id": "CVE-2025-22095-27781e82",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eedd054834930b8d678f0776cd4b091b8fffbb4a",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146677705755835510696878685410830738818",
"133189739995016644880394521077106469133",
"135673344828837631051550525298785697376",
"182761177048417131155565504405629469423"
]
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c"
},
"signature_version": "v1",
"id": "CVE-2025-22095-3e910dd5",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3651ad5249c51cf7eee078e12612557040a6bdb4",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146677705755835510696878685410830738818",
"133189739995016644880394521077106469133",
"135673344828837631051550525298785697376",
"182761177048417131155565504405629469423"
]
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c"
},
"signature_version": "v1",
"id": "CVE-2025-22095-6e2065f2",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7842e842a9bf6bd5866c84f588353711d131ab1a",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "158106480471674578369179793770664073256",
"length": 810.0
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c",
"function": "brcm_pcie_add_bus"
},
"signature_version": "v1",
"id": "CVE-2025-22095-a69c0701",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eedd054834930b8d678f0776cd4b091b8fffbb4a",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146677705755835510696878685410830738818",
"133189739995016644880394521077106469133",
"135673344828837631051550525298785697376",
"182761177048417131155565504405629469423"
]
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c"
},
"signature_version": "v1",
"id": "CVE-2025-22095-b7d6e07f",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f44e1fdb006db61394aa4d4c25728ada00842e7",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "158106480471674578369179793770664073256",
"length": 810.0
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c",
"function": "brcm_pcie_add_bus"
},
"signature_version": "v1",
"id": "CVE-2025-22095-bd15de7e",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3651ad5249c51cf7eee078e12612557040a6bdb4",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146677705755835510696878685410830738818",
"133189739995016644880394521077106469133",
"135673344828837631051550525298785697376",
"182761177048417131155565504405629469423"
]
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c"
},
"signature_version": "v1",
"id": "CVE-2025-22095-c9ed773f",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df63321a40cc98e52313cffbff376b8ae9ceffa7",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "158106480471674578369179793770664073256",
"length": 810.0
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c",
"function": "brcm_pcie_add_bus"
},
"signature_version": "v1",
"id": "CVE-2025-22095-e63f9102",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a0efba9f903acbdece548862b6b4cbe7d999e1",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "158106480471674578369179793770664073256",
"length": 810.0
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c",
"function": "brcm_pcie_add_bus"
},
"signature_version": "v1",
"id": "CVE-2025-22095-e8a14cba",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df63321a40cc98e52313cffbff376b8ae9ceffa7",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146677705755835510696878685410830738818",
"133189739995016644880394521077106469133",
"135673344828837631051550525298785697376",
"182761177048417131155565504405629469423"
]
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c"
},
"signature_version": "v1",
"id": "CVE-2025-22095-f8651539",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a0efba9f903acbdece548862b6b4cbe7d999e1",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "158106480471674578369179793770664073256",
"length": 810.0
},
"target": {
"file": "drivers/pci/controller/pcie-brcmstb.c",
"function": "brcm_pcie_add_bus"
},
"signature_version": "v1",
"id": "CVE-2025-22095-fd841c92",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f44e1fdb006db61394aa4d4c25728ada00842e7",
"signature_type": "Function"
}
]