CVE-2024-58093

PCI/ASPM: Fix link state exit during switch upstream function removal

HIGH
7.8
CVSS Score
Published: April 16, 2025 at 02:11 PM UTC
Updated: July 16, 2026 at 01:30 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

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]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.3.13v ≥ 6.4.45.10.188 ≤ v < 5.10.2365.10.188 ≤ v < 5.115.15.121 ≤ v < 5.15.1805.15.121 ≤ v < 5.165.4.251 ≤ v < 5.4.2925.4.251 ≤ v < 5.56.1.39 ≤ v < 6.1.1346.1.39 ≤ v < 6.26.3.13 ≤ v < 6.46.4.4 ≤ v < 6.156.4.4 ≤ v < 6.56.5 ≤ v < 6.12.236.5 ≤ v < 6.13.116.5 ≤ v < 6.14.26.5 ≤ v < 6.156.5 ≤ v < 6.6.874203722d51afe3d239e03f15cc73efdf023a7103456d8aa37d0f56fc9e985e812496e861dcd6f2f25.10.1885.15.1215.4.2516.1.396.3.136.4.46.5666e7f9d60cee23077ea3e6331f6f8a19f7ea03f7aecdd47910c51707696e8b0e045b9f88bd4230f7badf4d6f49a358a01ab072bbff88d3ee886c33b9856c0de49052174ab474113f4ba40c02aaee086d51d2eeae4ce54d542909c4d9d07bf371a78592c
Vendor states this is fixed in 0a0f9aecf66b98959aab7fb5764b4b3e522f4f5b (fixed)
Vendor states this is fixed in 4d96930239981f312821a4065db8cc0f8240a173 (fixed)
Vendor states this is fixed in 62db339ecc3d58d8fd83a9e4d80061cd943bb6e2 (fixed)
Vendor states this is fixed in 8b930ddc2044e36866c41423e89889e0258695a3 (fixed)
Vendor states this is fixed in ba4cdc14c0d4df00d3e99bff7fe545303db98183 (fixed)
Vendor states this is fixed in cbf937dcadfd571a434f8074d057b32cd14fbea5 (fixed)
Vendor states this is fixed in cd4b07507794f7ad1a74e12eca75121d98187e66 (fixed)
Vendor states this is fixed in e5cd58f61e9d8024ee11bd78c12c8916891d4077 (fixed)
Vendor states this is fixed in f556b6ba0ac5f8353287ce6ed761228f0b4fafb7 (fixed)
Vendor states this is fixed in 5.10.236 (unaffected)
Affected range stops below 5.11, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.15.180 (unaffected)
Affected range stops below 5.16, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.4.292 (unaffected)
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1.134 (unaffected)
Vendor states this is fixed in 6.12.23 (unaffected)
Vendor states this is fixed in 6.13.11 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Affected range stops below 6.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.87 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card