Local kernel corruption via reversed deallocation
Published Feb 29, 2024 · Updated May 11, 2026
Use-after-free in the RISC-V module loader in Linux 6.7 through 6.7.2 allows local users to corrupt kernel memory during module loading. In arch/riscv/kernel/module.c, the cleanup path calls kfree in the wrong order, so later cleanup accesses memory released by the preceding call. Reachability is limited to RISC-V systems and local access; resulting kernel-memory corruption can expose data, alter execution, or crash the host.
Summary
What happened
Use-after-free in the RISC-V module loader in Linux 6.7 through 6.7.2 allows local users to corrupt kernel memory during module loading. In arch/riscv/kernel/module.c, the cleanup path calls kfree in the wrong order, so later cleanup accesses memory released by the preceding call. Reachability is limited to RISC-V systems and local access; resulting kernel-memory corruption can expose data, alter execution, or crash the host.
The record
- CVE
- CVE-2024-26619
- Published
- Feb 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 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=6.7
- Affected versionversion=d8792a5734b0f3e58b898c2e2f910bfac48e9ee3 <2fa79badf4bfeffda6b5032cf62b828486ec9a99
- Affected versionversion=d8792a5734b0f3e58b898c2e2f910bfac48e9ee3 <78996eee79ebdfe8b6f0e54cb6dcc792d5129291
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