CVE-2025-71270: LoongArch: Enable exception fixup for specific ADE subcode
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Enable exception fixup for specific ADE subcode
This patch allows the LoongArch BPF JIT to handle recoverable memory access errors generated by BPFPROBEMEM instructions.
When a BPF program performs memory access operations, the instructions it executes may trigger ADEM exceptions. The kernel’s built-in BPF exception table mechanism (EXTYPEBPF) will generate corresponding exception fixup entries in the JIT compilation phase; however, the architecture-specific trap handling function needs to proactively call the common fixup routine to achieve exception recovery.
doade(): fix EXTYPEBPF memory access exceptions for BPF programs, ensure safe execution.
Relevant test cases: illegal address access tests in moduleattach and subprogsextable of selftests/bpf.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-71270?
The severity of CVE-2025-71270 is moderate as it involves recoverable memory access errors.
How do I fix CVE-2025-71270?
To fix CVE-2025-71270, update to the latest version of the Linux kernel that includes the patch for this vulnerability.
What types of systems are affected by CVE-2025-71270?
CVE-2025-71270 affects systems running the Linux kernel that utilize the LoongArch architecture.
Can CVE-2025-71270 lead to system crashes?
Yes, CVE-2025-71270 can potentially lead to system instability or crashes due to memory access errors if not patched.
Is there a workaroud for CVE-2025-71270?
Currently, the best workaround for CVE-2025-71270 is to ensure your system is updated with the kernel version that addresses this vulnerability.