Freed kernel-memory access via EPC teardown
Published Dec 27, 2024 · Updated May 23, 2026
Use-after-free in Linux 6.11.4 through 6.12.3 allows local users to access a freed device object during PCI endpoint teardown. The pci_epc_destroy() path calls pci_bus_release_domain_nr() with epc->dev after device_unregister() has freed that object and also uses the wrong device for the parent-owned domain ID. Reachability requires destruction of a PCI endpoint controller; published sources identify local low-privileged access but no direct user-triggerable path.
Summary
What happened
Use-after-free in Linux 6.11.4 through 6.12.3 allows local users to access a freed device object during PCI endpoint teardown. The pci_epc_destroy() path calls pci_bus_release_domain_nr() with epc->dev after device_unregister() has freed that object and also uses the wrong device for the parent-owned domain ID. Reachability requires destruction of a PCI endpoint controller; published sources identify local low-privileged access but no direct user-triggerable path.
The record
- CVE
- CVE-2024-56561
- Published
- Dec 27, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 27, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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=0328947c50324cf4b2d8b181bf948edb8101f59f <4acc902ed3743edd4ac2d3846604a99d17104359
- Affected versionversion=0328947c50324cf4b2d8b181bf948edb8101f59f <c74a1df6c2a2df7dd45c3fc1a5edc29a075dcf22
- Affected versionversion=6.11.4 <6.12
- Affected versionversion=6.12
- Affected versionversion=a4934cd7a18d35fc57025f23773f6f19e2b2dbb1
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.
Weakness, pattern, technique
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