[PATCH v2] fs/erofs: fix an integer overflow in symlink resolution
Jonathan Bar Or
jonathanbaror at gmail.com
Wed Feb 19 10:24:08 AEDT 2025
That's great! Thank you for your work!
Any expected fixes on the other issues I raised Tom?
I'm asking specifically because GRUB2 maintainers are working on
solving very similar issues in their repository for SquashFS (being
rolled out right now).
It'd be best to solve ASAP as people might realize the similarities
between GRUB2 and U-boot in that module.
Best regards,
Jonathan
On Tue, Feb 18, 2025 at 11:35 AM Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, 13 Feb 2025 19:28:47 +0800, Gao Xiang wrote:
>
> > See the original report [1], otherwise len + 1 will be overflowed.
> >
> > Note that EROFS archive can record arbitary symlink sizes in principle,
> > so we don't assume a short number like 4096.
> >
> > [1] https://lore.kernel.org/r/20250210164151.GN1233568@bill-the-cat
> >
> > [...]
>
> Applied to u-boot/master, thanks!
>
> --
> Tom
>
>
More information about the Linux-erofs
mailing list