{"id":"CVE-2026-45864","state":"PUBLISHED","title":"fs/ntfs3: prevent infinite loops caused by the next valid being the same","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: prevent infinite loops caused by the next valid being the same\n\nWhen processing valid within the range [valid : pos), if valid cannot\nbe retrieved correctly, for example, if the retrieved valid value is\nalways the same, this can trigger a potential infinite loop, similar\nto the hung problem reported by syzbot [1].\n\nAdding a check for the valid value within the loop body, and terminating\nthe loop and returning -EINVAL if the value is the same as the current\nvalue, can prevent this.\n\n[1]\nINFO: task syz.4.21:6056 blocked for more than 143 seconds.\nCall Trace:\n rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244\n inode_lock include/linux/fs.h:1027 [inline]\n ntfs_file_write_iter+0xe6/0x870 fs/ntfs3/file.c:1284","publishedAt":"2026-05-27T12:15:43.807Z","updatedAt":"2026-05-27T12:15:43.807Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"50c822fcb36768f1fb356f05b02a2248ef81936d","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"6d93239b4fc479f7c0a412dd196ec0ca2672d14a","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"71c8b966ec56e13c02388c1312910588bb49be7a","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"b97e371e5d1c13d722335d46eb8bc1a22b272a0e","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"a47a2bb9aa6455d5cee1045814a60c749309c92b","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"27b75ca4e51e3e4554dc85dbf1a0246c66106fd3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.202","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.165","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]}],"references":["https://git.kernel.org/stable/c/50c822fcb36768f1fb356f05b02a2248ef81936d","https://git.kernel.org/stable/c/6d93239b4fc479f7c0a412dd196ec0ca2672d14a","https://git.kernel.org/stable/c/71c8b966ec56e13c02388c1312910588bb49be7a","https://git.kernel.org/stable/c/b97e371e5d1c13d722335d46eb8bc1a22b272a0e","https://git.kernel.org/stable/c/4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4","https://git.kernel.org/stable/c/a47a2bb9aa6455d5cee1045814a60c749309c92b","https://git.kernel.org/stable/c/27b75ca4e51e3e4554dc85dbf1a0246c66106fd3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45864.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45864","state":"PUBLISHED","datePublished":"2026-05-27T12:15:43.807Z","dateUpdated":"2026-05-27T12:15:43.807Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.080Z"},"containers":{"cna":{"title":"fs/ntfs3: prevent infinite loops caused by the next valid being the same","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: prevent infinite loops caused by the next valid being the same\n\nWhen processing valid within the range [valid : pos), if valid cannot\nbe retrieved correctly, for example, if the retrieved valid value is\nalways the same, this can trigger a potential infinite loop, similar\nto the hung problem reported by syzbot [1].\n\nAdding a check for the valid value within the loop body, and terminating\nthe loop and returning -EINVAL if the value is the same as the current\nvalue, can prevent this.\n\n[1]\nINFO: task syz.4.21:6056 blocked for more than 143 seconds.\nCall Trace:\n rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244\n inode_lock include/linux/fs.h:1027 [inline]\n ntfs_file_write_iter+0xe6/0x870 fs/ntfs3/file.c:1284"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"50c822fcb36768f1fb356f05b02a2248ef81936d","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"6d93239b4fc479f7c0a412dd196ec0ca2672d14a","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"71c8b966ec56e13c02388c1312910588bb49be7a","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"b97e371e5d1c13d722335d46eb8bc1a22b272a0e","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"a47a2bb9aa6455d5cee1045814a60c749309c92b","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"27b75ca4e51e3e4554dc85dbf1a0246c66106fd3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.202","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.165","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/50c822fcb36768f1fb356f05b02a2248ef81936d"},{"url":"https://git.kernel.org/stable/c/6d93239b4fc479f7c0a412dd196ec0ca2672d14a"},{"url":"https://git.kernel.org/stable/c/71c8b966ec56e13c02388c1312910588bb49be7a"},{"url":"https://git.kernel.org/stable/c/b97e371e5d1c13d722335d46eb8bc1a22b272a0e"},{"url":"https://git.kernel.org/stable/c/4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4"},{"url":"https://git.kernel.org/stable/c/a47a2bb9aa6455d5cee1045814a60c749309c92b"},{"url":"https://git.kernel.org/stable/c/27b75ca4e51e3e4554dc85dbf1a0246c66106fd3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-27T12:15:43.807Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.202"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.165"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.128"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}