bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-29008

8.7high

uboot-tools2024.04in 4 of 4 releases

Reach uboot-tools · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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.

Published 2026-07-08NVD

CVSS 4.0Network · no privileges · no user interaction

How it is reached

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High

What it costs other systems

Confidentiality
None
Integrity
None
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References 4
Review Av26.10.0aarch64_minimalNot affected✓ accepted by a member, 2026-11-11 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

CVE-2026-29008 is in the U-Boot bootloader's TCP stack (net/tcp.c, tcp_rx_state_machine), which is only compiled into the u-boot.bin firmware image.

The uboot-tools package in this build invokes only the tools-only and envtools make targets, which compile tools/ and tools/env/ (mkimage, mkenvimage, fw_printenv, fit_check_sign) and never touch net/. The actual U-Boot bootloader package (BR2_TARGET_UBOOT) is not selected in this config at all.

Additionally, the 2024.04 source does not even contain the tcp_rx_state_machine()/tcp_rx_user_data() code the CVE describes (it has the older tcp_state_machine() with the wget-side store_block), so the specific vulnerable path post-dates this version anyway.

Document as N/A.

Evidence 9
  1. Target package builds only `tools-only` (CROSS_BUILD_TOOLS=y) and `envtools`; no u-boot.bin/bootloader build

    buildroot/package/uboot-tools/uboot-tools.mk:60-64 (UBOOT_TOOLS_BUILD_CMDS)

  2. Host package likewise builds only `tools-only` and `envtools`

    buildroot/package/uboot-tools/uboot-tools.mk:226-229 (HOST_UBOOT_TOOLS_BUILD_CMDS)

  3. `tools-only` runs `$(MAKE) $(build)=tools`, `envtools` runs `$(build)=tools/env`; net/ is never descended into

    output/build/uboot-tools-2024.04/Makefile:2128-2133

  4. No reference to net/ or tcp.c — the TCP stack is not linked into any host/target tool

    output/build/uboot-tools-2024.04/tools/Makefile

  5. Only userspace tools are installed to the rootfs; no bootloader binary

    buildroot/package/uboot-tools/uboot-tools.mk:103-109 (UBOOT_TOOLS_INSTALL_TARGET_CMDS) and output/target/usr/bin/{mkenvimage,fit_check_sign}, output/target/usr/sbin/fw_printenv

  6. `# BR2_TARGET_UBOOT is not set` — the U-Boot bootloader itself is not built for this product

    output/.config:3912

  7. Only BR2_PACKAGE_UBOOT_TOOLS_* / HOST_UBOOT_TOOLS_* options selected (FIT, signature, mkenvimage, fw_printenv, fdt_add_pubkey)

    configs/aarch64_minimal_defconfig:48-52,111-113

  8. 2024.04 has the older `tcp_state_machine()`; `tcp_rx_state_machine()` and `tcp_rx_user_data()` named in the CVE do not exist in this version (store_block is in net/wget.c:96, not net/tcp.c)

    output/build/uboot-tools-2024.04/net/tcp.c:503,544-571

  9. Three Buildroot patches (drop configh, tools-only in no-dot-config-targets, tools/Makefile CFLAGS) — all tools-build related, none touch net/

    output/build/uboot-tools-2024.04/.applied_patches_list

Version and patches

NVD range: U-Boot through 2026.04-rc3 (CPE denx:u-boot:2024.04 matches by version string). Fix is in U-Boot 2026.04 final / post-rc3 per the denx mailing list reference. No fix present in this 2024.04 tree and no Buildroot patch addresses it, but this is irrelevant: the uboot-tools package compiles only tools/ and tools/env/, never net/tcp.c, and the bootloader (BR2_TARGET_UBOOT) is not built. The 2024.04 source also predates the tcp_rx_state_machine() refactor the CVE describes.

Recommendation

No action required; document as N/A for uboot-tools (CVE applies to the U-Boot bootloader firmware's network stack, which is not compiled or shipped by this package). If a U-Boot bootloader is ever added via BR2_TARGET_UBOOT with CONFIG_PROT_TCP/wget enabled, re-evaluate against that package. Consider adding an IGNORE_CVES entry for uboot-tools, as upstream Buildroot does for other bootloader-only U-Boot CVEs.

Open questions

None material. I could not read the upstream fix commit (no network access), but the vulnerable file is demonstrably not part of the compiled output regardless of the exact fix hunk.

Members of Kernel Kit decide. Sign in if you are one.