Kernel crash via premature ASPM link-state free
Published Apr 16, 2025 · Updated Jul 16, 2026
Use-after-free in Linux PCI/ASPM allows local users with root privileges to crash the kernel during PCIe switch hot-unplug. The link-state removal path frees an upstream multifunction switch's ASPM parent link when a nonzero function is removed, while downstream ports retain it as parent_link. Reaching the faulty removal path requires root and affected PCIe switch hardware; dereferencing the stale link produces general protection faults and service interruption.
Summary
What happened
Use-after-free in Linux PCI/ASPM allows local users with root privileges to crash the kernel during PCIe switch hot-unplug. The link-state removal path frees an upstream multifunction switch's ASPM parent link when a nonzero function is removed, while downstream ports retain it as parent_link. Reaching the faulty removal path requires root and affected PCIe switch hardware; dereferencing the stale link produces general protection faults and service interruption.
The record
- CVE
- CVE-2024-58093
- Published
- Apr 16, 2025
- Updated
- Jul 16, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Apr 16, 2025CVE publishedPublication date reported by the CVE source.
- Jul 16, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4203722d51afe3d239e03f15cc73efdf023a7103
- Affected versionversion=456d8aa37d0f56fc9e985e812496e861dcd6f2f2 <4d96930239981f312821a4065db8cc0f8240a173
- Affected versionversion=456d8aa37d0f56fc9e985e812496e861dcd6f2f2 <8b930ddc2044e36866c41423e89889e0258695a3
- Affected versionversion=456d8aa37d0f56fc9e985e812496e861dcd6f2f2 <ba4cdc14c0d4df00d3e99bff7fe545303db98183
- Affected versionversion=456d8aa37d0f56fc9e985e812496e861dcd6f2f2 <cbf937dcadfd571a434f8074d057b32cd14fbea5
- Affected versionversion=456d8aa37d0f56fc9e985e812496e861dcd6f2f2 <f556b6ba0ac5f8353287ce6ed761228f0b4fafb7
- Affected versionversion=5.10.188 <5.10.236
- Affected versionversion=5.15.121 <5.15.180
- Affected versionversion=5.4.251 <5.4.292
- Affected versionversion=6.1.39 <6.1.134
- Affected versionversion=6.3.13 <6.4
- Affected versionversion=6.4.4 <6.5
- Affected versionversion=6.5
- Affected versionversion=666e7f9d60cee23077ea3e6331f6f8a19f7ea03f <0a0f9aecf66b98959aab7fb5764b4b3e522f4f5b
- Affected versionversion=7aecdd47910c51707696e8b0e045b9f88bd4230f <cd4b07507794f7ad1a74e12eca75121d98187e66
- Affected versionversion=7badf4d6f49a358a01ab072bbff88d3ee886c33b <62db339ecc3d58d8fd83a9e4d80061cd943bb6e2
- Affected versionversion=9856c0de49052174ab474113f4ba40c02aaee086 <e5cd58f61e9d8024ee11bd78c12c8916891d4077
- Affected versionversion=d51d2eeae4ce54d542909c4d9d07bf371a78592c
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo