Bug#1100470: Segfault with NTFS CVE fixes

Eric Valette eric.valette at gmail.com
Sat Mar 15 09:54:34 GMT 2025


On 15/03/2025 08:54, Felix Zielcke wrote:
> Hi,
>
> on Debian we got a bug report with a segfault in grub-mount when we
> added the CVE fixes to it:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100470
>
> It crashes on all 3 Windows NTFS Partitions with this:
>
> Program received signal SIGSEGV, Segmentation fault.
> Download failed: Invalid argument.  Continuing without source file
> ./obj/grub-pc/../../grub-core/fs/ntfs.c.
> 0x000055555557de34 in find_attr (at=at at entry=0x555555694ea0,
>       attr=attr at entry=128 '\200') at ../../grub-core/fs/ntfs.c:390
> warning: 390    ../../grub-core/fs/ntfs.c: No such file or directory
>
> Line 390 is the same AFAICS on upstream grub.git and Debian packaging:
>
> while (at->attr_cur < mft_end && *at->attr_cur != 0xFF)
>
> I don't know what is special on their NTFS partitions. I can't
> reproduce this with my own dual-boot system.
>
Just for the record :

     1) NTFS fs have been created using W10 or W11 tools,

     2) I did run from windows cmd line  chkdsk /r /x /f on one of the 
three NTFS fs triggering the problem,

     3) no error found

     4) But it still segfault,

-- 
Eric Valette



More information about the Pkg-grub-devel mailing list