On Mon, Oct 30, 2023 at 04:19:32PM +0100, Philip Hands wrote:
Anthony Iliopoulos <ailiop@suse.com> writes:
On Sun, Oct 29, 2023 at 09:02:01PM +0100, Philip Hands wrote:...
...error: invalid XFS directory entry.
This issue exists independently of the large extent counter, and it is related to grub commit ef7850c75 ("fs/xfs: Fix issues found while
fuzzing the XFS filesystem"). That's actually the issue described in #1051543.
Ah, yes -- good point.
There's a proposed fix at [1], and it works as expected with that patch applied....
[1] https://lore.kernel.org/grub-devel/20231018030347.36174-1-nuxi@vault24.org/
I can confirm that having applied both patches:
https://salsa.debian.org/philh/grub2/-/pipelines/596346
it now succeeds at both installing grub, and then booting the system:
https://openqa.debian.net/tests/200503#details
Thanks for confirming, perhaps then you can add your tested-by in the respective patches upstream.
BTW, another handy way to test if this works is via grub-mount.
We picked the previous XFS patch for extent parsing but did not pick
this one because it had not been merged at that point yet, the fix
only got merged two weeks or so ago, and we didn't want to take chances
and pick it ahead of time as it's security critical code (filesystem
parsing is where all the security bugs live!).
The release was supposed to be out 2 weeks ago but got pushed back
another week to last week's release, sadly.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:09:10 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,264 |