CVE-2025-37822 json
riscv: uprobes: Add missing fence.i after building the XOL buffer
published 2025-05-08 18 mo ago modified 2026-10-15 24 d ago also EUVD-2025-13962
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.200, 6.1.163, 6.6.121, 6.12.26, 6.14.5, 6.15
- linux Debian 12 6.1.164-1
- linux Debian 14, Debian 13 6.12.27-1
debian advisories DEBIAN-CVE-2025-37822
- linux Ubuntu 22.04 LTS 5.15.0-185.195
- linux Ubuntu 24.04 LTS 6.8.0-100.100
- linux-aws Ubuntu 22.04 LTS 5.15.0-1111.118
- linux-aws Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1111.121
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1047.50
- linux-gke Ubuntu 22.04 LTS 5.15.0-1107.113
- linux-gke Ubuntu 24.04 LTS 6.8.0-1043.48
ubuntu advisories UBUNTU-CVE-2025-37822
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/be6d98766ac952d38241d5a5b213f363afa421c3 commit
- git.kernel.org/stable/c/b6d8d4d01ca8514fa89b05355f296758a91e2297 commit
- git.kernel.org/stable/c/77c956152a3a7c7a18b68f3654f70565b2181d03 commit
- git.kernel.org/stable/c/bcf6d3158c5902d92b6d62335af4422b7bf7c4e2 commit
- git.kernel.org/stable/c/1dbb95a36499374c51b47ee8ae258a8862c20978 commit
- git.kernel.org/stable/c/7d1d19a11cfbfd8bae1d89cc010b2cc397cd0c48 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-37822 updated cvss 5.5
kernel: riscv: uprobes: Add missing fence.i after building the XOL buffer
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/be6d98766ac952d38241d5a5b213f363afa421c3
patch
-
git.kernel.org
/stable/c/b6d8d4d01ca8514fa89b05355f296758a91e2297
patch
-
git.kernel.org
/stable/c/77c956152a3a7c7a18b68f3654f70565b2181d03
patch
-
git.kernel.org
/stable/c/bcf6d3158c5902d92b6d62335af4422b7bf7c4e2
patch
-
git.kernel.org
/stable/c/1dbb95a36499374c51b47ee8ae258a8862c20978
patch
-
git.kernel.org
/stable/c/7d1d19a11cfbfd8bae1d89cc010b2cc397cd0c48
patch
Sources
- CVE List CVE-2025-37822
- NVD CVE-2025-37822
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.