Junglewise Threat Intelligence

CVE-2026-53320: Linux Kernel NILFS2 invalid block validation in ioctl

CVE-2026-53320 · Severity: info · CVSS 0 · Published 2026-06-26

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's NILFS2 file system. A specifically crafted request to the system could cause the kernel to attempt operations on non-existent data blocks, leading to internal warnings and potential system instability. This issue primarily affects systems using the NILFS2 file system and could be used by a local attacker to disrupt normal operations.

Technical details

A vulnerability exists in the NILFS2 implementation within the Linux kernel where nilfs_ioctl_mark_blocks_dirty() fails to reject a zero value for bd_oblocknr. In NILFS2, block 0 is reserved for the primary superblock and is not a valid target for garbage collection or marking as dirty. When a corrupted ioctl request provides a bd_oblocknr of 0, and a subsequent lookup returns -ENOENT (setting bd_blocknr to 0), the kernel incorrectly bypasses dead block checks. This results in nilfs_bmap_mark() being called on a non-existent block, triggering a WARN_ON in nilfs_btree_do_lookup(). The fix involves explicitly rejecting ioctl requests where bd_oblocknr is 0.

Affected products

  • Linux Linux Kernel 7942b919f732 to be3e5d10643d3be1cbac9d9939f220a99253f980

Timeline

  • 2026-06-26: disclosed
  • 2026-06-26: advisory

References

Related threats