CVE-2026-31447
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Apr 22, 2026
CISA due date
—
Cloudanix analysis
A specially crafted Linux disk image could crash or compromise a system if it is mounted before the kernel is updated.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
This is a Linux kernel ext4 filesystem input-validation flaw involving an unsupported ext4 configuration: the bigalloc feature combined with a nonzero s_first_data_block value. A vulnerable kernel may proceed with mounting a malformed or crafted ext4 filesystem image instead of rejecting it, potentially triggering unsafe kernel behavior during mount or filesystem metadata processing. Because filesystem parsing occurs in kernel context, successful exploitation can have high confidentiality, integrity, and availability impact, including kernel crash, privilege escalation, or memory corruption depending on the vulnerable code path and kernel build.
Why it matters to the business
Systems that allow users, administrators, removable media, disk images, containers, virtual machine images, backup images, or forensic artifacts to be mounted as ext4 filesystems may be exposed to local compromise or denial of service. The practical risk is lower than many remotely exploitable issues because exploitation requires local access or a user/workflow that mounts an attacker-controlled filesystem image, and the provided EPSS is low with no known KEV listing or public exploit maturity. However, Linux kernel flaws should still be treated seriously because a successful exploit can affect the whole host, not just the process that initiated the mount.
How an attack unfolds
An attacker prepares a malicious ext4 filesystem image with the bigalloc feature enabled and an unsupported nonzero s_first_data_block value. The attacker then gets that image mounted on a vulnerable Linux system, either directly through local access, by persuading a user or administrator to mount removable media or a disk image, or by placing the image into a workflow that automatically inspects or mounts filesystems. On vulnerable kernels, ext4 accepts the invalid metadata combination and continues processing it in kernel space. That can lead to kernel memory corruption, privilege escalation, or a system crash. Patched kernels stop the attack early by rejecting the mount when bigalloc is present with s_first_data_block != 0.
How to fix it
Upgrade affected Linux kernels to a vendor-supported release that includes the ext4 fix rejecting bigalloc filesystems when s_first_data_block is nonzero. Because no exact fixed versions were provided, track the relevant distribution or kernel vendor advisory for CVE-2026-31447 and deploy the first kernel build containing the upstream ext4 patch. Reboot systems after kernel installation to ensure the fixed kernel is running. As interim mitigations, avoid mounting untrusted ext4 filesystems, disable or restrict automount of removable media and disk images, limit mount and loop-device capabilities to trusted administrators, run filesystem inspection workflows in isolated sacrificial environments, and prevent containers or untrusted workloads from receiving CAP_SYS_ADMIN or direct block-device access.
How to confirm the fix worked
Confirm the running kernel, not only the installed package, has been updated by checking uname -r and comparing it with the fixed kernel listed by the Linux distribution or appliance vendor. Review package manager state to ensure the patched kernel is installed and the host has been rebooted into it. Where safe and appropriate in a controlled test environment, verify that a filesystem image with ext4 bigalloc and nonzero s_first_data_block is rejected at mount time rather than processed. Also validate that untrusted users and workloads cannot mount arbitrary block devices or loopback filesystem images, and that automount policies for removable media or downloaded disk images are disabled or restricted.
Typical attack path
- Create or obtain a crafted ext4 filesystem image using the unsupported bigalloc plus nonzero s_first_data_block metadata combination.
- Deliver the image through removable media, a disk-image attachment, a VM/container artifact, a backup/restore workflow, or another local ingestion path.
- Trigger a mount operation on a vulnerable Linux kernel, commonly through a user action, administrative workflow, automount behavior, or image-scanning pipeline.
- Rely on the vulnerable ext4 mount path to accept and process the malformed filesystem metadata in kernel context.
- Cause kernel instability, crash the system, or potentially gain elevated privileges depending on the reachable vulnerable behavior and kernel hardening.
How to detect it
Look for evidence that suspicious or untrusted ext4 filesystems were mounted before patching. Useful sources include kernel logs from dmesg or journalctl -k, systemd journal entries for mount activity, auditd records for mount and losetup activity, shell history on administrative accounts, EDR telemetry for mount/umount/losetup processes, removable-media logs, virtualization or backup platform logs, and incident timelines showing kernel oops, panic, reboot, or hang events shortly after ext4 mount attempts. Hunt for loop-device mounts, mounts from temporary directories or user-writable paths, and workflows that mounted externally supplied images. Because this flaw is in filesystem metadata parsing, there may be no reliable application-layer indicator after a failed or successful attempt; absence of logs does not prove absence of exploitation. If crashes occurred, preserve vmcore/kdump artifacts and inspect for ext4-related stack traces or mount activity immediately preceding the failure.
- EXT4-fs
- bigalloc
- s_first_data_block
- mount
- losetup
- /dev/loop
- /var/crash
- /var/lib/systemd/coredump
- kernel oops
- Kernel panic
What your security team should do
- Prioritize patching Linux systems that process untrusted disks, removable media, forensic images, VM images, container artifacts, backups, or customer-supplied filesystem images.
- Deploy vendor-fixed kernels and reboot into the patched kernel; do not rely on package installation alone.
- Inventory hosts where non-administrative users, containers, or automation can perform mounts, use loop devices, or access block devices, and reduce those privileges.
- Disable automount for removable media and untrusted disk images where operationally feasible.
- Isolate image-ingestion, malware-analysis, backup-restore, and forensic workflows so a malformed filesystem cannot compromise production hosts.
- Monitor for unexpected ext4 mount attempts, loop-device usage, kernel oops/panic events, and crashes following filesystem mount activity.
- Treat exploitation likelihood as currently low based on low EPSS, no KEV listing, and no known exploit maturity, but maintain urgency for exposed systems because kernel compromise impact is high.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|