CVE-2025-71270
LoongArch: Enable exception fixup for specific ADE subcode
Check your servers for CVE-2025-71270
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71270 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.59% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c, before 73ede654d9daa2ee41bdd17bc62946fc5a0258cb affected from dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c, before c49a28068363f3dca439aa5fe4d3b1f8159809fe affected from dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c, before c2ed4f71e9288f21d5c53ff790270758e60fa5f9 affected from dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c, before 9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.124 up to and including 6.6.* unaffected from 6.12.70 up to and including 6.12.* unaffected from 6.18.10 up to and including 6.18.* unaffected 6.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71270 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71270
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-71270
trivy image --scanners vuln IMAGE | grep CVE-2025-71270
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/73ede654d9daa2ee41bdd17bc62946fc5a0258cb git.kernel.org
- https://git.kernel.org/stable/c/c49a28068363f3dca439aa5fe4d3b1f8159809fe git.kernel.org
- https://git.kernel.org/stable/c/c2ed4f71e9288f21d5c53ff790270758e60fa5f9 git.kernel.org
- https://git.kernel.org/stable/c/9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0 git.kernel.org
Source: the record CVE-2025-71270 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse