Description
In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: prevent infinite loops caused by the next valid being the same

When processing valid within the range [valid : pos), if valid cannot
be retrieved correctly, for example, if the retrieved valid value is
always the same, this can trigger a potential infinite loop, similar
to the hung problem reported by syzbot [1].

Adding a check for the valid value within the loop body, and terminating
the loop and returning -EINVAL if the value is the same as the current
value, can prevent this.

[1]
INFO: task syz.4.21:6056 blocked for more than 143 seconds.
Call Trace:
rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244
inode_lock include/linux/fs.h:1027 [inline]
ntfs_file_write_iter+0xe6/0x870 fs/ntfs3/file.c:1284
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability occurs in the Linux kernel's NTFS3 filesystem driver. When processing a range of valid offsets during a write operation, the code fails to detect when the computed "valid" value remains unchanged. As a consequence, the loop can iterate endlessly, potentially hanging the kernel. The defect corresponds to a resource exhaustion weakness (CWE-770). The result is a denial of service, where an attacker who can supply a maliciously crafted NTFS volume can render the system unresponsive.

Affected Systems

The flaw affects all Linux kernel releases that include the ntfs3 driver prior to the applied patch. No specific kernel versions are listed in the CNA data; any kernel running ntfs3 without the fix may be vulnerable.

Risk and Exploitability

The CVSS score is not provided, and the EPSS score is unavailable. The vulnerability is not listed in the CISA KEV catalog. Exploitation likely requires local access to mount or write to an NTFS3 filesystem, as the flaw is triggered during write operations. An attacker can craft an NTFS volume that causes the driver to loop indefinitely, provoking a kernel hang. The patch prevents the loop by terminating with -EINVAL when the computed "valid" value repeats.

Generated by OpenCVE AI on May 27, 2026 at 16:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the patch adding the check for the "valid" value and returning -EINVAL if unchanged.
  • If the system cannot upgrade immediately, disable the ntfs3 module or restrict write access to NTFS3 filesystems until a patch is applied.
  • Monitor for hangs after writing to NTFS volumes and reboot promptly if the kernel becomes unresponsive.

Generated by OpenCVE AI on May 27, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-767
CWE-770

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: prevent infinite loops caused by the next valid being the same When processing valid within the range [valid : pos), if valid cannot be retrieved correctly, for example, if the retrieved valid value is always the same, this can trigger a potential infinite loop, similar to the hung problem reported by syzbot [1]. Adding a check for the valid value within the loop body, and terminating the loop and returning -EINVAL if the value is the same as the current value, can prevent this. [1] INFO: task syz.4.21:6056 blocked for more than 143 seconds. Call Trace: rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244 inode_lock include/linux/fs.h:1027 [inline] ntfs_file_write_iter+0xe6/0x870 fs/ntfs3/file.c:1284
Title fs/ntfs3: prevent infinite loops caused by the next valid being the same
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:15:43.807Z

Reserved: 2026-05-13T15:03:33.080Z

Link: CVE-2026-45864

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:16:58.667

Modified: 2026-05-27T14:48:31.480

Link: CVE-2026-45864

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T19:00:14Z

Weaknesses