RT-Thread Information Disclosure Vulnerability in System Call Parameter Handling

Vulnerability

An information disclosure vulnerability has been identified in RT-Thread versions through 5.1.0. The issue arises in the system call implementations within the file 'rt-thread/components/lwp/lwp_syscall.c'. Affected functions include 'sys_thread_create', 'sys_device_write', and several others related to synchronization, messaging, and timer management. The vulnerability stems from insufficient validation of pointer parameters, allowing a malicious user thread to manipulate arguments and access sensitive kernel memory, thereby leaking confidential information.

Impact

Exploitation of this vulnerability leads to unauthorized access to sensitive kernel data, breaking user-kernel isolation and potentially allowing privilege escalation.

Reproduction

The vulnerability can be reproduced by crafting a user thread that passes unvalidated pointer arguments to the affected system calls. This can be done by manipulating the 'arg[0]' parameter in 'sys_thread_create' or similar parameters in other syscalls that handle kernel object and buffer pointers.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
4.6
remediation
0.0
relevance
0.0
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.