CVE-2025-37893
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
LoongArch: BPF: Fix off-by-one error in build_prologue()
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5dc615520c4dfb358245680f1904bad61116648e | affected | git | b3ffad2f02db4aace6799fe0049508b8925eae45 | Unavailable | None listed |
| 5dc615520c4dfb358245680f1904bad61116648e | affected | git | 205a2182c51ffebaef54d643e3745e720cded08b | Unavailable | None listed |
| 5dc615520c4dfb358245680f1904bad61116648e | affected | git | c74d95a5679741ef428974ab788f5b0758dc78ae | Unavailable | None listed |
| 5dc615520c4dfb358245680f1904bad61116648e | affected | git | 48b904de2408af5f936f0e03f48dfcddeab58aa0 | Unavailable | None listed |
| 5dc615520c4dfb358245680f1904bad61116648e | affected | git | 7e2586991e36663c9bc48c828b83eab180ad30a9 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.1 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.1 | Unavailable | None listed |
| 6.6.87 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.23 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.13.11 | unaffected | semver | Unavailable | 6.13.* | None listed |
| 6.14.2 | unaffected | semver | Unavailable | 6.14.* | None listed |
| 6.15 | unaffected | original_commit_for_fix | Unavailable | * | None listed |