# CVE-2026-97439: fs/ntfs3: preserve non-DOS attribute bits in system.dos\_attrib

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 7, 2026-12-02)
- **Published:** 2026-09-24T16:03:52.427Z
- **Modified:** 2026-10-03T11:17:55.520Z

## Who should check

- Anyone running Linux \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 533217b90addd57cc16f1c974e023c72d18949c7; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< f2d6bc89e2236939df189831707c8cdad199f57a; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< fdc9f65aa6631df04238c6154713bacd5133d77c; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 2de91ae285b0b878604d2bd83c3c395a8071e482; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 407ee19828a7d9700969ed9cc53be50d0f533619; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< b1c1101067d9536bcb0fe023b96ee2dde5535959
- Anyone running Linux 5.15

## Description

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

fs/ntfs3: preserve non-DOS attribute bits in system.dos\_attrib

\[BUG\]
A corrupted ntfs3 image can hit a NULL function pointer call in
generic\_perform\_write() after toggling system.ntfs\_attrib and then
overwriting system.dos\_attrib on the same file.

BUG: kernel NULL pointer dereference, address: 0000000000000000
\\\#PF: supervisor instruction fetch in kernel mode
\\\#PF: error\_code(0x0010) - not-present page
PGD bed5067 P4D bed5067 PUD 0
Oops: Oops: 0010 \[\#1\] SMP KASAN NOPTI
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffff88801025f988 EFLAGS: 00010246
Call Trace:
 generic\_perform\_write+0x409/0x8c0 mm/filemap.c:4255
 \_\_generic\_file\_write\_iter+0x1bb/0x200 mm/filemap.c:4372
 ntfs\_file\_write\_iter+0xcd9/0x1c20 fs/ntfs3/file.c:1253
 new\_sync\_write fs/read\_write.c:593 \[inline\]
 vfs\_write+0x63b/0xf70 fs/read\_write.c:686
 ksys\_write+0x133/0x250 fs/read\_write.c:738
 \_\_do\_sys\_write fs/read\_write.c:749 \[inline\]
 \_\_se\_sys\_write fs/read\_write.c:746 \[inline\]
 \_\_x64\_sys\_write+0x77/0xc0 fs/read\_write.c:746
 ...

\[CAUSE\]
system.ntfs\_attrib updates ATTR\_DATA flags via ni\_new\_attr\_flags()
and switches i\_mapping-\>a\_ops to ntfs\_aops\_cmpr when
FILE\_ATTRIBUTE\_COMPRESSED is set. system.dos\_attrib then overwrites
ni-\>std\_fa from a one-byte DOS attribute value, clearing the compression
bit without updating ATTR\_DATA or the mapping operations.

Old buffered writes use is\_compressed(ni) to choose
\_\_generic\_file\_write\_iter(). That leaves generic\_perform\_write() calling
a NULL write\_begin callback from ntfs\_aops\_cmpr.

\[FIX\]
Treat system.dos\_attrib as a low-byte DOS attribute update and preserve the
existing non-DOS attribute bits in ni-\>std\_fa. This keeps compressed and
sparse state consistent with ATTR\_DATA and the mapping operations while
keeping the existing DOS attribute semantics intact.

## Affected and fixed versions

- Linux: \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 533217b90addd57cc16f1c974e023c72d18949c7; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< f2d6bc89e2236939df189831707c8cdad199f57a; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< fdc9f65aa6631df04238c6154713bacd5133d77c; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 2de91ae285b0b878604d2bd83c3c395a8071e482; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 407ee19828a7d9700969ed9cc53be50d0f533619; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< b1c1101067d9536bcb0fe023b96ee2dde5535959 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97439.md
Affected: Linux >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < 533217b90addd57cc16f1c974e023c72d18949c7; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < f2d6bc89e2236939df189831707c8cdad199f57a; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < fdc9f65aa6631df04238c6154713bacd5133d77c; >= be71b5cba2e6485e8959da7…
Fixed in: Linux 533217b90addd57cc16f1c974e023c72d18949c7, Linux 2de91ae285b0b878604d2bd83c3c395a8071e482, Linux 407ee19828a7d9700969ed9cc53be50d0f533619

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 533217b90addd57cc16f1c974e023c72d18949c7; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< f2d6bc89e2236939df189831707c8cdad199f57a; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< fdc9f65aa6631df04238c6154713bacd5133d77c; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 2de91ae285b0b878604d2bd83c3c395a8071e482; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< 407ee19828a7d9700969ed9cc53be50d0f533619; \>= be71b5cba2e6485e8959da7a9f9a44461a1bb074, \< b1c1101067d9536bcb0fe023b96ee2dde5535959; Linux 5.15.

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

Yes. Fixed in Linux 533217b90addd57cc16f1c974e023c72d18949c7, Linux 2de91ae285b0b878604d2bd83c3c395a8071e482, Linux 407ee19828a7d9700969ed9cc53be50d0f533619. No fix listed yet: follow the vendor advisory.

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

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/533217b90addd57cc16f1c974e023c72d18949c7>
- other: <https://git.kernel.org/stable/c/f2d6bc89e2236939df189831707c8cdad199f57a>
- other: <https://git.kernel.org/stable/c/fdc9f65aa6631df04238c6154713bacd5133d77c>
- other: <https://git.kernel.org/stable/c/2de91ae285b0b878604d2bd83c3c395a8071e482>
- other: <https://git.kernel.org/stable/c/407ee19828a7d9700969ed9cc53be50d0f533619>
- other: <https://git.kernel.org/stable/c/b1c1101067d9536bcb0fe023b96ee2dde5535959>

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

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