Phillip Lougher posted a 23-patch series addressing AI-generated code reports and style issues in the Squashfs filesystem, prompting a contentious review from Andrew Morton. Morton identified several functional regressions: patch 08/23 breaks squashfs_lookup() when dynamic debug is enabled by referencing an uninitialized inode pointer instead of the directory inode, causing a page fault at address ffffffffffffffc8; patch 10/23 enforces exact alignment between the fragment index end and the next metadata table start, rejecting images with 8 bytes of padding that previously mounted successfully, a behavior Lougher defends as preventing hidden malicious metadata; patch 15/23 rejects compressed blocks whose size equals the block size, raising compatibility concerns with existing tools like mksquashfs and squashfs-tools-ng. Morton also noted that patches 18-20/23 remove per-entry neighbor checks during mount for cached indexes, relying solely on range checks in *_lookup_start(), and that patch 22/23 fixes a mainline regression (commit 5641371fd0b3) but depends on patch 14/23, complicating stable backporting. Additional issues include a semantic change in SQUASHFS_COMPRESSED_SIZE() returning 0 instead of 32768 for zero length, an incorrect offset in patch 10/23's reproducer (72 vs actual 80), and confusing naming of msblk->lookup_table versus msblk->lookup_table_start. Lougher tested builds on x86_64 and i386 with uncompressed images but not compressed data or xattrs, and expressed frustration with the review process, threatening resignation and cc'ing LKML and Phoronix over perceived bullying.

Read original