[PATCH 0/4] fix multiple integer overflows in fs
Timo tp Preißl
t.preissl at proton.me
Mon Dec 29 20:44:21 CET 2025
This series fixes integer overflow issues in several filesystem
subsystems of U-Boot. Without these fixes, certain size calculations
could wrap, potentially leading to under-allocation and heap buffer
overflows.
Timo tp Preißl (4):
fs: prevent integer overflow in fs.c do_mv
fs: prevent integer overflow in zfs_nvlist_lookup
fs: prevent integer overflow in sqfs_concat
fs: prevent integer overflow in ext4fs_get_bgdtable
fs/ext4/ext4_write.c | 7 ++++++-
fs/fs.c | 16 +++++++++++++---
fs/squashfs/sqfs.c | 8 ++++++--
fs/zfs/zfs.c | 5 ++++-
4 files changed, 29 insertions(+), 7 deletions(-)
tested on:
make sandbox_defconfig
--
2.43.0
More information about the U-Boot
mailing list