Skip to main content
Network Thinking Solutions Logo

CVE-2025-37893

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.

All CVEs
CVE-2025-37893Published 4/18/2025

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
4/18/2025
Last modified
7/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.1, < 6.1.134

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.87

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.23

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.11

Verify advisory

Source
linux kernel
linux
≥ 6.14, < 6.14.2

Verify advisory

Source
Linux
Linux
≥ 5dc615520c4dfb358245680f1904bad61116648e, < b3ffad2f02db4aace6799fe0049508b8925eae45

Verify advisory

Source
Linux
Linux
≥ 5dc615520c4dfb358245680f1904bad61116648e, < 205a2182c51ffebaef54d643e3745e720cded08b

Verify advisory

Source
Linux
Linux
≥ 5dc615520c4dfb358245680f1904bad61116648e, < c74d95a5679741ef428974ab788f5b0758dc78ae

Verify advisory

Source
Linux
Linux
≥ 5dc615520c4dfb358245680f1904bad61116648e, < 48b904de2408af5f936f0e03f48dfcddeab58aa0

Verify advisory

Source
Linux
Linux
≥ 5dc615520c4dfb358245680f1904bad61116648e, < 7e2586991e36663c9bc48c828b83eab180ad30a9

Verify advisory

Source
Linux
Linux
6.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.