MEDIUM 5.5

CVE-2026-53029: Linux NTFS3 Kernel Uninitialized Variable Denial of Service

A logic flaw in the Linux kernel's NTFS3 filesystem handler can cause the system to use an uninitialized memory value during certain file operations. When the kernel attempts to map file regions for input/output, it may fail to properly initialize a critical variable (lcn) under specific conditions, leading to a kernel crash. The issue occurs when handling files or filesystem states that trigger a zero-length condition without setting up required data structures first. An unprivileged local user can trigger this by attempting to read or write to specially crafted NTFS3 filesystem files.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-908
Affected products
1 configuration(s)
Published / Modified
2026-06-24 / 2026-07-15

NVD description (verbatim)

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: prevent uninitialized lcn caused by zero len syzbot reported a uninit-value in ntfs_iomap_begin [1]. Since runs was not touched yet, run_lookup_entry() immediately fails and returns false, which makes the value of "*len" 0. Simultaneously, the new value and err value are also 0, causing the logic in attr_data_get_block_locked() to jump directly to ok, ultimately resulting in *lcn being triggered before it is set [1]. In ntfs_iomap_begin(), the check for a 0 value in clen is moved forward to before updating lcn to avoid this [1]. [1] BUG: KMSAN: uninit-value in ntfs_iomap_begin+0x8c0/0x1460 fs/ntfs3/inode.c:825 ntfs_iomap_begin+0x8c0/0x1460 fs/ntfs3/inode.c:825 iomap_iter+0x9b7/0x1540 fs/iomap/iter.c:110 Local variable lcn created at: ntfs_iomap_begin+0x15d/0x1460 fs/ntfs3/inode.c:786

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-53029 is a use-of-uninitialized-variable vulnerability in fs/ntfs3/inode.c within the Linux kernel's NTFS3 filesystem implementation. The vulnerability arises in the ntfs_iomap_begin() function during the iomap iteration process. When run_lookup_entry() returns false due to an uninitialized runs structure, both the length parameter (clen) and err value become zero. This causes the attr_data_get_block_locked() function to bypass normal control flow and jump to the success path without properly initializing the lcn (logical cluster number) variable. The lcn variable is subsequently read before assignment, exposing uninitialized kernel stack memory. The fix moves the zero-length check in ntfs_iomap_begin() earlier in the execution flow, before the lcn variable is updated, preventing the use of uninitialized data.

Business impact

Systems running vulnerable Linux kernels with NTFS3 filesystem support face potential denial of service. Any local user with filesystem access can crash the kernel by triggering the uninitialized variable condition, resulting in system downtime and service interruption. This is particularly impactful for multi-tenant systems, containerized environments, or shared hosting platforms where NTFS3 is enabled. While the vulnerability does not enable privilege escalation or data theft, the stability impact is significant for availability-dependent workloads.

Affected systems

Linux kernel versions supporting the NTFS3 filesystem driver are affected. The NTFS3 driver is typically enabled in general-purpose Linux distributions as an optional module or built-in component, particularly for systems requiring NTFS partition compatibility. Systems that do not mount or interact with NTFS3 filesystems are not at practical risk. Check your kernel configuration (CONFIG_NTFS3) and mounted filesystem types to determine exposure.

Exploitability

Exploitation requires local access to the system and the ability to perform filesystem operations on an NTFS3-mounted volume. The barrier to triggering is relatively low—no special privileges beyond standard user file access are needed, and no advanced techniques are required. The vulnerability is triggered through normal filesystem read/write operations on specially crafted file states, making it accessible to any local user. Remote exploitation is not possible; the attack surface is limited to local users with filesystem access.

Remediation

Apply the Linux kernel patch that moves the zero-length check (clen == 0) in ntfs_iomap_begin() to occur before lcn is updated. This prevents the function from proceeding with uninitialized lcn values. Monitor your kernel version and security advisories from your distribution for patched kernel releases. Systems that do not use NTFS3 (confirm via mount output and kernel configuration) are unaffected and require no action.

Patch guidance

Obtain and install the patched Linux kernel version from your distribution's security updates. Verify the kernel changelog includes the NTFS3 fix that moves the clen zero-check earlier in ntfs_iomap_begin(). For rolling-release distributions, update to the latest kernel package. For fixed-release distributions, wait for the security update advisory and apply when available. Testing the patch on a non-production system is recommended, particularly if NTFS3 is heavily used. Verify that NTFS3 filesystems continue to mount and function correctly after patching.

Detection guidance

Monitor system logs for kernel panic or oops messages referencing ntfs_iomap_begin() or the NTFS3 driver. Look for kernel address sanitizer (KMSAN) or undefined behavior (UBsan) warnings if your system has those sanitizers enabled. Check for sudden system reboots or crashes correlated with NTFS3 filesystem access. Tools like `journalctl` (systemd systems) or `/var/log/kern.log` will capture kernel crash details. Confirm kernel version running: `uname -r` and verify if NTFS3 is loaded: `lsmod | grep ntfs3`.

Why prioritize this

This medium-severity vulnerability should be prioritized for patching on systems that both run Linux kernels with NTFS3 enabled and have untrusted local users or multi-tenant workloads. For single-user or restricted-access systems, or systems not using NTFS3 filesystems, prioritization can be lower. The availability impact and local-attack requirement make this a moderate but manageable risk. Organizations should patch within standard monthly security update cycles unless they operate high-availability systems where kernel stability is critical, in which case expedited patching is warranted.

Risk score, explained

The CVSS 3.1 score of 5.5 (MEDIUM) reflects a local-attack-only vulnerability (AV:L) requiring low privileges (PR:L) and producing a denial-of-service impact (A:H). No confidentiality or integrity impact is possible. The score appropriately captures the availability risk balanced against the requirement for local access. Organizations should not dismiss this as low-risk; denial of service impacts can be severe depending on system role and availability requirements.

Frequently asked questions

Do I need to patch if I don't use NTFS3 filesystems?

No. If your system does not mount NTFS3 volumes and NTFS3 is not compiled into your kernel, you are not affected. Verify by running `mount | grep ntfs3` and checking kernel config. Most Linux-only environments without Windows interoperability needs do not need this patch.

Can this vulnerability be exploited remotely?

No. The vulnerability requires local filesystem access and cannot be triggered over the network. Remote attackers cannot exploit this directly, but local users (including unprivileged ones) can trigger a kernel crash.

What happens when the vulnerability is triggered?

The kernel crashes with an oops or panic, causing immediate system downtime and loss of unsaved data. Services restart after reboot, but availability is interrupted. Data on the filesystem itself is not corrupted or exposed.

Is this related to NTFS security issues on Windows?

No. This is a bug in Linux's NTFS3 open-source driver implementation. It is separate from Windows NTFS vulnerabilities and does not indicate issues with Windows systems or NTFS data itself.

This analysis is based on the CVE record and public kernel discussion as of the publication date. Patch availability and specific affected kernel versions should be verified against your Linux distribution's security advisories and kernel repositories. Testing is recommended before applying kernel updates in production environments. SEC.co does not provide warranty or guarantee regarding the accuracy of post-remediation vulnerability status. For official vendor guidance, consult your Linux distribution's security team and the kernel.org git repositories. Source: NVD (public-domain), retrieved 2026-07-31. Analysis generated by SEC.co (claude-haiku-4-5).