BPF Vulnerability in Linux Kernel Affects LoongArch Architecture
CVE-2025-37893

Currently unrated

Key Information:

Vendor
Linux
Status
Vendor
CVE Published:
18 April 2025

Summary

A vulnerability in the Linux kernel, specifically affecting the LoongArch architecture, has been identified concerning BPF programs utilizing tail calls. When executing these programs, a hard lockup occurs due to an off-by-one error in the JIT compilation process. This error arises from a mismatch in instruction generation during two compilation passes, leading to an incorrect epilogue offset. The fault results in jumping to unexpected instructions, causing system instability. The issue has been mitigated by introducing a nop instruction to correct the epilogue offset, enhancing the reliability of BPF operations on affected systems.

Affected Version(s)

Linux 5dc615520c4dfb358245680f1904bad61116648e

Linux 5dc615520c4dfb358245680f1904bad61116648e

Linux 5dc615520c4dfb358245680f1904bad61116648e < 205a2182c51ffebaef54d643e3745e720cded08b

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.