Local kernel compromise via invalid huge-page cleanup
Published Dec 27, 2024 · Updated Aug 5, 2026
Memory corruption in Linux on LoongArch allows local users to compromise kernel confidentiality, integrity, and availability during huge-page cleanup. The generic huge_pte_clear() writes an invalid value that LoongArch later treats as a valid page-table pointer, causing free_pte_range() to free the wrong memory. An unprivileged local account can deterministically reach the path with userfaultfd, a poisoned hugetlb mapping, and unmapping or process exit, causing bad-page state and kernel taint.
Summary
What happened
Memory corruption in Linux on LoongArch allows local users to compromise kernel confidentiality, integrity, and availability during huge-page cleanup. The generic huge_pte_clear() writes an invalid value that LoongArch later treats as a valid page-table pointer, causing free_pte_range() to free the wrong memory. An unprivileged local account can deterministically reach the path with userfaultfd, a poisoned hugetlb mapping, and unmapping or process exit, causing bad-page state and kernel taint.
The record
- CVE
- CVE-2024-56628
- Published
- Dec 27, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 27, 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=09cfefb7fa70c3af011b0db0a513fd80b2f18abc <7cd1f5f77925ae905a57296932f0f9ef0dc364f8
- Affected versionversion=09cfefb7fa70c3af011b0db0a513fd80b2f18abc <7dfbf011a57b9e1a40f5ce8080a53c497e105c6c
- Affected versionversion=09cfefb7fa70c3af011b0db0a513fd80b2f18abc <9b602190cf2d8ac957be0011e418ed6c3b49b9a3
- Affected versionversion=09cfefb7fa70c3af011b0db0a513fd80b2f18abc <dba3c45e333a3a2a01395b5f5e5f88f8baba74e4
- Affected versionversion=5.19
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