CVE-2026-55392
Received Received - Intake
Integer Overflow in NILFS Utilities

Publication date: 2026-06-18

Last updated on: 2026-06-18

Assigner: VulnCheck

Description
NILFS utilities through 2.3.0, fixed in commit 26efb5d, nilfs_sb_is_valid() function fails to validate s_log_block_size field in NILFS2 superblock before bit-shift operations. Attackers supplying crafted NILFS2 images trigger undefined behavior through oversized shifts or out-of-memory conditions, crashing tools like nilfs-tune and dumpseg.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-18
Last Modified
2026-06-18
Generated
2026-06-19
AI Q&A
2026-06-18
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nilfs-dev nilfs-utils 2.3.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability in nilfs-utils (CVE-2026-55392) is caused by the nilfs_sb_is_valid() function failing to properly validate the s_log_block_size field in NILFS2 filesystem images. This field should only have values between 0 and 6, corresponding to block sizes from 1024 to 65536 bytes. However, the function does not check this range, allowing attackers to supply crafted NILFS2 images with invalid s_log_block_size values.

When an invalid s_log_block_size is used, it can cause undefined behavior due to oversized bit-shift operations or trigger out-of-memory conditions by requesting extremely large memory allocations. This can crash tools like nilfs-tune and dumpseg that read these filesystem images.

Mitigation Strategies

The immediate mitigation is to update nilfs-utils to a version that includes the fix from commit 26efb5d, which adds validation to ensure s_log_block_size is within the valid range (0 to 6).

Until the update is applied, avoid mounting or using untrusted NILFS2 filesystem images or devices, as they may trigger crashes or out-of-memory conditions.

If you must interact with NILFS2 images, consider validating the s_log_block_size field manually before using tools like nilfs-tune or dumpseg.

Monitor system logs for crashes or OOM kills related to nilfs-utils tools and restrict access to these utilities to trusted users only.

Compliance Impact

The provided information does not specify any direct impact of the CVE-2026-55392 vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Impact Analysis

This vulnerability can lead to denial-of-service (DoS) conditions on systems using nilfs-utils. Specifically, by providing a maliciously crafted NILFS2 image with an invalid s_log_block_size, an attacker can cause critical tools such as nilfs-tune, dumpseg, or the garbage collector to crash or be terminated due to out-of-memory situations.

Such crashes or terminations can disrupt system operations, potentially affecting system stability and availability, especially if these tools are part of maintenance or recovery processes.

Detection Guidance

This vulnerability involves crafted NILFS2 filesystem images with an invalid s_log_block_size field. Detection involves checking NILFS2 superblocks for s_log_block_size values outside the valid range of 0 to 6.

You can inspect NILFS2 superblocks on your system using tools like nilfs-tune or dumpseg, but be cautious as these tools may crash if the vulnerability is triggered.

A safer approach is to manually examine the s_log_block_size field in the superblock data. For example, you can use a hex editor or dd and hexdump commands to extract and inspect the superblock data from the device or image.

  • Use dd to read the superblock (usually at a fixed offset) from the device or image: dd if=/dev/sdX bs=4096 count=1 skip=some_offset | hexdump -C
  • Identify the offset of the s_log_block_size field within the superblock structure (refer to NILFS2 documentation or source).
  • Check if the s_log_block_size value is within 0 to 6. Values outside this range indicate a potentially crafted malicious image.

Currently, there are no specific network detection commands since this is a local filesystem vulnerability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55392. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart