| 제목 | RT-Thread 5.3.0; master before commit 47831b738626b93c6d5700f41b7d52f9253f9625 Denial of Service |
|---|
| 설명 | Summary:
The RT-Thread 9PFS client parses packed Rstat reply fields by casting unaligned buffer addresses to 64-bit pointers and dereferencing them. On ARMv7-A, the compiler can emit an unaligned LDRD instruction. A normal Rstat response from a 9P server can therefore cause a kernel data abort while opening or inspecting a 9P file.
Affected component:
components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c
Functions get_rx_value64_of(), dfs_9pfs_open(), and dfs_9pfs_stat().
Technical details:
The allocated p9_connection structure causes the receive buffer to be misaligned relative to the Rstat size field. The parser accesses that field as a 64-bit value without first copying it into an aligned local variable. Testing with an ordinary 9P server produced an ARMv7-A alignment fault in the stat or open path and caused the kernel to shut down. A malformed reply is not required to trigger the reported fault.
Impact:
A remote 9P server can trigger a kernel data abort in an affected client, resulting in denial of service.
Attack requirements:
The client must run on an affected 32-bit ARM target with DFS v1 and 9PFS enabled and must interact with a 9P server.
Weakness:
CWE-704 Incorrect Type Conversion or Cast
CVSS 3.1:
7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix:
Commit 47831b738626b93c6d5700f41b7d52f9253f9625 changes the packed-field accessors to copy values into aligned local variables before decoding them. No numbered fixed release was identified when this report was prepared. Affected users should update to a release containing this commit or backport the patch.
Public disclosure:
The vulnerability was publicly reported in the RT-Thread GitHub issue tracker on 2026-10-15. The upstream fix was merged on 2026-11-05.
References:
https://github.com/RT-Thread/rt-thread/issues/11868
https://github.com/RT-Thread/rt-thread/pull/11876
https://github.com/RT-Thread/rt-thread/commit/47831b738626b93c6d5700f41b7d52f9253f9625
Reporter:
XueDugu (https://github.com/XueDugu)
|
|---|
| 원천 | ⚠️ https://github.com/RT-Thread/rt-thread/issues/11868 |
|---|
| 사용자 | BenSmith (UID 102206) |
|---|
| 제출 | 2026. 11. 05. AM 06:49 (24 날 ago) |
|---|
| 모더레이션 | 2026. 11. 28. PM 10:15 (24 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 445136 [RT-Thread 5.3.0 9PFS Filesystem Driver dfs_9pfs.c get_rx_value64_of 권한 상승] |
|---|
| 포인트들 | 20 |
|---|