Linux Kernel Uprobe Handling Vulnerability in RISC-V Architecture

Vulnerability

A vulnerability has been identified in the Linux kernel's handling of uprobes on RISC-V architecture. The issue arises because the uprobe process incorrectly clears and sets the 'spie' register, which can lead to a page fault when accessing the original instruction. This fault occurs while interrupts are disabled, causing a warning about sleeping functions being called from an invalid context. The vulnerability is related to improper register management during the uprobe process, which can disrupt normal execution flow and trigger kernel warnings.

Impact

Exploitation of this vulnerability can lead to kernel warnings about invalid context handling, indicating potential disruptions in the normal execution flow of the kernel.

Added: Jun 18, 2025, 1:04 PM
Updated: Jun 18, 2025, 1:04 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.2
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.