RT-Thread Array Index Vulnerability in sys_sigprocmask Function

Vulnerability

A critical vulnerability exists in RT-Thread version 5.1.0 within the sys_sigprocmask system call. The issue arises from inadequate validation of the 'how' parameter, which is used as an array index without proper bounds checking. This flaw can lead to out-of-bounds memory access, potentially causing kernel crashes and unauthorized access to kernel memory, with implications for privilege escalation.

Impact

Exploitation of this vulnerability can cause a kernel crash, leading to a denial-of-service condition. Additionally, in some cases, it could be used to access kernel memory, allowing for privilege escalation.

Reproduction

The vulnerability can be reproduced by manipulating the 'how' parameter in the sys_sigprocmask function. This can be done by sending a user thread request that includes an invalid 'how' value, which will be processed without proper validation, leading to out-of-bounds array access.

Added: Jun 9, 2025, 7:25 AM
Updated: Jun 9, 2025, 7:25 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
4.6
remediation
0.0
relevance
0.2
threat
6.4
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.