SquashFS maintainer Phillip Lougher lands large patch series fixing AI-reported bugs and overflow issues
SquashFS's original author is fixing real overflow, signedness and memory-exhaustion bugs surfaced by AI code reports, while publicly pushing back on AI-driven review noise that has strained his relationship with Andrew Morton.
Summary
Phillip Lougher, the original developer of the Linux kernel's SquashFS read-only file system, has posted a large patch series addressing a wave of AI-generated bug and coding-style reports. Four patches directly fix issues flagged by AI tools, while the remainder were found through manual read-through and testing of the code. Most of the patches address variable overflow, arithmetic overflow, variable signedness, and missing sanity checks on data read from disk, all of which can cause failures and could potentially be exploited.
The series also includes patches 18, 19 and 20, which fix potential excessive memory-use exploits: code written when SquashFS images were small could attempt allocations above 4 MiB and up to 64 MiB on very large file systems. The activity follows an earlier intermediary series intended to reduce noise from the Sashiko AI review tool. The episode escalated when Andrew Morton ran the SquashFS patches through Claude for an AI perspective, prompting Lougher to say he no longer wants Morton handling SquashFS and that he has been nearly driven to resign as maintainer over what he described as endless bullying.
What the SquashFS patch series changes
- Overflow and signedness fixes: Most patches in the series correct variable overflow, arithmetic overflow, variable signedness, and missing sanity checks on data read from disk, which Lougher notes can cause the code to fail and could serve as a potential exploit vector.
- Memory-exhaustion hardening: Patches 18, 19 and 20 target potential excessive memory-use exploits in code dating from when SquashFS file systems were small; with very large images the code could try to allocate more than 4 MiB and up to 64 MiB.
- AI-reported versus manual findings: Four patches directly fix issues raised by AI-generated reports, while the rest were identified by Lougher through a manual read-through and testing of the SquashFS code.
- Noise reduction: An intermediary patch series was already produced to cut down the volume of reports generated by the Sashiko AI review tool before this larger set landed.
- Maintainer friction: Andrew Morton fed the SquashFS patches into Claude Fable for an AI perspective, which led Lougher to state he does not want Morton handling SquashFS going forward and that he is almost at the point of resigning as maintainer.
Why it matters
SquashFS is the read-only file system used by many live distributions, embedded images, snap-based systems and container layers, so hardening its on-disk parsing against overflow and oversized allocations matters for anyone booting or mounting untrusted images. The dispute also highlights a growing governance problem for the kernel: AI review tools can surface genuine bugs, but the volume and low-context nature of their reports is consuming maintainer time and straining long-standing working relationships.
Original reference: www.phoronix.com →