PCI/ASPM: Fix link state exit during switch upstream function removal
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: PCI/ASPM: Fix link state exit during switch upstream function removal Before 456d8aa37d0f ("PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free"), we would free the ASPM link only after the last function on the bus pertaining to the given link was removed. That was too late. If function 0 is removed before sibling function, link->downstream would point to free'd memory after. After above change, we freed the ASPM parent link state upon any function removal on the bus pertaining to a given link. That is too early. If the link is to a PCIe switch with MFD on the upstream port, then removing functions other than 0 first would free a link which still remains parent_link to the remaining downstream ports. The resulting GPFs are especially frequent during hot-unplug, because pciehp removes devices on the link bus in reverse order. On that switch, function 0 is the virtual P2P bridge to the internal bus. Free exactly when function 0 is removed -- before the parent link is obsolete, but after all subordinate links are gone. [kwilczynski: commit log]
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.4.251 to before 5.4.292; 5.10.188 to before 5.10.236; 5.15.121 to before 5.15.180; 6.1.39 to before 6.1.134; 6.3.13 to before 6.4; 6.4.4 to before 6.5 | 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.4, 6.5 | Patch available | CNA |
| Linux | Linux | 6.5 and later | 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15 | Patch available | CNA |
- Linux VendorLinux Affected 5.4.251 to before 5.4.292; 5.10.188 to before 5.10.236; 5.15.121 to before 5.15.180; 6.1.39 to before 6.1.134; 6.3.13 to before 6.4; 6.4.4 to before 6.5 Fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.4, 6.5 Patch available CNA
- Linux VendorLinux Affected 6.5 and later Fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.251 to before 5.5; 5.10.188 to before 5.11; 5.15.121 to before 5.16; 6.1.39 to before 6.2; 6.3.13 to before 6.4; 6.4.4 to before 6.15 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.4.251 to before 5.5; 5.10.188 to before 5.11; 5.15.121 to before 5.16; 6.1.39 to before 6.2; 6.3.13 to before 6.4; 6.4.4 to before 6.15 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.4, 6.5
- Fix · CNA Linux (Linux) Fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2024-58093
- 2026-10-03 Alias added: GHSA-xcjf-5v2r-gvc9
- 2026-11-05 CISA SSVC decision points changed
References
Other 8
- https://git.kernel.org/stable/c/0a0f9aecf66b98959aab7fb5764b4b3e522f4f5b
- https://git.kernel.org/stable/c/62db339ecc3d58d8fd83a9e4d80061cd943bb6e2
- https://git.kernel.org/stable/c/e5cd58f61e9d8024ee11bd78c12c8916891d4077
- https://git.kernel.org/stable/c/cd4b07507794f7ad1a74e12eca75121d98187e66
- https://git.kernel.org/stable/c/8b930ddc2044e36866c41423e89889e0258695a3
- https://git.kernel.org/stable/c/f556b6ba0ac5f8353287ce6ed761228f0b4fafb7
- https://git.kernel.org/stable/c/ba4cdc14c0d4df00d3e99bff7fe545303db98183
- https://git.kernel.org/stable/c/4d96930239981f312821a4065db8cc0f8240a173
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-58093 · CVE Program
- CVE-2024-58093 · NVD
- FIRST EPSS
- GHSA-xcjf-5v2r-gvc9 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-58093 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences