CVE-2025-71270

MEDIUM

LoongArch: Enable exception fixup for specific ADE subcode

Title source: cna
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 4.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (21)
linux/Kernel 6.13.0 - 6.18.10linux
linux/Kernel 6.2.0 - 6.6.124linux
linux/Kernel 6.7.0 - 6.12.70linux
Linux/Linux < 6.2
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 73ede654d9daa2ee41bdd17bc62946fc5a0258cb
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - b9d9a221bd14ed4b01d113701976fa376762c544
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - c2ed4f71e9288f21d5c53ff790270758e60fa5f9
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - c49a28068363f3dca439aa5fe4d3b1f8159809fe
Linux/Linux 6.1.163 - 6.1.*
... and 11 more
Published Mar 18, 2026
Tracked Since Mar 18, 2026