{"id":"CVE-2025-37822","published":"2025-05-08T06:26:16Z","modified":"2026-10-15T21:52:01Z","title":"riscv: uprobes: Add missing fence.i after building the XOL buffer","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: uprobes: Add missing fence.i after building the XOL buffer\n\nThe XOL (execute out-of-line) buffer is used to single-step the\nreplaced instruction(s) for uprobes. The RISC-V port was missing a\nproper fence.i (i$ flushing) after constructing the XOL buffer, which\ncan result in incorrect execution of stale/broken instructions.\n\nThis was found running the BPF selftests \"test_progs:\nuprobe_autoattach, attach_probe\" on the Spacemit K1/X60, where the\nuprobes tests randomly blew up.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00274,"percentile":0.20228,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/be6d98766ac952d38241d5a5b213f363afa421c3","tags":[]},{"url":"https://git.kernel.org/stable/c/b6d8d4d01ca8514fa89b05355f296758a91e2297","tags":[]},{"url":"https://git.kernel.org/stable/c/77c956152a3a7c7a18b68f3654f70565b2181d03","tags":[]},{"url":"https://git.kernel.org/stable/c/bcf6d3158c5902d92b6d62335af4422b7bf7c4e2","tags":[]},{"url":"https://git.kernel.org/stable/c/1dbb95a36499374c51b47ee8ae258a8862c20978","tags":[]},{"url":"https://git.kernel.org/stable/c/7d1d19a11cfbfd8bae1d89cc010b2cc397cd0c48","tags":[]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.05},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 74784081aac8a0f3636965fc230e2d3b7cc123c6, < be6d98766ac952d38241d5a5b213f363afa421c3",">= 74784081aac8a0f3636965fc230e2d3b7cc123c6, < b6d8d4d01ca8514fa89b05355f296758a91e2297",">= 74784081aac8a0f3636965fc230e2d3b7cc123c6, < 77c956152a3a7c7a18b68f3654f70565b2181d03",">= 74784081aac8a0f3636965fc230e2d3b7cc123c6, < bcf6d3158c5902d92b6d62335af4422b7bf7c4e2",">= 74784081aac8a0f3636965fc230e2d3b7cc123c6, < 1dbb95a36499374c51b47ee8ae258a8862c20978",">= 74784081aac8a0f3636965fc230e2d3b7cc123c6, < 7d1d19a11cfbfd8bae1d89cc010b2cc397cd0c48"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:45:27.323225Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-13962","exploited":false,"provenance":"source"}}