U-Boot through 2026.04-rc3 contains an integer underflow...
High severity
Unreviewed
Published
Jul 8, 2026
to the GitHub Advisory Database
•
Updated Jul 13, 2026
Description
Published by the National Vulnerability Database
Jul 8, 2026
Published to the GitHub Advisory Database
Jul 8, 2026
Last updated
Jul 13, 2026
U-Boot through 2026.04-rc3 contains an integer underflow vulnerability in the tcp_rx_state_machine() function (net/tcp.c) that allows a network-adjacent attacker to crash the bootloader by sending a malformed TCP SYN+ACK packet with a manipulated data offset field causing payload_len to become negative. When the TCP_SYN_SENT handler calls tcp_rx_user_data() without invoking tcp_seg_in_wnd() validation, the negative payload_len is implicitly converted to a large unsigned integer (e.g., 0xFFFFFFD8) and passed to memcpy() in store_block(), causing an immediate crash that prevents device boot and may enable memory corruption when CONFIG_LMB is disabled.
References