CVE-2025-71270

LoongArch: Enable exception fixup for specific ADE subcode

State
Published
Severity
Not scored
Published
Mar 18, 2026
Updated
May 11, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c to before 73ede654d9daa2ee41bdd17bc62946fc5a0258cbAffected
  • dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c to before c49a28068363f3dca439aa5fe4d3b1f8159809feAffected
  • dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c to before c2ed4f71e9288f21d5c53ff790270758e60fa5f9Affected
  • dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c to before 9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.124 through 6.6.*Not affected
  • 6.12.70 through 6.12.*Not affected
  • 6.18.10 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.