CVE-2025-68337
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68337 is a denial-of-service vulnerability in the Linux kernel's jbd2 (Journaling Block Device 2) component, specifically in the jbd2_journal_get_create_access() function. When a file system is corrupted — particularly under errors=continue mode with accompanying storage failures — inconsistent file system data can cause a BUG_ON assertion to trigger, resulting in a kernel crash. The vulnerability was disclosed on December 22, 2025, and affects the Linux kernel (including Microsoft Azure Linux 3 kernel packages azl3_kernel_6.6.117.1-1 and azl3_kernel_6.6.119.3-3). It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is improper error handling (CWE-617: Reachable Assertion) in jbd2_journal_get_create_access() at fs/jbd2/transaction.c:1289. When file system data is inconsistent — for example, if the block bitmap of a referenced block is not set — a block being committed can be allocated and reused, violating the invariant checked by J_ASSERT(). Rather than gracefully handling this exceptional condition, the kernel triggers a BUG_ON, causing an immediate system crash. The fix replaces the BUG_ON/J_ASSERT with a JBD journal abort, allowing the system to handle the error without crashing. Exploitation requires local access and the ability to mount or interact with a corrupted ext4 file system, and a crafted corrupted disk image can reliably reproduce the issue (Red Hat Bugzilla).

Impact

Successful exploitation results in a kernel panic (system crash), causing a complete denial of service for all processes on the affected system. There is no confidentiality or integrity impact — only availability is affected. The vulnerability is triggered in scenarios involving file system data inconsistencies, particularly when storage failures occur in errors=continue mode, and could be exploited by a local user with access to mount or write to a corrupted file system (Red Hat Advisory, Red Hat Bugzilla).

Exploitation steps

  1. Gain local access: Obtain a local user account on a Linux system running a vulnerable kernel version with ext4 file system support.
  2. Prepare a corrupted file system image: Craft a disk image with intentional file system inconsistencies — for example, set a block as allocated in the inode/directory structure but leave its block bitmap entry unset, creating a state where a committed block can be reallocated.
  3. Mount the corrupted image: Mount the crafted ext4 image with the errors=continue option (e.g., mount -o errors=continue /dev/loop0 /mnt/test) to prevent the kernel from halting on first error detection.
  4. Trigger the vulnerable code path: Perform a directory creation operation (e.g., mkdir /mnt/test/newdir) on the mounted corrupted file system, which invokes ext4_mkdirext4_init_new_dirext4_appendext4_getblk__ext4_journal_get_create_accessjbd2_journal_get_create_access.
  5. Trigger kernel BUG_ON: The inconsistent block state causes the J_ASSERT condition in jbd2_journal_get_create_access() at transaction.c:1289 to fail, triggering a kernel BUG_ON and crashing the system (Red Hat Bugzilla).

Indicators of compromise

  • Logs: Kernel crash logs containing kernel BUG at fs/jbd2/transaction.c:1289 or RIP: 0010:jbd2_journal_get_create_access in /var/log/kern.log, dmesg, or system journal.
  • Logs: Stack traces referencing __ext4_journal_get_create_access, ext4_getblk, ext4_bread, ext4_append, ext4_init_new_dir, ext4_mkdir, or vfs_mkdir in kernel oops output.
  • Logs: Messages indicating Oops: invalid opcode or SMP KASAN PTI associated with a mkdir system call on an ext4 file system.
  • File System: Presence of a mounted ext4 file system with errors=continue option combined with evidence of storage failures or file system inconsistencies (e.g., e2fsck reporting errors on the device).

Mitigation and workarounds

The primary remediation is to update to a patched Linux kernel version that replaces the BUG_ON/J_ASSERT in jbd2_journal_get_create_access() with a graceful JBD journal abort. Patches are available in the upstream Linux kernel stable tree (commits 3faac6531d48, 71bbe06c40fc, 986835bf4d11). Downstream distributions including Red Hat, Ubuntu (USN-8179-1 through USN-8179-4, USN-8184-1, USN-8185-1/2, USN-8203-1, USN-8258-1, USN-8260-1, USN-8265-1), Debian (DLA-4475-1, DSA-6127-1), SUSE, Oracle Linux, and Amazon Linux 2 have released updated kernel packages. As a workaround, avoid mounting ext4 file systems with errors=continue on storage with known integrity issues, and limit local user access to prevent mounting of arbitrary disk images (Red Hat Advisory, Red Hat Bugzilla, Microsoft MSRC).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management