# CVE-2026-97438: fs/ntfs3: validate index entry key bounds

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; 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.18% (percentile 4, 2026-11-28)
- **Published:** 2026-09-24T16:03:51.466Z
- **Modified:** 2026-10-03T11:17:55.350Z

## Who should check

- Anyone running Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< c8d93bc4823baecab3c39b877e16ac5f8d4d41ba; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 7feeb424bda7f6ffaf5090cdd01b300eaa74c02b; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< d564a885219a655077eefafeb72395a4580ebd69; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< a8f4fb6a7d58974ffc9aed597401528b181d76dc; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 0257e3ea00e19129f3ad5c039d8b8fdff0796835; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 98d6e5d9dc1d34dcffc61549617581a5fe1ef807
- Anyone running Linux 5.15

## Description

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

fs/ntfs3: validate index entry key bounds

\[BUG\]
A malformed NTFS directory index entry can advertise a key\_size larger
than the bytes actually present in its NTFS\_DE payload. Directory lookup
then passes that malformed key to cmp\_fnames(), which can read past the
end of the kmalloc'ed index buffer.

BUG: KASAN: slab-out-of-bounds in fname\_full\_size fs/ntfs3/ntfs.h:590 \[inline\]
BUG: KASAN: slab-out-of-bounds in cmp\_fnames+0x1ea/0x230 fs/ntfs3/index.c:46
Read of size 1 at addr ffff88801c313018 by task syz.6.3365/9279

Call Trace:
 \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
 dump\_stack\_lvl+0xbe/0x130 lib/dump\_stack.c:120
 print\_address\_description mm/kasan/report.c:378 \[inline\]
 print\_report+0xd1/0x650 mm/kasan/report.c:482
 kasan\_report+0xfb/0x140 mm/kasan/report.c:595
 \_\_asan\_report\_load1\_noabort+0x14/0x30 mm/kasan/report\_generic.c:378
 fname\_full\_size fs/ntfs3/ntfs.h:590 \[inline\]
 cmp\_fnames+0x1ea/0x230 fs/ntfs3/index.c:46
 hdr\_find\_e.isra.0+0x3ed/0x670 fs/ntfs3/index.c:762
 indx\_find+0x4b5/0x900 fs/ntfs3/index.c:1186
 dir\_search\_u+0x2c0/0x460 fs/ntfs3/dir.c:254
 ntfs\_lookup+0x1cc/0x2a0 fs/ntfs3/namei.c:85
 \_\_lookup\_slow+0x241/0x450 fs/namei.c:1816
 lookup\_slow fs/namei.c:1833 \[inline\]
 walk\_component+0x31c/0x570 fs/namei.c:2151
 link\_path\_walk+0x592/0xd60 fs/namei.c:2519
 path\_lookupat+0x138/0x660 fs/namei.c:2675
 filename\_lookup+0x1f3/0x560 fs/namei.c:2705
 filename\_setxattr+0xad/0x1c0 fs/xattr.c:660
 path\_setxattrat+0x1d8/0x280 fs/xattr.c:713
 \_\_do\_sys\_lsetxattr fs/xattr.c:754 \[inline\]
 \_\_se\_sys\_lsetxattr fs/xattr.c:750 \[inline\]
 \_\_x64\_sys\_lsetxattr+0xd0/0x150 fs/xattr.c:750
 ...

Allocated by task 9279:
 kasan\_save\_stack+0x39/0x70 mm/kasan/common.c:56
 kasan\_save\_track+0x14/0x40 mm/kasan/common.c:77
 kasan\_save\_alloc\_info+0x37/0x60 mm/kasan/generic.c:573
 poison\_kmalloc\_redzone mm/kasan/common.c:400 \[inline\]
 \_\_kasan\_kmalloc+0xc3/0xd0 mm/kasan/common.c:417
 kasan\_kmalloc include/linux/kasan.h:262 \[inline\]
 \_\_do\_kmalloc\_node mm/slub.c:5650 \[inline\]
 \_\_kmalloc\_noprof+0x2bd/0x900 mm/slub.c:5662
 kmalloc\_noprof include/linux/slab.h:961 \[inline\]
 indx\_read+0x41d/0xad0 fs/ntfs3/index.c:1059
 indx\_find+0x447/0x900 fs/ntfs3/index.c:1179
 dir\_search\_u+0x2c0/0x460 fs/ntfs3/dir.c:254
 ntfs\_lookup+0x1cc/0x2a0 fs/ntfs3/namei.c:85
 \_\_lookup\_slow+0x241/0x450 fs/namei.c:1816
 lookup\_slow fs/namei.c:1833 \[inline\]
 walk\_component+0x31c/0x570 fs/namei.c:2151
 link\_path\_walk+0x592/0xd60 fs/namei.c:2519
 path\_lookupat+0x138/0x660 fs/namei.c:2675
 filename\_lookup+0x1f3/0x560 fs/namei.c:2705
 filename\_setxattr+0xad/0x1c0 fs/xattr.c:660
 path\_setxattrat+0x1d8/0x280 fs/xattr.c:713
 \_\_do\_sys\_lsetxattr fs/xattr.c:754 \[inline\]
 \_\_se\_sys\_lsetxattr fs/xattr.c:750 \[inline\]
 \_\_x64\_sys\_lsetxattr+0xd0/0x150 fs/xattr.c:750
 ...

\[CAUSE\]
The index-header validators only validated INDEX\_HDR-level geometry.
They did not walk each NTFS\_DE to verify entry alignment, subnode
layout, or that key\_size fit inside the entry payload. They also
allowed a last sentinel entry to carry a non-zero key\_size.

\[FIX\]
Walk every NTFS\_DE in ntfs3's index-header validators and reject
entries with invalid layout, mismatched subnode state, oversized
key\_size, or non-zero sentinel keys before lookup or log replay can
consume them.

## Affected and fixed versions

- Linux: \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< c8d93bc4823baecab3c39b877e16ac5f8d4d41ba; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 7feeb424bda7f6ffaf5090cdd01b300eaa74c02b; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< d564a885219a655077eefafeb72395a4580ebd69; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< a8f4fb6a7d58974ffc9aed597401528b181d76dc; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 0257e3ea00e19129f3ad5c039d8b8fdff0796835; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 98d6e5d9dc1d34dcffc61549617581a5fe1ef807 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 98d6e5d9dc1d34dcffc61549617581a5fe1ef807 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-97438. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97438.md
Affected: Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < c8d93bc4823baecab3c39b877e16ac5f8d4d41ba; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 7feeb424bda7f6ffaf5090cdd01b300eaa74c02b; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < d564a885219a655077eefafeb72395a4580ebd69; >= 82cae269cfa953032fbb898…
Fixed in: Linux 7feeb424bda7f6ffaf5090cdd01b300eaa74c02b, Linux 0257e3ea00e19129f3ad5c039d8b8fdff0796835, Linux 98d6e5d9dc1d34dcffc61549617581a5fe1ef807

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-97438 being exploited?

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

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

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

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

Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< c8d93bc4823baecab3c39b877e16ac5f8d4d41ba; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 7feeb424bda7f6ffaf5090cdd01b300eaa74c02b; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< d564a885219a655077eefafeb72395a4580ebd69; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< a8f4fb6a7d58974ffc9aed597401528b181d76dc; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 0257e3ea00e19129f3ad5c039d8b8fdff0796835; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 98d6e5d9dc1d34dcffc61549617581a5fe1ef807; Linux 5.15.

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

Yes. Fixed in Linux 7feeb424bda7f6ffaf5090cdd01b300eaa74c02b, Linux 0257e3ea00e19129f3ad5c039d8b8fdff0796835, Linux 98d6e5d9dc1d34dcffc61549617581a5fe1ef807. Upgrade Linux to 98d6e5d9dc1d34dcffc61549617581a5fe1ef807 or later.

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

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

- other: <https://git.kernel.org/stable/c/c8d93bc4823baecab3c39b877e16ac5f8d4d41ba>
- other: <https://git.kernel.org/stable/c/7feeb424bda7f6ffaf5090cdd01b300eaa74c02b>
- other: <https://git.kernel.org/stable/c/d564a885219a655077eefafeb72395a4580ebd69>
- other: <https://git.kernel.org/stable/c/a8f4fb6a7d58974ffc9aed597401528b181d76dc>
- other: <https://git.kernel.org/stable/c/0257e3ea00e19129f3ad5c039d8b8fdff0796835>
- other: <https://git.kernel.org/stable/c/98d6e5d9dc1d34dcffc61549617581a5fe1ef807>

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

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