RT-Thread's 9PFS Receiver Trusted a Network Length Too Far
CVE-2026-138311 affects RT-Thread 5.3.0 and the development branch before commit 47831b738626b93c6d5700f41b7d52f9253f9625. The defect is in get_rx_value64_of() in the 9PFS filesystem driver. The function converts data received from a 9P peer without adequately constraining that value. A remote, unauthenticated peer can cause the denial-of-service condition described by the advisory. CVSS 4.0 rates the availability impact as high.
An embedded filesystem driver is easy to overlook during patch planning. It may be disabled in the product's default build or reachable only from a management network. When 9PFS is enabled and the device accepts 9P traffic, however, the parser is part of the attack surface and a crash can affect more than the filesystem client.
What to verify
First establish whether the firmware image includes the 9PFS driver and whether the product mounts, exports or proxies 9P shares. A build-time configuration alone is not enough. Confirm which network interfaces and access controls can reach the service and whether the device restarts automatically after a parser failure.
Review crash logs and reset events for patterns tied to malformed 9P messages, but treat absence of a crash as weak evidence. The advisory does not provide a complete packet signature, and an availability flaw may leave little forensic detail. Collect firmware version, build commit, enabled components and 9P peer allowlists for each affected model.
Reduce exposure and patch
Remove 9PFS from products that do not need it. Where the service is required, isolate it from general user networks, allow only known peers, and avoid exposing it to the public internet. Add restart and watchdog limits so repeated parser faults do not hide a sustained attack. Preserve serial or persistent crash records when the hardware supports them.
Apply the upstream commit or a vendor firmware release that contains it. Re-test both normal file operations and malformed-message handling, then verify that the service binding and firewall rules match the intended design. The advisory describes a denial-of-service condition, so availability testing is part of patch validation.
Top comments (0)