Impact
The Linux kernel squashfs module contains a bug where a specially crafted SquashFS image that sets the COMP_OPTS flag to 1 but specifies a dictionary size of 0 causes the code to perform a left shift using a negative exponent. This leads to a shift‑out‑of‑bounds condition that corrupts kernel memory and can be exploited by an attacker who can mount the image, potentially allowing arbitrary code execution with kernel privileges or causing a system crash.
Affected Systems
All Linux kernel versions that include the squashfs filesystem compiled with COMP_OPTS enabled and accept images with a dictionary size of zero are affected. Versions prior to the inclusion of the patch are vulnerable. The fix was applied in a later kernel release, so any kernel before that point remains at risk.
Risk and Exploitability
The flaw can lead to kernel memory corruption, a high‑severity vulnerability. Because exploiting it requires mounting a malformed SquashFS image, it is mainly exploitable by users with local mount or filesystem privileges. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog.
OpenCVE Enrichment