Junglewise Threat Intelligence

CVE-2026-64361: Linux Kernel integer overflow in HFS and HFSplus file systems

CVE-2026-64361 · Severity: info · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's HFS and HFS+ file system drivers, which are used to handle legacy Apple-formatted storage media. An error in how the system calculates data lengths could allow a malicious or malformed disk image to bypass security checks, potentially leading to a system crash or unauthorized access to kernel memory. This could impact the stability and data privacy of systems that mount these specific file system types.

Technical details

An integer overflow exists in the 'check_and_correct_requested_length' function within the HFS and HFS+ implementations. The function performs bounds checking by comparing '(off + len)' against 'node_size' using 32-bit unsigned arithmetic. If a large 'len' value is provided (e.g., due to an underflow in 'hfs_brec_remove'), the addition can wrap around, causing the check to pass incorrectly. This leads to a subsequent 'memmove' operation reading or writing significantly beyond the intended node buffer, potentially resulting in a kernel heap out-of-bounds read/write. The fix involves widening the addition to 64-bit (u64) to ensure accurate comparison.

Affected products

  • Linux Linux Kernel fs/hfs/bnode.c, fs/hfsplus/hfsplus_fs.h

Timeline

  • 2026-07-25: advisory: CVE-2026-64361 published by NVD
  • 2026-07-24: patched: Commits pushed to various stable branches by Greg Kroah-Hartman

References

Related threats