CVE-2026-90203: Squashfs: check block offset is not negative

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Squashfs: check block offset is not negative

If a negative offset is read off disk (for example the offset into the decompressed fragment block), this will cause squashfscopydata() to perform an out of bounds access.

Fix by checking if offset is negative, and returning 0. This matches existing behaviour where an offset beyond the block returns 0 bytes copied.

To trigger this out of bounds access requires a crafted Squashfs filesystem and CAPSYSADMIN to mount it. Unprivileged users will not be able to mount such a filesystem, but once mounted, an unprivileged user can trigger the out of bounds access by reading the crafted file with the negative offset.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description

Frequently Asked Questions

1

Who can introduce the malicious filesystem image?

Mounting the crafted Squashfs filesystem requires CAP_SYS_ADMIN, so an unprivileged user cannot mount it directly. A privileged user or service that mounts attacker-controlled Squashfs images is the relevant exposure point.

2

Can an unprivileged user trigger the flaw after the filesystem is mounted?

Yes. Once a crafted Squashfs filesystem has been mounted, an unprivileged user can trigger the out-of-bounds access by reading the crafted file containing the negative offset.

3

What condition in the filesystem image causes the issue?

The issue occurs when an on-disk offset, such as an offset into a decompressed fragment block, is negative. The vulnerable path passes that offset to squashfs_copy_data(), resulting in an out-of-bounds access.

4

What behavior does the fix introduce for invalid offsets?

The fix checks for a negative offset and returns zero bytes copied. This aligns negative-offset handling with the existing behavior for offsets beyond the block.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203