<div dir="ltr"><div dir="ltr">You're not the only ones who have bugs reported... we're got one and Arch as well. I sent this email to the list a week ago; I don't know where it got lost...<div><br></div><div>---</div><div>Hi,</div><div><br></div><div>This patch also fixes
an issue introduced by the original patch involving dual booting:
grub-mount seg faults when trying to mount an ntfs volume, e.g., when
grub-mkconfig is run. There are bugs for this on fedora [1] and arch
[2], so further review of this patch is really appreciated!</div><div><br></div><div>thanks!</div><div>marta <br></div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=2350327" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=2350327</a></div><div>[2] <a href="https://gitlab.archlinux.org/archlinux/packaging/packages/grub/-/issues/11" target="_blank">https://gitlab.archlinux.org/archlinux/packaging/packages/grub/-/issues/11</a></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Mar 15, 2025 at 3:14 PM Eric Valette <<a href="mailto:eric.valette@gmail.com">eric.valette@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/03/2025 08:54, Felix Zielcke wrote:<br>
> Hi,<br>
><br>
> on Debian we got a bug report with a segfault in grub-mount when we<br>
> added the CVE fixes to it:<br>
><br>
> <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100470" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100470</a><br>
><br>
> It crashes on all 3 Windows NTFS Partitions with this:<br>
><br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> Download failed: Invalid argument. Continuing without source file<br>
> ./obj/grub-pc/../../grub-core/fs/ntfs.c.<br>
> 0x000055555557de34 in find_attr (at=at@entry=0x555555694ea0,<br>
> attr=attr@entry=128 '\200') at ../../grub-core/fs/ntfs.c:390<br>
> warning: 390 ../../grub-core/fs/ntfs.c: No such file or directory<br>
><br>
> Line 390 is the same AFAICS on upstream grub.git and Debian packaging:<br>
><br>
> while (at->attr_cur < mft_end && *at->attr_cur != 0xFF)<br>
><br>
> I don't know what is special on their NTFS partitions. I can't<br>
> reproduce this with my own dual-boot system.<br>
><br>
Just for the record :<br>
<br>
1) NTFS fs have been created using W10 or W11 tools,<br>
<br>
2) I did run from windows cmd line chkdsk /r /x /f on one of the <br>
three NTFS fs triggering the problem,<br>
<br>
3) no error found<br>
<br>
4) But it still segfault,<br>
<br>
-- <br>
Eric Valette<br>
<br>
<br>
_______________________________________________<br>
Grub-devel mailing list<br>
<a href="mailto:Grub-devel@gnu.org" target="_blank">Grub-devel@gnu.org</a><br>
<a href="https://lists.gnu.org/mailman/listinfo/grub-devel" rel="noreferrer" target="_blank">https://lists.gnu.org/mailman/listinfo/grub-devel</a><br>
</blockquote></div>