# CVE-2026-45864: fs/ntfs3: prevent infinite loops caused by the next valid being the same

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2026-05-27T12:15:43.807Z
- **Modified:** 2026-06-25T21:07:13.457Z

## Who should check

- Anyone running Linux \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 50c822fcb36768f1fb356f05b02a2248ef81936d; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 6d93239b4fc479f7c0a412dd196ec0ca2672d14a; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 71c8b966ec56e13c02388c1312910588bb49be7a; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< b97e371e5d1c13d722335d46eb8bc1a22b272a0e; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< a47a2bb9aa6455d5cee1045814a60c749309c92b; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3
- Anyone running Linux 5.15

## 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

## Affected and fixed versions

- Linux: \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 50c822fcb36768f1fb356f05b02a2248ef81936d; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 6d93239b4fc479f7c0a412dd196ec0ca2672d14a; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 71c8b966ec56e13c02388c1312910588bb49be7a; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< b97e371e5d1c13d722335d46eb8bc1a22b272a0e; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< a47a2bb9aa6455d5cee1045814a60c749309c92b; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45864. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45864.md
Affected: Linux >= 4342306f0f0d5ff4315a204d315c1b51b914fca5, < 50c822fcb36768f1fb356f05b02a2248ef81936d; >= 4342306f0f0d5ff4315a204d315c1b51b914fca5, < 6d93239b4fc479f7c0a412dd196ec0ca2672d14a; >= 4342306f0f0d5ff4315a204d315c1b51b914fca5, < 71c8b966ec56e13c02388c1312910588bb49be7a; >= 4342306f0f0d5ff4315a204…
Fixed in: Linux 50c822fcb36768f1fb356f05b02a2248ef81936d, Linux 6d93239b4fc479f7c0a412dd196ec0ca2672d14a, Linux 71c8b966ec56e13c02388c1312910588bb49be7a, Linux 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4, Linux 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45864 being exploited?

There is no confirmed exploitation: CVE-2026-45864 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45864?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45864?

Linux \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 50c822fcb36768f1fb356f05b02a2248ef81936d; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 6d93239b4fc479f7c0a412dd196ec0ca2672d14a; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 71c8b966ec56e13c02388c1312910588bb49be7a; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< b97e371e5d1c13d722335d46eb8bc1a22b272a0e; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< a47a2bb9aa6455d5cee1045814a60c749309c92b; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3; Linux 5.15.

### Is there a fix for CVE-2026-45864?

Yes. Fixed in Linux 50c822fcb36768f1fb356f05b02a2248ef81936d, Linux 6d93239b4fc479f7c0a412dd196ec0ca2672d14a, Linux 71c8b966ec56e13c02388c1312910588bb49be7a, Linux 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4, Linux 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3. Upgrade Linux to 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3 or later.

### How do I check if I'm affected by CVE-2026-45864?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/50c822fcb36768f1fb356f05b02a2248ef81936d>
- patch: <https://git.kernel.org/stable/c/6d93239b4fc479f7c0a412dd196ec0ca2672d14a>
- patch: <https://git.kernel.org/stable/c/71c8b966ec56e13c02388c1312910588bb49be7a>
- patch: <https://git.kernel.org/stable/c/b97e371e5d1c13d722335d46eb8bc1a22b272a0e>
- patch: <https://git.kernel.org/stable/c/4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4>
- patch: <https://git.kernel.org/stable/c/a47a2bb9aa6455d5cee1045814a60c749309c92b>
- patch: <https://git.kernel.org/stable/c/27b75ca4e51e3e4554dc85dbf1a0246c66106fd3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45864>

HTML: <https://flawdb.com/CVE-2026-45864> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45864>
