CVE-2025-37893
Last modified
CVE-2025-37893 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix off-by-one error in build_prologue() Vincent reported that running BPF progs with tailcalls on LoongArch causes kernel hard lockup. Debugging the issues shows that the JITed image missing a jirl instruction at the end of the epilogue. There are two passes in JIT compiling, the first pass set the flags and the second pass generates JIT code based on those flags. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix off-by-one error in build_prologue() Vincent reported that running BPF progs with tailcalls on LoongArch causes kernel hard lockup. Debugging the issues shows that the JITed image missing a jirl instruction at the end of the epilogue. There are two passes in JIT compiling, the first pass set the flags and the second pass generates JIT code based on those flags. With BPF progs mixing bpf2bpf and tailcalls, build_prologue() generates N insns in the first pass and then generates N+1 insns in the second pass. This makes epilogue_offset off by one and we will jump to some unexpected insn and cause lockup. Fix this by inserting a nop insn.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.1, < 6.1.134 |
| Linux | Linux Kernel | >= 6.2, < 6.6.87 |
| Linux | Linux Kernel | >= 6.7, < 6.12.23 |
| Linux | Linux Kernel | >= 6.13, < 6.13.11 |
| Linux | Linux Kernel | >= 6.14, < 6.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-37893?
How severe is CVE-2025-37893?
How do I fix CVE-2025-37893?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-37888In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37889In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3789A vulnerability was found in baseweb JSite 1.0. It has been …5.4
- CVE-2025-37890In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-37891In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-37892In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-37894In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37895In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37896In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37897In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37898In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37899In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-37893?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
