Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · ActionableHabr AI→ original

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
SquashFS Maintainer Nearly Quit the Linux Kernel Over a Flood of AI Bug Reports
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1Patches 18–20 address a memory allocation risk: the code could request up to 64 MB
Key metric #2Lougher asked Andrew Morton not to work on SquashFS after disputes over Claude
Key metric #3Greg Kroah-Hartman proposed removing 9,000 lines of the vme_user driver

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.

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — SquashFS Maintainer Nearly Quit the Linux Kernel Over a Flood of AI Bug Reports https://news.hamidun.com/en/news/18820/squashfs-maintainer-nearly-quit-the-linux-kernel-over-a-floo

What do you think?
Loading comments…