CVE-2025-37822: Missing instruction-cache synchronization in Linux RISC-V uprobes
- Vendor
- Linux
CVE-2025-37822 affects the Linux kernel's RISC-V uprobes implementation. The execute-out-of-line (XOL) buffer, used to single-step instructions replaced by uprobes, is constructed without the required fence.i instruction-cache synchronization. Consequently, the processor can execute stale or broken instructions instead of the newly constructed instructions. The defect caused unpredictable failures during BPF uprobe selftests on Spacemit K1/X60 hardware.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected RISC-V systems can execute incorrect instructions during uprobe single-stepping, causing unreliable behavior, instability, and potential crashes. Specific confidentiality impacts, privilege escalation, or attacker-controlled code execution are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid or limit uprobe-based tracing and BPF uprobe selftests on affected RISC-V systems. Restrict access to BPF loading, probe attachment, and tracing facilities, including CAP_BPF and CAP_SYS_ADMIN where applicable. These measures reduce exposure but do not correct the missing instruction-cache synchronization.
Remediation
Patch, then assume compromise.
Install a vendor-supported Linux kernel update containing the fix that adds instruction-cache synchronization after construction of the RISC-V uprobes XOL buffer, or backport that fix and deploy the patched kernel. For Echo distributions, update the linux package and related packages to version 6.1.164-1 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-37822 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2025-37822 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-37822?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2025-37822.
- Is there a patch for CVE-2025-37822?
- Install a vendor-supported Linux kernel update containing the fix that adds instruction-cache synchronization after construction of the RISC-V uprobes XOL buffer, or backport that fix and deploy the patched kernel. For Echo distributions, update the linux package and related packages to version 6.1.164-1 or later.
- What products are affected by CVE-2025-37822?
- Linux Kernel.
- How severe is CVE-2025-37822?
- CVE-2025-37822 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.27% (20th percentile) as of Oct 16, 2026.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.