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: 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
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.202, 6.1.165, 6.12.75, 6.18.14, 6.19.4, 6.6.128
- CVEs
- CVE-2026-45864
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:05 UTC · Revision 1
Source evidence
fs/ntfs3: prevent infinite loops caused by the next valid being the same
core-osv · Original sourcePublished 27 May 2026, 12:15 UTC
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
osv:CVE-2026-45864
Kernel
Fixed versions: 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4
Complete source record
{
"id": "00317e7852edf0aa76a61a7585e5098f72abb0be95117553eb8fb970aadc317d",
"url": "https://osv.dev/vulnerability/CVE-2026-45864",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "fs/ntfs3: prevent infinite loops caused by the next valid being the same",
"summary": "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",
"evidence": "osv:CVE-2026-45864",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.202",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.165",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.128",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.14",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-45864",
"aliases": [
"CVE-2026-45864"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4342306f0f0d5ff4315a204d315c1b51b914fca5"
},
{
"fixed": "50c822fcb36768f1fb356f05b02a2248ef81936d"
},
{
"fixed": "6d93239b4fc479f7c0a412dd196ec0ca2672d14a"
},
{
"fixed": "71c8b966ec56e13c02388c1312910588bb49be7a"
},
{
"fixed": "b97e371e5d1c13d722335d46eb8bc1a22b272a0e"
},
{
"fixed": "4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4"
},
{
"fixed": "a47a2bb9aa6455d5cee1045814a60c749309c92b"
},
{
"fixed": "27b75ca4e51e3e4554dc85dbf1a0246c66106fd3"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45864.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "5.15.202"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.165"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.128"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.75"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.14"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45864.json"
}
}
],
"modified": "2026-10-28T02:30:21.787928942Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/27b75ca4e51e3e4554dc85dbf1a0246c66106fd3",
"https://git.kernel.org/stable/c/4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4",
"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/a47a2bb9aa6455d5cee1045814a60c749309c92b",
"https://git.kernel.org/stable/c/b97e371e5d1c13d722335d46eb8bc1a22b272a0e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45864.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45864",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45864.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45864",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 487504,
"published_at": "2026-05-27T12:15:43.807+00:00"
}