CVE-2025-37822
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
08/05/2025
Last modified:
08/05/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
riscv: uprobes: Add missing fence.i after building the XOL buffer<br />
<br />
The XOL (execute out-of-line) buffer is used to single-step the<br />
replaced instruction(s) for uprobes. The RISC-V port was missing a<br />
proper fence.i (i$ flushing) after constructing the XOL buffer, which<br />
can result in incorrect execution of stale/broken instructions.<br />
<br />
This was found running the BPF selftests "test_progs:<br />
uprobe_autoattach, attach_probe" on the Spacemit K1/X60, where the<br />
uprobes tests randomly blew up.