CVE-2025-37893LoongArch: BPF: Fix off-by-one error in build_prologue()
- 7.8HighCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 79% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 2 days later
· 2 days later
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.29% · top 79% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 5dc615520c4dfb358245680f1904bad61116648e – < b3ffad2f02db4aace6799fe0049508b8925eae45
- affected 5dc615520c4dfb358245680f1904bad61116648e – < 205a2182c51ffebaef54d643e3745e720cded08b
- affected 5dc615520c4dfb358245680f1904bad61116648e – < c74d95a5679741ef428974ab788f5b0758dc78ae
- affected 5dc615520c4dfb358245680f1904bad61116648e – < 48b904de2408af5f936f0e03f48dfcddeab58aa0
- affected 5dc615520c4dfb358245680f1904bad61116648e – < 7e2586991e36663c9bc48c828b83eab180ad30a9
- affected 6.1
- unaffected < 6.1
- unaffected 6.6.87 – ≤ 6.6.*
- unaffected 6.12.23 – ≤ 6.12.*
- unaffected 6.13.11 – ≤ 6.13.*
- unaffected 6.14.2 – ≤ 6.14.*
- unaffected 6.15 – ≤ *
References
References5
- https://git.kernel.org/stable/c/b3ffad2f02db4aace6799fe0049508b8925eae45 (opens in a new tab)
- https://git.kernel.org/stable/c/205a2182c51ffebaef54d643e3745e720cded08b (opens in a new tab)
- https://git.kernel.org/stable/c/c74d95a5679741ef428974ab788f5b0758dc78ae (opens in a new tab)
- https://git.kernel.org/stable/c/48b904de2408af5f936f0e03f48dfcddeab58aa0 (opens in a new tab)
- https://git.kernel.org/stable/c/7e2586991e36663c9bc48c828b83eab180ad30a9 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-11829 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-37893)Record last updated .