Memory exhaustion via lost PCI reset buffer
Published Dec 29, 2024 · Updated May 11, 2026
Memory leak in the PCI sysfs reset interface allows local users to exhaust kernel memory through repeated reset_method writes. reset_method_store() passes its only allocation pointer to strsep(), which sets it to NULL after the last token, so kfree() cannot release the kstrndup() buffer. Local write access to a PCI device's reset_method attribute is required; repeated requests can deplete kernel memory and interrupt service.
Summary
What happened
Memory leak in the PCI sysfs reset interface allows local users to exhaust kernel memory through repeated reset_method writes. reset_method_store() passes its only allocation pointer to strsep(), which sets it to NULL after the last token, so kfree() cannot release the kstrndup() buffer. Local write access to a PCI device's reset_method attribute is required; repeated requests can deplete kernel memory and interrupt service.
The record
- CVE
- CVE-2024-56745
- Published
- Dec 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 29, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=5.15
- Affected versionversion=d88f521da3efd698e36d0d504a2abba6ac4f5ef8 <2985b1844f3f3447f2d938eff1ef6762592065a5
- Affected versionversion=d88f521da3efd698e36d0d504a2abba6ac4f5ef8 <403efb4457c0c8f8f51e904cc57d39193780c6bd
- Affected versionversion=d88f521da3efd698e36d0d504a2abba6ac4f5ef8 <543d0eb40e45c6a51f1bff02f417b602e54472d5
- Affected versionversion=d88f521da3efd698e36d0d504a2abba6ac4f5ef8 <8e098baf6bc3f3a6aefc383509aba07e202f7ee0
- Affected versionversion=d88f521da3efd698e36d0d504a2abba6ac4f5ef8 <931d07ccffcc3614f20aaf602b31e89754e21c59
- Affected versionversion=d88f521da3efd698e36d0d504a2abba6ac4f5ef8 <fe6fae61f3b993160aef5fe2b7141a83872c144f
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