CVE-2026-45864

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

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
May 27, 2026
Reserved
May 13, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 50c822fcb36768f1fb356f05b02a2248ef81936dAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 6d93239b4fc479f7c0a412dd196ec0ca2672d14aAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 71c8b966ec56e13c02388c1312910588bb49be7aAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before b97e371e5d1c13d722335d46eb8bc1a22b272a0eAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4Affected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before a47a2bb9aa6455d5cee1045814a60c749309c92bAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.202 through 5.15.*Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.