new file mode 100644
@@ -0,0 +1,46 @@
+From fc16c847a1c9c6e0ee1f605849cc500a04c21602 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timo=20tp=20Prei=C3=9Fl?= <t.preissl@proton.me>
+Date: Fri, 9 Jan 2026 11:25:07 +0000
+Subject: [PATCH] fs: prevent integer overflow in ext4fs_get_bgdtable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+An integer overflow in gdsize_total calculation could lead
+to under-allocation and heap buffer overflow.
+
+Signed-off-by: Timo tp Preißl <t.preissl@proton.me>
+Reviewed-by: Simon Glass <simon.glass@canonical.com>
+Reviewed-by: Tom Rini <trini@konsulko.com>
+
+CVE: CVE-2025-70293
+
+Upstream-Status: Backport [https://git.u-boot-project.org//u-boot/u-boot/-/commit/fc16c847a1c9c6e0ee1f605849cc500a04c21602]
+
+Signed-off-by: Mandar Kamble <MandarMahesh.Kamble@windriver.com>
+---
+ fs/ext4/ext4_write.c | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/fs/ext4/ext4_write.c b/fs/ext4/ext4_write.c
+index 5b290f0d80d..1483e9955c0 100644
+--- a/fs/ext4/ext4_write.c
++++ b/fs/ext4/ext4_write.c
+@@ -108,7 +108,13 @@ int ext4fs_get_bgdtable(void)
+ {
+ int status;
+ struct ext_filesystem *fs = get_fs();
+- int gdsize_total = ROUND(fs->no_blkgrp * fs->gdsize, fs->blksz);
++ size_t alloc;
++ size_t gdsize_total;
++
++ if (__builtin_mul_overflow(fs->no_blkgrp, fs->gdsize, &alloc))
++ return -1;
++
++ gdsize_total = ROUND(alloc, fs->blksz);
+ fs->no_blk_pergdt = gdsize_total / fs->blksz;
+
+ /* allocate memory for gdtable */
+--
+GitLab
+
@@ -6,6 +6,7 @@ DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native"
SRC_URI += "file://CVE-2026-46728.patch \
file://CVE-2026-29009.patch \
file://CVE-2025-70290.patch \
+ file://CVE-2025-70293.patch \
"
CVE_STATUS[CVE-2026-33243] = "cpe-incorrect: NVD currently maps this CVE to denx:u-boot, but that mapping is incorrect for U-Boot; the U-Boot-side FIT issue is tracked separately as CVE-2026-46728 and is fixed by the included U-Boot backport."
An issue was discovered in Denx U-Boot before 2026.04. An integer overflow vulnerability exists in function ext4fs_get_bgdtable, the size calculation can lead to under allocation and this underallocated buffer will be used in memcpy() which could lead to arbitrary code execution, a Denial of service, or other unspecified impacts. Upstream patch: [https://git.u-boot-project.org//u-boot/u-boot/-/commit/fc16c847a1c9c6e0ee1f605849cc500a04c21602] Reference: [https://nvd.nist.gov/vuln/detail/cve-2025-70293] [https://security-tracker.debian.org/tracker/CVE-2025-70293] Signed-off-by: Mandar Kamble <MandarMahesh.Kamble@windriver.com> --- .../u-boot/files/CVE-2025-70293.patch | 46 +++++++++++++++++++ meta/recipes-bsp/u-boot/u-boot_2026.01.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta/recipes-bsp/u-boot/files/CVE-2025-70293.patch