In the Linux kernel, the following vulnerability has been resolved: squashfs: Add dictionary size range check to prevent shift-out-of-bounds When an… (CVE-2026-98636)
Description
A vulnerability in the Linux kernel's SquashFS implementation allows a shift-out-of-bounds operation when mounting an abnormal SquashFS image with a COMP_OPTS flag set to 1 but a dictionary size of 0. This occurs due to missing validation on the dictionary size before performing bit-shift operations, which can lead to an invalid negative shift exponent. The issue has been resolved by adding a dictionary size range check prior to the shift operation.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's SquashFS component had a vulnerability where an abnormal SquashFS image with COMP_OPTS flag set to 1 and a dictionary size of 0 caused a shift operation with a negative exponent (-1), resulting in a shift-out-of-bounds error. Specifically, the function squashfs_comp_opts called squashfs_xz_comp_opts, which used the dictionary size in a bit-shift operation without validating that the dictionary size was non-zero and within a valid range. The fix involved adding a dictionary size range check before performing the shift to prevent out-of-bounds shifts.
Potential Impact
This vulnerability could cause the kernel to perform an invalid bit-shift operation when mounting a specially crafted SquashFS image, potentially leading to undefined behavior such as crashes or memory corruption. The exact impact beyond this is not detailed in the provided information.
Mitigation Recommendations
A fix has been implemented by adding a dictionary size range check before the shift operation in the SquashFS code. Users should apply the official Linux kernel update that includes this patch once available. Since no patch links or vendor advisory are provided, check the Linux kernel official repositories or advisories for the fix status. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-wgfg-84p9-xmpv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98636"]
Threat ID: 6ad520ad2cdf04f656993a5d
Added to database: 10/18/2026, 19:40:29 UTC
Last enriched: 10/18/2026, 21:48:19 UTC
Last updated: 10/19/2026, 00:28:10 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.