Local kernel code execution via stale KVM callback
Published May 1, 2024 · Updated Aug 5, 2026
Use-after-free in Linux KVM allows local users to execute arbitrary kernel code by unloading KVM during asynchronous vCPU teardown. The vCPU cleanup paths can remove async_pf_execute work from the completion queue without flushing it, allowing the last module reference to be released while that callback still runs. A local low-privileged account with KVM access must create and destroy vCPUs during asynchronous page-fault work; successful exploitation compromises or interrupts the host kernel.
Summary
What happened
Use-after-free in Linux KVM allows local users to execute arbitrary kernel code by unloading KVM during asynchronous vCPU teardown. The vCPU cleanup paths can remove async_pf_execute work from the completion queue without flushing it, allowing the last module reference to be released while that callback still runs. A local low-privileged account with KVM access must create and destroy vCPUs during asynchronous page-fault work; successful exploitation compromises or interrupts the host kernel.
The record
- CVE
- CVE-2024-26976
- Published
- May 1, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-400, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=2.6.38
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <3d75b8aa5c29058a512db29da7cbee8052724157
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <4f3a3bce428fb439c66a578adc447afce7b4a750
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <82e25cc1c2e93c3023da98be282322fc08b61ffb
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <83d3c5e309611ef593e2fcb78444fc8ceedf9bac
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <a75afe480d4349c524d9c659b1a5a544dbc39a98
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <ab2c2f5d9576112ad22cfd3798071cb74693b1f5
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <b54478d20375874aeee257744dedfd3e413432ff
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <caa9af2e27c275e089d702cfbaaece3b42bca31b
- Affected versionversion=af585b921e5d1e919947c4b1164b59507fe7cd7b <f8730d6335e5f43d09151fca1f0f41922209a264
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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