Junglewise Threat Intelligence

CVE-2026-46094: Linux Kernel ext4 out-of-bounds access in check_xattrs

CVE-2026-46094 · Severity: info · CVSS 0 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's ext4 file system driver that could lead to an out-of-bounds memory access. The ext4 file system is a standard component used to manage data storage on many Linux-based servers and devices. If exploited, this flaw could potentially cause a system crash or allow unauthorized access to sensitive kernel memory, impacting the stability and security of the operating system.

Technical details

An out-of-bounds read vulnerability existed in the ext4 file system's check_xattrs() function due to an insufficient bounds check. The original check used '(void *)next >= end', which failed to account for the 4-byte read performed by the IS_LAST_ENTRY() macro in the subsequent loop iteration. If the 'next' pointer landed within 3 bytes of the 'end' boundary, the macro would read beyond the valid xattr region. This could be triggered by a specially crafted or corrupted ext4 filesystem image. The issue has been resolved by updating the bounds check to ensure at least 4 bytes (sizeof(u32)) remain before the end of the buffer. Patches have been backported to various stable kernel branches.

Affected products

  • Linux Linux Kernel All versions prior to the May 2026 patches

Timeline

  • 2026-05-27: disclosed: CVE published by NVD
  • 2026-05-27: patched: Fixes merged into multiple stable kernel branches

References