CVE-2025-37822

CVE-2025-37822

High · published May 8, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
18.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00274 · 18.7th percentile
Published
2025-05-08T11:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.12, < 6.12.266.12.26
linux/linux_kernel≥ 6.13, < 6.14.56.14.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 08 MAY 06:26Z
    riscv: uprobes: Add missing fence.i after building the XOL buffer
    cvelistv5