Created attachment 231331 [details] btrfs-image causing endless loop in btrfsck More news from the fuzzer. The attached image causes btrfsck to enter what seems to be an endless loop; using btrfs-progs v4.7-42-g56e9586.
Created attachment 231341 [details] Log of
Previous fixes lead to a different message but it still loops. disk-io.c:331:ERROR: tree block bytenr 18446744073709551607 is not aligned to sectorsize 4096 The problem is in read_node_slot callers that do not always check for the right error condition. This will need some time to audit and fix all of them.
Image added to the testsuite, now fixed in git.