CVE-2025-37822 Details
Description
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.
A vulnerability in the Linux kernel's RISC-V uprobes implementation has been addressed. The issue involved the XOL (execute out-of-line) buffer, which is used for single-stepping replaced instructions during uprobes. The RISC-V port failed to include a necessary instruction flush after creating the XOL buffer, potentially leading to the execution of outdated or corrupted instructions. This vulnerability was identified while running BPF self-tests on the Spacemit K1/X60, where the uprobes tests encountered random failures.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1dbb95a36499374c51b47ee8ae258a8862c20978 | kernel.org | Patch |
| https://git.kernel.org/stable/c/77c956152a3a7c7a18b68f3654f70565b2181d03 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7d1d19a11cfbfd8bae1d89cc010b2cc397cd0c48 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b6d8d4d01ca8514fa89b05355f296758a91e2297 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bcf6d3158c5902d92b6d62335af4422b7bf7c4e2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/be6d98766ac952d38241d5a5b213f363afa421c3 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.12, < 6.12.26 >= 6.13, < 6.14.5 6.15 rc1 6.15 rc2 6.15 rc3 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 17, 2026 | Modified Analysis | [email protected] |
| Feb 12, 2026 | CVE Modified | kernel.org |
| Jan 17, 2026 | CVE Modified | kernel.org |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| May 8, 2025 | New CVE Received | kernel.org |