CVE Catalog

CVE-2025-37822

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

In the Linux kernel for RISC-V, the uprobes implementation is missing a fence.i instruction after building the XOL buffer. This can lead to execution of stale instructions due to lack of instruction cache flushing.

Risk Assessment

This vulnerability can cause random crashes of user programs when using uprobes, complicating debugging and leading to unpredictable system behavior.

Recommendation

Apply the Linux kernel patch that adds fence.i after building the XOL buffer for uprobes.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: riscv: uprobes: Add missing fence.i after building the XOL buffer The XOL (execute out-of-line) buffer is used to single-step the replaced instruction(s) for uprobes. The RISC-V port was missing a proper fence.i (i$ flushing) after constructing the XOL buffer, which can result in incorrect execution of stale/broken instructions. This was found running the BPF selftests "test_progs: uprobe_autoattach, attach_probe" on the Spacemit K1/X60, where the uprobes tests randomly blew up.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS