[PATCH 0/4] fix multiple integer overflows in fs

Yao Zi me at ziyao.cc
Tue Dec 30 04:53:11 CET 2025


On Mon, Dec 29, 2025 at 07:44:21PM +0000, Timo tp Preißl wrote:
> 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.

You should bump the series version when sending a new version of the
series with changes, and provide a changelog and link to the previous
version.

This helps others to distinguish and track different versions of you
patches, and understand what has been changed and what hasn't.

Regards,
Yao Zi

> 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