Kernel memory corruption via encrypted-region race
Published May 17, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel KVM SVM allows local users to trigger stale kernel-memory access during encrypted-region registration. The svm_register_enc_region() path releases kvm->lock before flushing converted pages, allowing a queued unregister task to free the region or its pages first. Exploitation requires concurrent encrypted-region unregister activity and a CPU without encrypted-memory coherency; the stale access can destabilize the host kernel.
Summary
What happened
Use-after-free in Linux kernel KVM SVM allows local users to trigger stale kernel-memory access during encrypted-region registration. The svm_register_enc_region() path releases kvm->lock before flushing converted pages, allowing a queued unregister task to free the region or its pages first. Exploitation requires concurrent encrypted-region unregister activity and a CPU without encrypted-memory coherency; the stale access can destabilize the host kernel.
The record
- CVE
- CVE-2024-35791
- Published
- May 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 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=19a23da53932bc8011220bd8c410cb76012de004 <12f8e32a5a389a5d58afc67728c76e61beee1ad4
- Affected versionversion=19a23da53932bc8011220bd8c410cb76012de004 <4868c0ecdb6cfde7c70cf478c46e06bb9c7e5865
- Affected versionversion=19a23da53932bc8011220bd8c410cb76012de004 <5ef1d8c1ddbf696e47b226e11888eaf8d9e8e807
- Affected versionversion=19a23da53932bc8011220bd8c410cb76012de004 <e126b508ed2e616d679d85fca2fbe77bb48bbdd7
- Affected versionversion=19a23da53932bc8011220bd8c410cb76012de004 <f6d53d8a2617dd58c89171a6b9610c470ebda38a
- Affected versionversion=4.19.176 <4.20
- Affected versionversion=4f627ecde7329e476a077bb0590db8f27bb8f912 <2d13b79640b147bd77c34a5998533b2021a4122d
- Affected versionversion=5.10.15 <5.10.215
- Affected versionversion=5.11
- Affected versionversion=5.4.98 <5.5
- Affected versionversion=848bcb0a1d96f67d075465667d3a1ad4af56311e
- Affected versionversion=f1ecde00ce1694597f923f0d25f7a797c5243d99
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.
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