CVE-2025-37822

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37822
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37822.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37822
Downstream
Published
2025-05-08T07:15:53Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

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 "testprogs: uprobeautoattach, attach_probe" on the Spacemit K1/X60, where the uprobes tests randomly blew up.

References

Affected packages