Junglewise Threat Intelligence

CVE-2026-64359: Linux Kernel NILFS2 denial of service in CLEAN_SEGMENTS ioctl

CVE-2026-64359 · Severity: info · CVSS 4.6 · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's NILFS2 file system could allow a local user to cause a system hang or denial-of-service. By providing invalid inputs to a specific file system management command (ioctl), an attacker can trigger excessive internal logging that locks up the system's ability to perform basic file operations like changing file permissions. This results in a significant impact on system availability and operational stability.

Technical details

A vulnerability exists in the NILFS2 file system where user-supplied segment numbers in the NILFS_IOCTL_CLEAN_SEGMENTS ioctl are not validated before acquiring the ns_segctor_sem semaphore. When invalid segment numbers are provided, the kernel performs a range check deep within the call chain (nilfs_sufile_updatev), which emits a warning message via printk for every invalid entry while still holding the semaphore. Under high load or with many invalid entries, the cumulative latency of these printk operations causes the semaphore to be held long enough to trigger the hung_task watchdog, blocking other filesystem operations like chmod(). The fix introduces early validation of segment numbers immediately after the lock is acquired.

Affected products

  • Linux Linux Kernel nilfs2 file system

Timeline

  • 2026-05-03: other: Patch authored
  • 2026-07-18: patched: Patch committed to stable tree
  • 2026-07-25: advisory: CVE published

References

Related threats