bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-71974

4.3medium

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-rc3 contains an out-of-bounds write vulnerability in read_slotted_partition() that fails to validate image size against partition bounds. Attackers with physical access can supply crafted boot media with oversized headers to write past the load buffer into bootloader memory on devices without Android Verified Boot protection.

Published 2026-09-29NVD

CVSS 4.0Physical · no privileges · no user interaction

How it is reached

Attack vector
Physical
Attack complexity
Low
Attack requirements
Present
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:P/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

References 5
Review Av26.10.0x86_64False positiveFable 5.2 · high confidence · 2026-11-19

The CVE is in read_slotted_partition() in boot/bootmeth_android.c, the Android boot method of the U-Boot bootloader. That file and function do not exist in the 2024.04 source this build uses: a search of output/build/uboot-tools-2024.04/ for read_slotted_partition, bootmeth_android and BOOTMETH_ANDROID returns zero hits. NVD's "before 2026.10-rc3" range is over-broad for this version.

The product mapping is also wrong. uboot-tools builds only the userspace host tools (tools-only and envtools), and installs fit_check_sign, mkenvimage and fw_printenv/fw_setenv. No bootloader code from boot/ goes into the image, and the bootloader itself is not built in this configuration (# BR2_TARGET_UBOOT is not set).

Evidence 11
  1. The directory has `bootmeth_cros.c`, `bootmeth_efi.c`, `bootmeth_efi_mgr.c`, `bootmeth_extlinux.c`, `bootmeth_pxe.c`, `bootmeth_qfw.c`, `bootmeth_sandbox.c` and `bootmeth_script.c`, but no `bootmeth_android.c`.

    output/build/uboot-tools-2024.04/boot/

  2. `grep -rn "BOOTMETH_ANDROID\|read_slotted_partition\|bootmeth_android"` over the whole build directory returns 0 matches, so the vulnerable function is absent from this source.

    output/build/uboot-tools-2024.04 (recursive grep)

  3. The boot method objects listed are qfw, extlinux, pxe, efi, cros, sandbox, script and efi_mgr; there is no Android boot method object.

    output/build/uboot-tools-2024.04/boot/Makefile:14-38

  4. The `config BOOTMETH_*` entries are GLOBAL, CROS, EXTLINUX, EXTLINUX_PXE, EFILOADER, VBE*, DISTRO, SANDBOX and SCRIPT; there is no `BOOTMETH_ANDROID` option in this version.

    output/build/uboot-tools-2024.04/boot/Kconfig:490-699

  5. `VERSION = 2024`, `PATCHLEVEL = 04`, empty `EXTRAVERSION`: the source is plain 2024.04.

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

  6. `UBOOT_TOOLS_BUILD_CMDS` builds only the `tools-only` and `envtools` targets (userspace utilities), not the bootloader.

    buildroot/package/uboot-tools/uboot-tools.mk:59-64

  7. `UBOOT_TOOLS_INSTALL_TARGET_CMDS` installs only tool binaries (`mkimage`, `mkeficapsule`, `mkenvimage`, `fw_printenv`, `dumpimage`, `fit_check_sign`), each gated by its own option.

    buildroot/package/uboot-tools/uboot-tools.mk:101-108

  8. `BR2_PACKAGE_UBOOT_TOOLS=y` with FIT support, FIT signature support, `FIT_CHECK_SIGN`, `MKENVIMAGE` and `FWPRINTENV` enabled; `MKIMAGE` and `DUMPIMAGE` are not set.

    output/.config:1423-1430

  9. `# BR2_TARGET_UBOOT is not set`: no U-Boot bootloader is built for this x86_64 image.

    output/.config:3998

  10. `UBOOT_TOOLS_CPE_ID_VENDOR = denx` and `UBOOT_TOOLS_CPE_ID_PRODUCT = u-boot`: the tools package reuses the bootloader's CPE, which is why NVD matched a bootloader CVE to it.

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

  11. The three applied 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`) are build-system fixes only; none touches `boot/`.

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

Version and patches

NVD range is "before 2026.10-rc3", fixed by upstream commit 35432ef6fe2c79ab72709966e64815a45eb55c76. The vulnerable file boot/bootmeth_android.c is not in the 2024.04 source in this tree; from memory it was added upstream in v2024.10, which I could not confirm here because upstream history is not in the tree. The three Buildroot patches are build-system only and irrelevant to the CVE. No fix is needed because the vulnerable code is absent.

Recommendation

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

Suggested justification: the vulnerable code (boot/bootmeth_android.c, read_slotted_partition()) is not present in 2024.04, and uboot-tools ships only userspace tools, not the bootloader.

Open questions

This review covers only uboot-tools in the x86_64 build. The tree carries bootloader patch sets for newer U-Boot versions (patches/uboot/2025.01, patches/uboot/2026.01, patches/uboot/bsp-v2024.04-2026.06) used by other board defconfigs. Those versions may contain boot/bootmeth_android.c, so the uboot bootloader package on those boards should be triaged separately, checking whether CONFIG_BOOTMETH_ANDROID is enabled in each board's U-Boot config.

The build directory contained no .o files, so the conclusion that only tools are built rests on uboot-tools.mk rather than on build artefacts.

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