bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-74222

8.8high

uboot-tools2024.04in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

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

full reviewcross-check✓ a member decided

Description · NVD

U-Boot before 2026.10-rc5 contains a use-after-free vulnerability in the httpc_recv_cb() function within the lwIP wget implementation. When HTTP data storage fails, the callback frees the connection PCB but returns ERR_BUF instead of ERR_ABRT, causing the TCP input path to access released memory and crash the bootloader.

Published 2026-09-29NVD

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
Low
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:L/VA:H/SC:N/SI:N/SA:N

References 4
Review Av26.10.0x86_64False positive✓ accepted by a member, 2026-11-20 · settles 8 of 8

Fable 5.2 · high confidence · 2026-11-19

CVE-2026-74222 is in httpc_recv_cb() in net/lwip/wget.c, the lwIP-based wget of the U-Boot bootloader. The 2024.04 source this build uses has no net/lwip/ directory, and a search of the whole source tree finds no httpc_recv_cb, no httpc_ symbol and no mention of lwIP. NVD's "before 2026.10-rc5" range therefore sweeps in a release that does not contain the code.

The product mapping is also wrong for this package: uboot-tools builds only the userspace tools-only and envtools targets and installs fit_check_sign, mkenvimage and fw_printenv/fw_setenv. No bootloader network code is built, and BR2_TARGET_UBOOT is not set, so no U-Boot bootloader comes from this config at all.

NOT_AFFECTED would be an equally defensible label, since the vulnerable code is simply absent; I chose FALSE_POSITIVE because the root cause is the over-broad range and the shared denx:u-boot CPE.

Evidence 9
  1. The directory has no `lwip/` subdirectory. It holds only the legacy stack, including `net/wget.c`, which is a different implementation from the one the CVE names.

    output/build/uboot-tools-2024.04/net/

  2. No matches anywhere in the source tree: neither the vulnerable function nor the lwIP stack is present.

    output/build/uboot-tools-2024.04 (search for `httpc_recv_cb`, `httpc_`, `ERR_ABRT`, and case-insensitive `lwip`)

  3. `VERSION = 2024`, `PATCHLEVEL = 04`, empty `EXTRAVERSION`: this is the plain 2024.04 release.

    output/build/uboot-tools-2024.04/Makefile:3-6

  4. Only the `tools-only` and `envtools` make targets are built; the bootloader and its `net/` code are never compiled.

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

  5. Only userspace tool binaries can be installed to the target: `mkimage`, `mkeficapsule`, `mkenvimage`, `fw_printenv`, `dumpimage`, `fit_check_sign`.

    buildroot/package/uboot-tools/uboot-tools.mk:103-110 (UBOOT_TOOLS_INSTALL_TARGET_CMDS)

  6. `UBOOT_TOOLS_CPE_ID_VENDOR = denx` and `UBOOT_TOOLS_CPE_ID_PRODUCT = u-boot`: the tools package shares the bootloader's CPE, which is why NVD matching flags it.

    buildroot/package/uboot-tools/uboot-tools.mk:12-13

  7. `BR2_PACKAGE_UBOOT_TOOLS=y` with `FIT_CHECK_SIGN`, `MKENVIMAGE` and `FWPRINTENV` enabled; `MKIMAGE` and `DUMPIMAGE` are not set.

    output/.config:1423-1430

  8. `# BR2_TARGET_UBOOT is not set`: no U-Boot bootloader is built by this x86_64 config.

    output/.config:3998

  9. The three applied patches (`0001-drop-configh-from-tools.patch`, `0002-tools-only-in-no-dot-config-targets.patch`, `0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch`) only touch the tools build; none adds lwIP or wget code.

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

Version and patches

NVD gives the affected range as U-Boot before 2026.10-rc5, with the fix in upstream commit 2d94618a58aeb7630f18eee33419ce48d0fd3616. The vulnerable file net/lwip/wget.c is absent from the 2024.04 source in output/build/uboot-tools-2024.04/. From memory, not checked against upstream here, the lwIP stack was first merged in U-Boot 2025.01, so the real affected range would start there. None of the three Buildroot patches is relevant. No fix is needed because the code is not there.

Recommendation

Document as not applicable; no upgrade or backport is needed for uboot-tools.

To suppress the recurring match, consider adding UBOOT_TOOLS_IGNORE_CVES += CVE-2026-74222 with a note that 2024.04 has no net/lwip/ and that only userspace tools are built.

Separately, triage this CVE against any actual U-Boot bootloader builds for other Infix boards (BR2_TARGET_UBOOT=y configs at 2025.01 or later with CONFIG_NET_LWIP and CONFIG_CMD_WGET); that is where it could matter.

Open questions

I did not have network access to the upstream advisory or the fix commit, so the release that introduced net/lwip/wget.c (2025.01, to my recollection) is not confirmed from upstream. The conclusion does not depend on it, because the file and symbol are absent from this tree.

One combined shell command was blocked by the sandbox. It would have listed built object files and searched for in-tree callers of fw_printenv and fit_check_sign. A narrower search for *.o files in the build directory returned nothing, so I could not confirm from build artefacts which objects were compiled; the build-scope evidence comes from uboot-tools.mk instead.

Other Infix defconfigs (for example aarch64 boards) that build a U-Boot bootloader were out of scope for this review.

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