SquashFS Maintainer Nearly Quit the Linux Kernel Over a Flood of AI Bug Reports
Phillip Lougher, the creator of SquashFS, released a series of patches after a wave of AI-generated bug reports and nearly stepped down from maintaining the filesystem. Some of the findings turned out to be real: four patches address AI-flagged issues, and a NULL pointer dereference was found in squashfs_lookup(). But Lougher says AI lacks context and its answers contradict each other. For that reason, projects should route AI review through a human filter.
AI-processed from Habr AI; edited by Hamidun News
When AI tools began large-scale checks of Linux kernel code, an unpleasant reality emerged: the findings can be real, but someone has to sort through them, and human maintainers have limited time and patience. The story of the SquashFS filesystem illustrates this better than any argument. Its creator, Phillip Lougher, released a large batch of fixes and admitted he had nearly stepped down as maintainer.
What Was Fixed
The patch series came in response to a recent flood of bug reports found with AI assistance. According to Lougher's description, four patches directly address problems the AI detected. He found the rest himself, through manual analysis and testing.
Most of the fixes (except patches 1–8 and 18–20) target classic weak points in low-level code: variable overflows, arithmetic overflows, incorrect signedness of variables, and missing validation of data read from disk. Such bugs can cause crashes and, in the worst case, can be exploited for attacks: the filesystem trusts the disk image, and an image can be crafted by an attacker.
Patches 18, 19, and 20 solve a different problem: excessive memory consumption. The code was written when SquashFS filesystems were small. On very large images, it could try to allocate more than 4 MB, up to 64 MB. This set has already produced an intermediate series of patches meant to reduce the noise from AI tools.
Where the Conflict Began
The use of AI caused friction among kernel developers. Andrew Morton, a Linux veteran and maintainer of the memory management subsystem, suggested running the SquashFS patches through Claude to get an independent assessment. Lougher responded sharply.
He wrote that the ability of AI to find flaws in everything is simply exhausting. In his view, AI lacks context and deep understanding, and its answers can contradict each other depending on how deeply it analyzes the code, so one can end up in an endless loop. He went on to say he was almost ready to quit because of the endless harassment, but would not do so, so that it would not look like Morton had won.
He asked Morton not to work on SquashFS anymore.
At the same time, the dispute was not purely emotional. Claude's review raised a question about compatibility with images where the compressed block size equals the filesystem block size. Lougher explained that he added a restriction because of a warning from the AI tool Sashiko, although he initially had no intention of doing so. Morton cited an example of an image with eight extra bytes between the metadata tables: the old code accepted such an image, while the fixed code rejects it. Lougher countered that this kind of padding contradicts the SquashFS format as it has existed since its introduction in 2002.
On one point, however, the AI was right: a NULL pointer dereference was found in squashfs_lookup() when debug output was enabled. Lougher acknowledged the mistake, and Morton later confirmed that it was fixed in v4.
What Follows From This
First: AI review does find defects, including in old code that was considered settled for years. The four direct fixes and the NULL pointer bug confirm this.
Second: the cost of such review falls on maintainers. Every finding has to be read, checked against the format and the project's history, and judged as a bug or not. The example with the extra bytes shows that AI can treat a violation of unwritten conventions as a defect, and a fix for it can break compatibility with someone's images.
Third: the problem extends beyond a single filesystem. Greg Kroah-Hartman, one of the leading kernel developers, proposed removing about 9,000 lines of code for the vme_user driver for the VME bus, a technology roughly 40 years old. The reason he gave was direct: a wave of AI-generated bug reports. For rarely used code, removing it is easier than sorting through the stream of findings.
For teams that accept bug reports, the takeaway is practical. Ask the reporter to reproduce the problem and attach a test, group similar findings together, and first separate real vulnerabilities from style nitpicks. And if you run AI review on other people's projects yourself, verify each finding manually before sending it to the person who maintains the code in their spare time.
This story also has a limitation: we know Lougher's position and fragments of the correspondence, but we do not know how many of the AI's findings were correct in total. So it is too early to conclude that "AI review is harmful." What is clear is this: without a filter and without respect for maintainers' time, it turns into a burden.
- Dec 1, 2026Telegram Releases Dictator, an AI Agent for macOS That Reads Your Chats
- Dec 1, 2026Apple Signs Deals with 25 Publishers, Including BBC and CNN, for News in Siri AI
- Dec 1, 2026Agents Now Write the First Draft in 40% of GitHub Pull Requests — Up from 17% in March
- Dec 1, 2026India Leads $27M Round for Soket as Startup Releases 26.3B-Parameter Eka-1 Model
Key Questions Answered
What Was Fixed?
The patch series came in response to a recent flood of bug reports found with AI assistance. According to Lougher's description, four patches directly address problems the AI detected. He found the rest himself, through manual analysis and testing. Most of the fixes (except patches 1–8 and 18–20) target classic weak points in low-level code: variable overflows, arithmetic overflows, incorrect signedness of variables, and missing validation of data read from disk.
Where the Conflict Began?
The use of AI caused friction among kernel developers. Andrew Morton, a Linux veteran and maintainer of the memory management subsystem, suggested running the SquashFS patches through Claude to get an independent assessment. Lougher responded sharply. He wrote that the ability of AI to find flaws in everything is simply exhausting. In his view, AI lacks context and deep understanding, and its answers can contradict each other depending on how deeply it analyzes the code, so one can end up in an endless loop.
What Follows From This?
First: AI review does find defects, including in old code that was considered settled for years. The four direct fixes and the NULL pointer bug confirm this. Second: the cost of such review falls on maintainers. Every finding has to be read, checked against the format and the project's history, and judged as a bug or not. The example with the extra bytes shows that AI can treat a violation of unwritten conventions as a defect, and a fix for it can break compatibility with someone's images.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
