Skip to content

u-boot-tools: address multiple CVEs

Hetvi Thakar -X (hthakar - E INFOCHIPS PRIVATE LIMITED at Cisco) openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11u-boot, u-boot-tools: Fix CVE-2026-46728meta/recipes-bsp/u-boot/files/CVE-2026-46728.patch meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb meta/recipes-bsp/u-boot/u-boot_2024.01.bb+382 -00 replies
2/11u-boot-tools: Ignore CVE-2024-42040meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+2 -05 replies
3/11u-boot-tools: Ignore CVE-2024-57254meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
4/11u-boot-tools: Ignore CVE-2024-57255meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
5/11u-boot-tools: Ignore CVE-2024-57256meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
6/11u-boot-tools: Ignore CVE-2024-57257meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
7/11u-boot-tools: Ignore CVE-2024-57258meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
8/11u-boot-tools: Ignore CVE-2024-57259meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
9/11u-boot-tools: Ignore CVE-2026-29007meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
10/11u-boot-tools: Ignore CVE-2026-29008meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies
11/11u-boot-tools: Ignore CVE-2026-29009meta/recipes-bsp/u-boot/u-boot-tools_2024.01.bb+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OE-core][scarthgap][Patch 00/11] u-boot-tools: address multiple CVEs

From: Hetvi Thakar <[email protected]>

Address eleven U-Boot CVE findings for the U-Boot 2024.01 tools-only build on scarthgap.

Backport the upstream fix for CVE-2026-46728. The fix rebuilds the FIT signed-node list from the selected configuration instead of trusting the attacker-controlled hashed-nodes property. Add the patch to both the u-boot and u-boot-tools recipes because the affected FIT handling is used by both builds.

Mark the remaining ten CVEs as not-applicable-config for u-boot-tools. These vulnerabilities affect networking or target runtime code that is not built into the tools-only configuration:

- CVE-2024-42040 affects the DHCP client.
- CVE-2024-57254, CVE-2024-57255, CVE-2024-57257 and CVE-2024-57259 affect SquashFS runtime parsing.
- CVE-2024-57256 affects Ext4 runtime parsing.
- CVE-2024-57258 affects runtime allocator and target architecture code.
- CVE-2026-29007 and CVE-2026-29008 affect TCP processing.
- CVE-2026-29009 affects the NFS client.

The tools-only build disables CONFIG_NET and does not link the affected SquashFS, Ext4, allocator, architecture, TCP or NFS runtime code.

Testing:
- Successfully applied the embedded CVE-2026-46728 patch to U-Boot 2024.01 without conflicts or fuzz.
- u-boot-tools build completed successfully.
- u-boot build completed successfully.

Hetvi Thakar (11):
u-boot, u-boot-tools: Fix CVE-2026-46728
u-boot-tools: Ignore CVE-2024-42040
u-boot-tools: Ignore CVE-2024-57254
u-boot-tools: Ignore CVE-2024-57255
u-boot-tools: Ignore CVE-2024-57256
u-boot-tools: Ignore CVE-2024-57257
u-boot-tools: Ignore CVE-2024-57258
u-boot-tools: Ignore CVE-2024-57259
u-boot-tools: Ignore CVE-2026-29007
u-boot-tools: Ignore CVE-2026-29008
u-boot-tools: Ignore CVE-2026-29009

 .../u-boot/files/CVE-2026-46728.patch         | 379 ++++++++++++++++++
 .../u-boot/u-boot-tools_2024.01.bb            |  13 +
 meta/recipes-bsp/u-boot/u-boot_2024.01.bb     |   1 +
 3 files changed, 393 insertions(+)
 create mode 100644 meta/recipes-bsp/u-boot/files/CVE-2026-46728.patch

base-commit: 543550522f831479f07d332a40ba343c53ae1065

Signature · 1 line
2.35.6