7.8

CVE-2025-37893: LoongArch: BPF: Fix off-by-one error in build_prologue()

Modified
AliasesUBUNTU-CVE-2025-37893DEBIAN-CVE-2025-37893
Published 18-04-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-37893 is a high (CVSS 7.8) Off-by-one Error vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 18-04-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu83 products
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
  • linux-aws-5.13All versions (No fix recorded)
  • linux-aws-5.19All versions (No fix recorded)
Linux2 products
  • linux≥ 5dc615520c4dfb358245680f1904bad61116648e, < b3ffad2f02db4aace6799fe0049508b8925eae45 | ≥ 5dc615520c4dfb358245680f1904bad61116648e, < 205a2182c51ffebaef54d643e3745e720cded08b | ≥ 5dc615520c4dfb358245680f1904bad61116648e, < c74d95a5679741ef428974ab788f5b0758dc78ae | ≥ 5dc615520c4dfb358245680f1904bad61116648e, < 48b904de2408af5f936f0e03f48dfcddeab58aa0 | ≥ 5dc615520c4dfb358245680f1904bad61116648e, < 7e2586991e36663c9bc48c828b83eab180ad30a9 | 6.1
  • linux_kernel≥ 6.1, < 6.1.134 | ≥ 6.2, < 6.6.87 | ≥ 6.7, < 6.12.23 | ≥ 6.13, < 6.13.11 | ≥ 6.14, < 6.14.2
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.12.25-1

3 vendors · 86 products

References

11 links
Show all 11 references