U-Boot NFS READLINK Buffer Overflow Lets Malicious Servers Corrupt Client State
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jul 8, 2026

A high-severity flaw tracked as CVE-2026-29009 affects U-Boot through 2026.04-rc3 in the nfs_readlink_reply() function within net/nfs-common.c. The vulnerability is present when CONFIG_CMD_NFS is enabled and stems from missing cumulative length validation while appending multiple relative symlink targets returned by an NFS server during READLINK handling.
A malicious or compromised NFS server can trigger the bug by sending two or more READLINK responses with symlink targets of about 1100 bytes each, overflowing the 2048-byte nfs_path_buff buffer. The overflow can corrupt adjacent BSS variables including nfs_server_ip, nfs_server_mount_port, nfs_server_port, nfs_our_port, nfs_state, and rpc_id, creating a path to memory corruption and possible attacker control over the U-Boot NFS client state machine.
Why it matters
Impact assessment
This flaw affects systems that use U-Boot as a bootloader and rely on NFS boot or NFS-based file retrieval with CONFIG_CMD_NFS enabled. The primary exposure is embedded devices, appliances, network equipment, industrial systems, and development environments that trust an external or shared NFS server during boot or recovery workflows.
Impact is high because a malicious or compromised NFS server can corrupt U-Boot client memory before the operating system starts, potentially disrupting boot operations and altering NFS client state. The exposure is targeted rather than internet-wide by default, but it is significant in environments where devices boot from centralized NFS infrastructure or where attackers can tamper with network boot paths.
Supporting details
- Affected product: U-Boot through
2026.04-rc3 - Affected configuration:
CONFIG_CMD_NFSenabled - Attack prerequisite: device must interact with a malicious or compromised NFS server
- Likely affected sectors:
- Embedded device manufacturers
- Industrial and OT environments using network boot or recovery
- Telecom and network appliance operators
- Lab, CI, and firmware development environments using NFS boot
- Potential consequences:
- Boot failure or instability
- Memory corruption in pre-OS environment
- Corruption of NFS client state variables
- Possible attacker influence over the U-Boot NFS client state machine
- Scope of exposure:
- Not all U-Boot deployments are exposed
- Exposure is concentrated in deployments using NFS features and reachable untrusted NFS infrastructure
- Exploitation in the wild:
- No confirmed in-the-wild exploitation stated in the provided references


