What’s Vulnerable › Vulnerabilities
CVE-2025-71270: LoongArch: Enable exception fixup for specific ADE subcode
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-18 · updated 2026-06-17
Description
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 BPF_PROBE_MEM* 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 (EX_TYPE_BPF) 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. do_ade(): fix EX_TYPE_BPF memory access exceptions for BPF programs, ensure safe execution. Relevant test cases: illegal address access tests in module_attach and subprogs_extable of selftests/bpf.
Affected products
- Linux kernel: from 6.2 before 6.6.124; from 6.7 before 6.12.70; from 6.13 before 6.18.10; 6.19-rc1, 6.19-rc2, 6.19-rc3 — fixed in 6.12.70, 6.18.10, 6.6.124
How to fix
Upgrade to a fixed version: Linux kernel 6.12.70, 6.18.10, 6.6.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/73ede654d9daa2ee41bdd17bc62946fc5a0258cb
- https://git.kernel.org/stable/c/9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0
- https://git.kernel.org/stable/c/c2ed4f71e9288f21d5c53ff790270758e60fa5f9
- https://git.kernel.org/stable/c/c49a28068363f3dca439aa5fe4d3b1f8159809fe
Get alerted when CVE-2025-71270 or the next vulnerability affects your stack