CVE-2025-37893: Linux kernel · LoongArch: BPF: Fix off-by-one error in build_prologue()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.11.0-1012.12 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.11.0-1012.12, 6.8.0-1018.19, 6.8.0-1041.43+fips1 +3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-nvidia-6.11pkg:deb/ubuntu/linux-nvidia-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-realtimepkg:deb/ubuntu/linux-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-xilinxpkg:deb/ubuntu/linux-xilinx?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro FIPS-updates 24.04 LTSlinux-aws-fipspkg:deb/ubuntu/linux-aws-fips?arch=source&distro=fips-updates/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro FIPS-updates 24.04 LTSlinux-azure-fipspkg:deb/ubuntu/linux-azure-fips?arch=source&distro=fips-updates/nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-37893 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-37893 (opens in a new tab)
- git.kernel.org/linus/7e2586991e36663c9bc48c828b83eab180ad30a9 (opens in a new tab)
- git.kernel.org/stable/c/205a2182c51ffebaef54d643e3745e720cded08b (opens in a new tab)
- git.kernel.org/stable/c/48b904de2408af5f936f0e03f48dfcddeab58aa0 (opens in a new tab)
- git.kernel.org/stable/c/7e2586991e36663c9bc48c828b83eab180ad30a9 (opens in a new tab)
- git.kernel.org/stable/c/b3ffad2f02db4aace6799fe0049508b8925eae45 (opens in a new tab)
- git.kernel.org/stable/c/c74d95a5679741ef428974ab788f5b0758dc78ae (opens in a new tab)
- git.kernel.org/stable/c/e9ccb262b39ab01a5ac2e485b7996b8498e7b373 (opens in a new tab)