bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-74220

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 buffer overflow in nfs_read_reply() function in net/nfs-common.c that allows attackers to corrupt memory by supplying crafted NFS READ reply lengths. A malicious NFS server can exploit signed integer handling to bypass length validation and write far past the destination buffer, crashing the bootloader or corrupting memory.

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_64Not affected✓ accepted by a member, 2026-11-20 · settles 8 of 8

Fable 5.2 · high confidence · 2026-11-19

The CVE is in the U-Boot bootloader's NFS client (nfs_read_reply()), which only runs inside a U-Boot bootloader binary that network-boots from an NFS server. The uboot-tools package builds only the userspace host/target utilities (tools-only and envtools targets) and installs fw_printenv/fw_setenv, mkenvimage and fit_check_sign; none of these compile or link net/nfs.c.

The unfixed source is present in the unpacked tarball (net/nfs.c still has the signed int rlen check), but it is dead source in this build: net/nfs.o is gated on CONFIG_CMD_NFS, the tools build has an empty auto.conf, and tools/Makefile and tools/env/Makefile reference nothing under net/.

No U-Boot bootloader is built for this image either (BR2_TARGET_UBOOT is not set; the bootloader is Barebox), so the vulnerable function is not in the product at all.

Evidence 12
  1. `BR2_PACKAGE_UBOOT_TOOLS=y` with only FIT support, `fit_check_sign`, `mkenvimage` and `fw_printenv` selected; `mkimage` and `dumpimage` are off.

    output/.config:1423-1430

  2. The defconfig selects `uboot-tools` directly for the target, as a set of userspace tools.

    configs/x86_64_defconfig:46-50

  3. The build runs only `make ... CROSS_BUILD_TOOLS=y tools-only` and `make ... envtools`; no bootloader image is built.

    buildroot/package/uboot-tools/uboot-tools.mk (UBOOT_TOOLS_BUILD_CMDS)

  4. Only `tools/mkenvimage`, `tools/env/fw_printenv` (plus the `fw_setenv` symlink) and `tools/fit_check_sign` are installed to the target for this configuration.

    buildroot/package/uboot-tools/uboot-tools.mk (UBOOT_TOOLS_INSTALL_TARGET_CMDS)

  5. `obj-$(CONFIG_CMD_NFS) += nfs.o`: the NFS client is compiled only when `CONFIG_CMD_NFS` is set in a bootloader configuration.

    output/build/uboot-tools-2024.04/net/Makefile:22

  6. Contains only `CONFIG_FIT_PRINT`, `CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE`, `CONFIG_TOOLS_FIT_SIGNATURE` and `CONFIG_TOOLS_FIT_RSASSA_PSS`; `include/config/auto.conf` is an empty file, so `CONFIG_CMD_NFS` is not defined.

    output/build/uboot-tools-2024.04/include/generated/autoconf.h

  7. `envtools` and `tools-only` depend only on `scripts_basic`, version headers and `tools/version.h`; they do not descend into `net/` (which is added via `libs-y += net/` at line 861 for the full bootloader only).

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

  8. A search for `nfs` or `net/` in both tool makefiles returns no matches; the tools do not pull in any network source.

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

  9. The only built binaries found are `tools/fit_check_sign`, `tools/mkenvimage` and `tools/env/fw_printenv`; no `net/*.o` objects exist.

    output/build/uboot-tools-2024.04/ (build artifacts)

  10. `nfs_read_reply()` is present in unfixed form (`int rlen`, signed length check at line 756 before `store_block()` at line 759). In 2024.04 the function lives in `net/nfs.c`, not `net/nfs-common.c`. This is source only, not compiled here.

    output/build/uboot-tools-2024.04/net/nfs.c:707-762

  11. Three Buildroot patches (`0001-drop-configh-from-tools`, `0002-tools-only-in-no-dot-config-targets`, `0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS`); all are build-system changes for the tools and none touches NFS code.

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

  12. `BR2_TARGET_BAREBOX=y` and `# BR2_TARGET_UBOOT is not set`: no U-Boot bootloader is built for this image.

    output/.config:3970, output/.config:3998

Version and patches

NVD gives the affected range as U-Boot before 2026.10-rc5, so 2024.04 is in range by version and the source in output/build/uboot-tools-2024.04/net/nfs.c does not contain the fix (upstream commit 0bbf09859658). None of the three applied Buildroot patches addresses it. The build is nevertheless not affected because the vulnerable file is never compiled: uboot-tools builds only tools-only and envtools, and net/nfs.o requires CONFIG_CMD_NFS, which is not set. I could not read the upstream advisory or fix commit from this tree, so the range is taken from the CVE text in the brief.

Recommendation

Document as not applicable for uboot-tools: the CPE match is on the shared U-Boot source tarball, but the NFS client is bootloader-only code that this package does not compile. No upgrade or backport is needed for this package.

If other Infix defconfigs build a U-Boot bootloader (BR2_TARGET_UBOOT=y), triage those separately by checking CONFIG_CMD_NFS in the board's U-Boot configuration.

Open questions

This review covers only the x86_64_defconfig build in output/. Other board defconfigs under configs/ that build a real U-Boot bootloader were not assessed and may have CONFIG_CMD_NFS enabled.

The build directory contains no intermediate .o files or build log, so the "not compiled" conclusion rests on the makefiles, the empty auto.conf and the list of final binaries rather than on a compile log.

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