CVE-2025-22031
published medium CVSS 3.1 · 5.5PCI/bwctrl: Fix NULL pointer dereference on bus number exhaustion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux665745f274870c921020f610e2c99a3b1613519b to < d93d309013e89631630a12b1770d27e4be78362a · 665745f274870c921020f610e2c99a3b1613519b to < 1181924af78e5299ddec6e457789c02dd5966559 · 665745f274870c921020f610e2c99a3b1613519b to < 667f053b05f00a007738cd7ed6fa1901de19dc7e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.13.11 through 6.13.* (unaffected · semver) · 6.14.2 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | plucky | bpftool | Advisory build | 7.6.0+6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | plucky | linux-aws-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-bpf-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-common | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-headers-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-tools-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-lib-rust-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-libc-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu6-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu7-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-usbio-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-vision-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-perf | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-cloud-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-headers-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-source-6.14.0 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: PCI/bwctrl: Fix NULL pointer dereference on bus number exhaustion When BIOS neglects to assign bus numbers to PCI bridges, the kernel attempts to correct that during PCI device enumeration. If it runs out of bus numbers, no pci_bus is allocated and the "subordinate" pointer in the bridge's pci_dev remains NULL. The PCIe bandwidth controller erroneously does not check for a NULL subordinate pointer and dereferences it on probe. Bandwidth control of unusable devices below the bridge is of questionable utility, so simply error out instead. This mirrors what PCIe hotplug does since commit 62e4492c3063 ("PCI: Prevent NULL dereference during pciehp probe"). The PCI core emits a message with KERN_INFO severity if it has run out of bus numbers. PCIe hotplug emits an additional message with KERN_ERR severity to inform the user that hotplug functionality is disabled at the bridge. A similar message for bandwidth control does not seem merited, given that its only purpose so far is to expose an up-to-date link speed in sysfs and throttle the link speed on certain laptops with limited Thermal Design Power. So error out silently. User-visible messages: pci 0000:16:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [...] pci_bus 0000:45: busn_res: [bus 45-74] end is updated to 74 pci 0000:16:02.0: devices behind bridge are unusable because [bus 45-74] cannot be assigned for them [...] pcieport 0000:16:02.0: pciehp: Hotplug bridge without secondary bus, ignoring [...] BUG: kernel NULL pointer dereference RIP: pcie_update_link_speed pcie_bwnotif_enable pcie_bwnotif_probe pcie_port_probe_service really_probe
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 665745f274870c921020f610e2c99a3b1613519b to < d93d309013e89631630a12b1770d27e4be78362a (affected · git)665745f274870c921020f610e2c99a3b1613519b to < 1181924af78e5299ddec6e457789c02dd5966559 (affected · git)665745f274870c921020f610e2c99a3b1613519b to < 667f053b05f00a007738cd7ed6fa1901de19dc7e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.13.11 through 6.13.* (unaffected · semver)6.14.2 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
3Provider assertions
2Linux · cna
PCI/bwctrl: Fix NULL pointer dereference on bus number exhaustion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d071a8bb0b7c0a8e092c4e4c8a9e243183d16e2947b986b3b4df74a470487111
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record