bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-71973

5.2medium

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-rc4 contains an integer overflow vulnerability in sqfs_read_directory_table() function when allocating the directory table buffer. Attackers can supply a crafted SquashFS image with an attacker-controlled superblock metablks_count value that causes heap buffer under-allocation and out-of-bounds writes, corrupting heap memory and crashing the bootloader.

Published 2026-09-29NVD

CVSS 4.0Physical · no privileges · no user interaction

How it is reached

Attack vector
Physical
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:P/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 affectedFable 5.2 · high confidence · 2026-11-19

The CVE is in the U-Boot bootloader's SquashFS driver (sqfs_read_directory_table() in fs/squashfs/sqfs.c), which is not compiled into this build. The uboot-tools package only builds the userspace tools and tools/env directories (tools-only and envtools targets), and neither references any SquashFS source.

The unfixed code is present in the unpacked source tree (2024.04 is inside the affected range, and no applied patch touches it), but it is dead source here: fs/squashfs/ is only built when CONFIG_FS_SQUASHFS or CONFIG_SPL_FS_SQUASHFS is set in a real bootloader build, and this configuration has BR2_TARGET_UBOOT unset.

The installed binaries (fw_printenv/fw_setenv, mkenvimage, fit_check_sign) contain no SquashFS parsing code.

Evidence 11
  1. The unfixed allocation `malloc(metablks_count * SQFS_METADATA_BLOCK_SIZE)` in `sqfs_read_directory_table()` is present in the source tree, so the version itself is in the affected range.

    output/build/uboot-tools-2024.04/fs/squashfs/sqfs.c:819

  2. `sqfs.o` is only built under `obj-$(CONFIG_$(SPL_)FS_SQUASHFS)`, a bootloader Kconfig option.

    output/build/uboot-tools-2024.04/fs/squashfs/Makefile:4

  3. The `squashfs/` directory is entered only when `CONFIG_SPL_FS_SQUASHFS` or `CONFIG_FS_SQUASHFS` is set, as part of a full U-Boot build of `fs/`.

    output/build/uboot-tools-2024.04/fs/Makefile:12,28

  4. The package 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)

  5. `include/config/auto.conf` is created empty and `autoconf.h` gets only FIT-related defines, so `CONFIG_FS_SQUASHFS` is never defined.

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

  6. `tools-only` sets `TOOLS_ONLY=y` and runs `$(MAKE) $(build)=tools`, i.e. only the `tools/` directory is built.

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

  7. No match anywhere under `tools/` (including `tools/Makefile` and `tools/env/`), nor in the top-level `Makefile`: the host/target tools do not pull in any SquashFS source.

    output/build/uboot-tools-2024.04/tools/ (rg -i 'sqfs|squashfs')

  8. `# BR2_TARGET_UBOOT is not set`: no U-Boot bootloader is built for this x86_64 image, so there is no other copy of the SquashFS driver from this source.

    output/.config:3998

  9. `BR2_PACKAGE_UBOOT_TOOLS=y` with `fit_check_sign`, `mkenvimage` and `fw_printenv` installed; `mkimage` and `dumpimage` are not installed.

    output/.config:1423-1430

  10. The package is selected directly by the defconfig as a target package, not just pulled in as a dependency.

    configs/x86_64_defconfig:46-50

  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 `fs/squashfs`.

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

Version and patches

NVD's range is U-Boot before 2026.10-rc4, with the fix in upstream commit 561ae28cb56a082cfa90c1c421c4955bc215470b; 2024.04 is inside that range and the fix is not in the source (fs/squashfs/sqfs.c:819 still has the unchecked multiplication). None of the three applied Buildroot patches addresses it. The build is not affected because the vulnerable file is never compiled for uboot-tools, not because of a fix. I could not read the upstream commit or advisory from this tree, so the range is taken from the CVE description.

Recommendation

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

Triage the CVE separately for any Infix board configuration that builds the bootloader itself (BR2_TARGET_UBOOT=y) with CONFIG_FS_SQUASHFS enabled; that is a different package (uboot) and outside this x86_64 build.

Open questions

The build directory contains no .o files, so I could not confirm the compiled object list from build artefacts; the conclusion rests on the Makefiles and the package's build commands.

One of my shell commands (a compound cd ... && rg ...) was blocked by the session's permission rules; I re-ran the same searches as individual commands with full paths, so nothing was left unchecked.

Other Infix defconfigs (for example aarch64 boards) may build U-Boot proper with SquashFS support; they were not in scope for this review.

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