No area of the Linux kernel is immune these days from seeing bug reports and patches driven by AI/LLMs. One of the latest areas seeing a lot of patches flowing out has been the SquashFS read-only file-system code. Original SquashFS developer Phillip Lougher has been working on a big patch series for addressing a lot of AI generated issues from bugs to coding style problems. Phillip explained in a recent patch series: "This large patch-set is inspired by the recent spate of AI generated code reports. Four of the patches directly fix AI reported issues, and the rest have been found manually by a read-through and testing of the code. In all cases (except patches 1 - 8, 18 - 20) the patches deal with over-sights relating to variable overflow, arithmetic overflow, variable signedness or just lack of sanity checking of data read from disk. These can cause the code to fail, and which could be used as a potential exploit. Patches 18, 19, and 20 fix potential excessive memory use exploits. The code in question was written in the early days when Squashfs filesystems were small, but with very large filesystems it could try to allocate memory in excess of 4 MiB, and up to 64 MiB." That recent patch series already led to an intermediary patch series in order to reduce noise generated by Sashiko AI. All of the AI generated noise has led to some friction among Linux kernel developers. Longtime Linux developer and "MM" maintainer Andrew Morton also fed these SquashFS patches into Claude Fable for its AI perspective on the patches. That led Phillip Lougher to respond: "God forbid,I would never say you're annoying. But the AI assisted ability to find fault in everything is exhausting. AI amplifies problems because it lacks context and insight. Please don't say you you've got into the belief everything AI says is correct, because it can be contractory depending on the depth of the [analysis], which means you will go into endless impossible cycles. Some of the following is exactly that ... I'm sorry Andrew but you have completely pissed me off. I don't want you handling Squashfs from this day forwards. I am *almost* at the point of resigning from Linux kernel Squashfs maintenance due to the endless bullying I have received from you. But I won't because then *you* will have won." While AI/LLMs can be of much help, they also continue to pose a significant burden on over-worked open-source developers.
SquashFS Seeing A Lot Of Patch Activity To Deal With AI Nuisances
Full Article
Original Source
Read the full article at Phoronix →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.