Security

SquashFS’s Original Developer Is Landing a Big Patch Set After a Wave of AI Bug Reports

Leave a comment

Phillip Lougher, who wrote SquashFS, has posted a large patch series for the read-only filesystem, and he says it was “inspired by the recent spate of AI generated code reports.” Four patches fix AI-reported issues directly. The rest he found by reading through and testing the code himself.

  • Most fixes deal with variable and arithmetic overflow, signedness, and missing sanity checks on data read from disk, which “could be used as a potential exploit.”
  • Three patches fix potential excessive memory use. Code written when SquashFS images were small could try to allocate well over 4 MiB, up to 64 MiB, on very large images.
  • A follow-up series was needed just to cut down noise flagged by Google’s Sashiko AI reviewer.

My take

SquashFS sits under a lot of things: live ISOs, Snaps, AppImages and router firmware. Old parsing code trusting what’s on disk is exactly where AI fuzzing and review earn their keep, even if maintainers are tired of the noise. These fixes aren’t merged yet, so be careful mounting SquashFS images you didn’t build yourself until they land in your distro kernel.

God Bless, and Needs Garlic!

References & Further Reading

Subscribe (RSS) Follow News via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.