Uprobe Handling Issue in Linux Kernel Affects RISC-V Architecture
CVE-2022-50225
What is CVE-2022-50225?
A vulnerability in the Linux Kernel affects the RISC-V architecture due to improper handling of uprobe operations. The issue arises when the system attempts to clear and set the spie register during the execution of fetched instructions. If a page fault occurs while accessing the instruction pages, it can lead to unexpected behavior, as interrupts are disabled. The original implementation is flawed as the clearing and setting of spie in the relevant pre and post functions is unnecessary. This oversight can result in warnings and may disrupt kernel operations, underscoring the importance of maintaining robust kernel functionality.
Affected Version(s)
Linux 74784081aac8a0f3636965fc230e2d3b7cc123c6
Linux 74784081aac8a0f3636965fc230e2d3b7cc123c6 < 3811d51778900064d27d8c9a98f73410fb3b471d
Linux 74784081aac8a0f3636965fc230e2d3b7cc123c6 < 73fc099eaefd9a92c83b6c07dad066411fd5a192