Back to CVE catalog
CVE-2025-71270

LoongArch: Enable exception fixup for specific ADE subcode

Linux Linux

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

5.5Medium
Published:
Updated:
EPSS:
0.199%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
6.2Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 6.2; unaffected: ≥ 6.6.124, ≤ 6.6.*; unaffected: ≥ 6.12.70, ≤ 6.12.*; unaffected: ≥ 6.18.10, ≤ 6.18.*; unaffected: ≥ 6.19

Git commit ranges (source code)

  • From commit dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c; before commit 73ede654d9daa2ee41bdd17bc62946fc5a0258cb
  • From commit dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c; before commit c49a28068363f3dca439aa5fe4d3b1f8159809fe
  • From commit dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c; before commit c2ed4f71e9288f21d5c53ff790270758e60fa5f9
  • From commit dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c; before commit 9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0
Vendor:linuxlinux kernelAffected versions:
≥ 6.2, < 6.6.124Show full version range for linux kernel
≥ 6.7, < 6.12.70≥ 6.13, < 6.18.106.19
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:Not specifiedKernel
Environments (1)
  • Linux
Affected versions:
≥ 6.2.0, < 6.6.124Show full version range for Kernel
≥ 6.7.0, < 6.12.70≥ 6.13.0, < 6.18.10

1–3 of 3 · Page 1 of 1

CVSS scores and metrics1
[email protected] · NVD (Primary)Primary5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories12

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences