CVE-2026-45864: fs/ntfs3: prevent infinite loops caused by the next valid being the same
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: rwbasewritelock+0x14f/0x750 kernel/locking/rwbasert.c:244 inodelock include/linux/fs.h:1027 [inline] ntfsfilewriteiter+0xe6/0x870 fs/ntfs3/file.c:1284
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-45864?
CVE-2026-45864 has a risk score of 22, indicating a critical severity level.
What systems are affected by CVE-2026-45864?
CVE-2026-45864 affects the Linux kernel, particularly the ntfs3 filesystem.
How do I fix CVE-2026-45864?
To resolve CVE-2026-45864, update to the latest version of the Linux kernel where the vulnerability has been patched.
What are the implications of CVE-2026-45864?
CVE-2026-45864 could lead to infinite loops in the filesystem processing, potentially causing system stability issues.
When was CVE-2026-45864 published?
CVE-2026-45864 was published on May 27, 2026.