# CVE-2023-53194: fs/ntfs3: Add length check in indx\_get\_root

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

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-09-15T14:06:41.076Z
- **Modified:** 2026-08-05T09:13:04.320Z

## Who should check

- Anyone running Linux \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 85afd3007465f8bc74afffbf5b84ec29f5310b03; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 0d04e45c65f0785e558b93d2631d58680f263e10; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< eb5b59931d20f3b02076fae49e85282310b12012; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: Add length check in indx\_get\_root

This adds a length check to guarantee the retrieved index root is legit.

\[  162.459513\] BUG: KASAN: use-after-free in hdr\_find\_e.isra.0+0x10c/0x320
\[  162.460176\] Read of size 2 at addr ffff8880037bca99 by task mount/243
\[  162.460851\]
\[  162.461252\] CPU: 0 PID: 243 Comm: mount Not tainted 6.0.0-rc7 \#42
\[  162.461744\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
\[  162.462609\] Call Trace:
\[  162.462954\]  \<TASK\>
\[  162.463276\]  dump\_stack\_lvl+0x49/0x63
\[  162.463822\]  print\_report.cold+0xf5/0x689
\[  162.464608\]  ? unwind\_get\_return\_address+0x3a/0x60
\[  162.465766\]  ? hdr\_find\_e.isra.0+0x10c/0x320
\[  162.466975\]  kasan\_report+0xa7/0x130
\[  162.467506\]  ? \_raw\_spin\_lock\_irq+0xc0/0xf0
\[  162.467998\]  ? hdr\_find\_e.isra.0+0x10c/0x320
\[  162.468536\]  \_\_asan\_load2+0x68/0x90
\[  162.468923\]  hdr\_find\_e.isra.0+0x10c/0x320
\[  162.469282\]  ? cmp\_uints+0xe0/0xe0
\[  162.469557\]  ? cmp\_sdh+0x90/0x90
\[  162.469864\]  ? ni\_find\_attr+0x214/0x300
\[  162.470217\]  ? ni\_load\_mi+0x80/0x80
\[  162.470479\]  ? entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
\[  162.470931\]  ? ntfs\_bread\_run+0x190/0x190
\[  162.471307\]  ? indx\_get\_root+0xe4/0x190
\[  162.471556\]  ? indx\_get\_root+0x140/0x190
\[  162.471833\]  ? indx\_init+0x1e0/0x1e0
\[  162.472069\]  ? fnd\_clear+0x115/0x140
\[  162.472363\]  ? \_raw\_spin\_lock\_irqsave+0x100/0x100
\[  162.472731\]  indx\_find+0x184/0x470
\[  162.473461\]  ? sysvec\_apic\_timer\_interrupt+0x57/0xc0
\[  162.474429\]  ? indx\_find\_buffer+0x2d0/0x2d0
\[  162.474704\]  ? do\_syscall\_64+0x3b/0x90
\[  162.474962\]  dir\_search\_u+0x196/0x2f0
\[  162.475381\]  ? ntfs\_nls\_to\_utf16+0x450/0x450
\[  162.475661\]  ? ntfs\_security\_init+0x3d6/0x440
\[  162.475906\]  ? is\_sd\_valid+0x180/0x180
\[  162.476191\]  ntfs\_extend\_init+0x13f/0x2c0
\[  162.476496\]  ? ntfs\_fix\_post\_read+0x130/0x130
\[  162.476861\]  ? iput.part.0+0x286/0x320
\[  162.477325\]  ntfs\_fill\_super+0x11e0/0x1b50
\[  162.477709\]  ? put\_ntfs+0x1d0/0x1d0
\[  162.477970\]  ? vsprintf+0x20/0x20
\[  162.478258\]  ? set\_blocksize+0x95/0x150
\[  162.478538\]  get\_tree\_bdev+0x232/0x370
\[  162.478789\]  ? put\_ntfs+0x1d0/0x1d0
\[  162.479038\]  ntfs\_fs\_get\_tree+0x15/0x20
\[  162.479374\]  vfs\_get\_tree+0x4c/0x130
\[  162.479729\]  path\_mount+0x654/0xfe0
\[  162.480124\]  ? putname+0x80/0xa0
\[  162.480484\]  ? finish\_automount+0x2e0/0x2e0
\[  162.480894\]  ? putname+0x80/0xa0
\[  162.481467\]  ? kmem\_cache\_free+0x1c4/0x440
\[  162.482280\]  ? putname+0x80/0xa0
\[  162.482714\]  do\_mount+0xd6/0xf0
\[  162.483264\]  ? path\_mount+0xfe0/0xfe0
\[  162.484782\]  ? \_\_kasan\_check\_write+0x14/0x20
\[  162.485593\]  \_\_x64\_sys\_mount+0xca/0x110
\[  162.486024\]  do\_syscall\_64+0x3b/0x90
\[  162.486543\]  entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
\[  162.487141\] RIP: 0033:0x7f9d374e948a
\[  162.488324\] Code: 48 8b 0d 11 fa 2a 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 008
\[  162.489728\] RSP: 002b:00007ffe30e73d18 EFLAGS: 00000206 ORIG\_RAX: 00000000000000a5
\[  162.490971\] RAX: ffffffffffffffda RBX: 0000561cdb43a060 RCX: 00007f9d374e948a
\[  162.491669\] RDX: 0000561cdb43a260 RSI: 0000561cdb43a2e0 RDI: 0000561cdb442af0
\[  162.492050\] RBP: 0000000000000000 R08: 0000561cdb43a280 R09: 0000000000000020
\[  162.492459\] R10: 00000000c0ed0000 R11: 0000000000000206 R12: 0000561cdb442af0
\[  162.493183\] R13: 0000561cdb43a260 R14: 0000000000000000 R15: 00000000ffffffff
\[  162.493644\]  \</TASK\>
\[  162.493908\]
\[  162.494214\] The buggy address belongs to the physical page:
\[  162.494761\] page:000000003e38a3d5 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x37bc
\[  162.496064\] flags: 0xfffffc0000000(node=0\|zone=1\|lastcpupid=0x1fffff)
\[  162.497278\] raw: 000fffffc0000000 ffffea00000df1c8 ffffea00000df008 0000000000000000
\[  162.498928\] raw: 0000000000000000 0000000000240000 00000000ffffffff 0000000000000000
\[  162.500542\] page dumped becau
---truncated---

## Affected and fixed versions

- Linux: \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 85afd3007465f8bc74afffbf5b84ec29f5310b03; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 0d04e45c65f0785e558b93d2631d58680f263e10; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< eb5b59931d20f3b02076fae49e85282310b12012; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53194.md
Affected: Linux >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 85afd3007465f8bc74afffbf5b84ec29f5310b03; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 0d04e45c65f0785e558b93d2631d58680f263e10; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < eb5b59931d20f3b02076fae49e85282310b12012; >= 4534a70b7056fd4b9a1c6db…
Fixed in: Linux 85afd3007465f8bc74afffbf5b84ec29f5310b03, Linux 0d04e45c65f0785e558b93d2631d58680f263e10, Linux 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0

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-2023-53194 being exploited?

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

### How serious is CVE-2023-53194?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53194?

Linux \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 85afd3007465f8bc74afffbf5b84ec29f5310b03; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 0d04e45c65f0785e558b93d2631d58680f263e10; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< eb5b59931d20f3b02076fae49e85282310b12012; \>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, \< 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0; Linux 5.15.

### Is there a fix for CVE-2023-53194?

Yes. Fixed in Linux 85afd3007465f8bc74afffbf5b84ec29f5310b03, Linux 0d04e45c65f0785e558b93d2631d58680f263e10, Linux 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0. Upgrade Linux to 08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0 or later.

### How do I check if I'm affected by CVE-2023-53194?

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/85afd3007465f8bc74afffbf5b84ec29f5310b03>
- patch: <https://git.kernel.org/stable/c/0d04e45c65f0785e558b93d2631d58680f263e10>
- patch: <https://git.kernel.org/stable/c/eb5b59931d20f3b02076fae49e85282310b12012>
- patch: <https://git.kernel.org/stable/c/08e8cf5f2d9ec383a2e339a2711b62a54ff3fba0>

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

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