KernelScan.io

HIGH

ext4 Bigalloc Mount Panic

CVE-2026-31447

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

KernelScan AI5.5MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: ext4: reject mount if bigalloc with s_first_data_block != 0 bigalloc with s_first_data_block != 0 is not supported, reject mounting it.

02

Engine v0.2.0

Risk summary

Systems mounting malformed ext4 filesystems with bigalloc feature and non-zero first_data_block can experience kernel crashes. This affects any system that processes untrusted ext4 filesystem images, including forensic tools, backup systems, and environments where users can mount arbitrary storage devices.

Affectedfs/ext4/super.c (ext4 filesystem)

Vulnerability analysis

The vulnerability occurs when ext4 attempts to mount a filesystem with both the bigalloc feature enabled and s_first_data_block set to a non-zero value. This combination is unsupported and causes undefined behavior in the bigalloc allocation routines, leading to NULL pointer dereferences or other memory corruption during filesystem operations. The fix adds a validation check in ext4_feature_set_ok() that explicitly rejects mounting such filesystems, preventing the kernel from entering the problematic code paths. The attack surface is local, requiring the ability to mount filesystems, but can be triggered by any user with mount privileges processing a crafted ext4 image.

03

BranchFixed inPatch commit
5.105.10.2535ad6d994255e
5.155.15.2033a926957cc95
6.16.1.1687b58c110b4e1
6.126.12.80d787d3ae9664
6.186.18.21ad1f6d608f33
6.196.19.117d5b04290156
6.66.6.131b77de3fceafb
mainline7.03822743dc203