[PATCH v3 0/4] fix integer overflows in filesystem code

Timo tp Preißl t.preissl at proton.me
Fri Jan 9 12:24:37 CET 2026


Changes in v3:
-added missing variable alloc in fs/zfs/zfs.c
-small coding style change in reply-to Simon Glass's review
-reversed size_t to int in reply-to Simon Glass's review

v2:
https://lore.kernel.org/u-boot/20251231100831.119142-1-t.preissl@proton.me/T/

v1:
https://lore.kernel.org/u-boot/20251231015450.GW710860@bill-the-cat/T/

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 |  8 +++++++-
 fs/fs.c              | 16 +++++++++++++---
 fs/squashfs/sqfs.c   |  6 +++++-
 fs/zfs/zfs.c         |  6 +++++-
 4 files changed, 30 insertions(+), 6 deletions(-)

-- 
2.43.0




More information about the U-Boot mailing list