Linux Kernel Squashfs Module Integer Underflow Vulnerability Leading to Null Pointer Dereference and Out-of-Bounds Access

Vulnerability

A vulnerability in the Linux kernel's Squashfs module can lead to a null pointer dereference or out-of-bounds access. This issue arises when mounting a corrupted filesystem, causing a signed integer, '*xattr_ids', to become negative. The negative value disrupts the calculation of 'len' and 'indexes', which can result in a null pointer dereference in the 'copy_bio_to_actor()' function or out-of-bounds accesses during subsequent sanity checks in 'squashfs_read_xattr_id_table()'. This vulnerability was discovered by the Linux Verification Center using Syzkaller.

Impact

Exploitation of this vulnerability can lead to a null pointer dereference or out-of-bounds access, both of which can cause a system crash or potentially be exploited to execute arbitrary code.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.