Kernel hard lockup via miscomputed BPF epilogue
Published Apr 18, 2025 · Updated Aug 5, 2026
Off-by-one error in the LoongArch BPF JIT in Linux allows local users to hard-lock affected kernels through a crafted BPF program. build_prologue() emits N instructions during its sizing pass but N+1 during code generation, leaving epilogue_offset one instruction short and omitting the expected terminal jirl path. Reachability requires LoongArch and permission to load BPF programs; execution of the wrong epilogue target can loop indefinitely in kernel context and interrupt the host.
Summary
What happened
Off-by-one error in the LoongArch BPF JIT in Linux allows local users to hard-lock affected kernels through a crafted BPF program. build_prologue() emits N instructions during its sizing pass but N+1 during code generation, leaving epilogue_offset one instruction short and omitting the expected terminal jirl path. Reachability requires LoongArch and permission to load BPF programs; execution of the wrong epilogue target can loop indefinitely in kernel context and interrupt the host.
The record
- CVE
- CVE-2025-37893
- Published
- Apr 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-193, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 18, 2025CVE 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=5dc615520c4dfb358245680f1904bad61116648e <205a2182c51ffebaef54d643e3745e720cded08b
- Affected versionversion=5dc615520c4dfb358245680f1904bad61116648e <48b904de2408af5f936f0e03f48dfcddeab58aa0
- Affected versionversion=5dc615520c4dfb358245680f1904bad61116648e <7e2586991e36663c9bc48c828b83eab180ad30a9
- Affected versionversion=5dc615520c4dfb358245680f1904bad61116648e <b3ffad2f02db4aace6799fe0049508b8925eae45
- Affected versionversion=5dc615520c4dfb358245680f1904bad61116648e <c74d95a5679741ef428974ab788f5b0758dc78ae
- Affected versionversion=6.1
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