cveboard RSS feed

CVE-2025-37893

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

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
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5dc615520c4dfb358245680f1904bad61116648eaffectedgitb3ffad2f02db4aace6799fe0049508b8925eae45UnavailableNone listed
5dc615520c4dfb358245680f1904bad61116648eaffectedgit205a2182c51ffebaef54d643e3745e720cded08bUnavailableNone listed
5dc615520c4dfb358245680f1904bad61116648eaffectedgitc74d95a5679741ef428974ab788f5b0758dc78aeUnavailableNone listed
5dc615520c4dfb358245680f1904bad61116648eaffectedgit48b904de2408af5f936f0e03f48dfcddeab58aa0UnavailableNone listed
5dc615520c4dfb358245680f1904bad61116648eaffectedgit7e2586991e36663c9bc48c828b83eab180ad30a9UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.1affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.1UnavailableNone listed
6.6.87unaffectedsemverUnavailable6.6.*None listed
6.12.23unaffectedsemverUnavailable6.12.*None listed
6.13.11unaffectedsemverUnavailable6.13.*None listed
6.14.2unaffectedsemverUnavailable6.14.*None listed
6.15unaffectedoriginal_commit_for_fixUnavailable*None listed