# CVE-2026-98539: fs/ntfs3: use d\_instantiate\_new() in ntfs\_create\_inode() and murder syzbot's "WARNING in do\_new\_mount" saga

> 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.21% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:18:06.921Z
- **Modified:** 2026-11-23T08:17:27.390Z

## Who should check

- Anyone running Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< b4f6bbac3be870fe689f34192a1407ddbc794336; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< e093dc24ee8e1536ae0ce5b856522cc75b8472f8; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 37ec7353f4ac495b28284b0fcb0e53d21d1b3f3f; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1ae2a242c15b03470b1b16289298e597bbe3bb29; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1abd643f3783ea8f8e273c18697ff0413aa92dc7
- Anyone running Linux 5.15

## Description

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

fs/ntfs3: use d\_instantiate\_new() in ntfs\_create\_inode() and murder syzbot's "WARNING in do\_new\_mount" saga

ntfs\_create\_inode() creates a new inode via ntfs\_new\_inode(). It hashes
it with insert\_inode\_locked() and so it's marked as I\_NEW until
unlock\_new\_inode().

ntfs 3 calls d\_instantiate() in between though... Since the dentry was
already hashed by the lookup before the create any path walk finds it
without touching the parent's i\_rwsem and so can lock the inode.

If the inode is a directory unlock\_new\_inode() calls
lockdep\_annotate\_inode\_mutex\_key() and marks i\_rwsem with the
i\_mutex\_dir\_key class.

That resets the count and the owner of a lock somebody else may already
hold by now...

syzbot has been spamming us with the same godforsaken bug

  "WARNING in do\_new\_mount"

since 2023. I can't take it anymore so I went looking. Afaict, syzbot's
executor chdirs into a freshly mounted ntfs3 image, creates a
directory and then mounts some pseudofs on it. Everytime the mkdir()
takes longer than syzbot waits mount() runs concurrently:

  mkdir("./sys")                        mount(NULL, "./sys", "sysfs")
  ntfs\_create\_inode()
    d\_instantiate()
                                        user\_path\_at() finds the dentry
                                        do\_lock\_mount()
                                          inode\_lock(inode)
                                          namespace\_lock()
    unlock\_new\_inode()
      lockdep\_annotate\_inode\_mutex\_key()
        init\_rwsem(&inode-\>i\_rwsem)
                                        unlock\_mount()
                                          inode\_unlock(inode)

The mount side then releases a lock that according to the rwsem nobody
holds:

  DEBUG\_RWSEMS\_WARN\_ON((rwsem\_owner(sem) != current) && ...):
  count = 0x0, magic = 0xffff888043a854e8, owner = 0x0,
  curr 0xffff888000244880, list empty
  WARNING: CPU: 0 PID: 5346 at kernel/locking/rwsem.c:1368 \_\_up\_write
  Call Trace:
   inode\_unlock include/linux/fs.h:877 \[inline\]
   unlock\_mount fs/namespace.c:2892 \[inline\]
   do\_new\_mount\_fc fs/namespace.c:3828 \[inline\]
   do\_new\_mount+0x777/0xa40 fs/namespace.c:3887

On PREEMPT\_RT the same thing shows up as

  DEBUG\_LOCKS\_WARN\_ON(rt\_mutex\_owner(lock) != current)
  WARNING: kernel/locking/rtmutex\_common.h:193 at rt\_mutex\_slowunlock

The up\_write() underflows the reset count. A following inode\_lock() on
that directory then never returns. A path walk into the new directory
racing with the mkdir() corrupts the lock the same way via
inode\_lock\_shared() in lookup\_slow().

Switch to d\_instantiate\_new() and drop the trailing unlock\_new\_inode().
All error paths bail out before that point with I\_NEW still set and
keep using discard\_new\_inode().

May we never see this fscking bug report again.

## Affected and fixed versions

- Linux: \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< b4f6bbac3be870fe689f34192a1407ddbc794336; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< e093dc24ee8e1536ae0ce5b856522cc75b8472f8; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 37ec7353f4ac495b28284b0fcb0e53d21d1b3f3f; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1ae2a242c15b03470b1b16289298e597bbe3bb29; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1abd643f3783ea8f8e273c18697ff0413aa92dc7 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98539.md
Affected: Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < b4f6bbac3be870fe689f34192a1407ddbc794336; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < e093dc24ee8e1536ae0ce5b856522cc75b8472f8; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e; >= 82cae269cfa953032fbb898…
Fixed in: Linux 6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e, Linux 37ec7353f4ac495b28284b0fcb0e53d21d1b3f3f, Linux 1ae2a242c15b03470b1b16289298e597bbe3bb29, Linux 1abd643f3783ea8f8e273c18697ff0413aa92dc7

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< b4f6bbac3be870fe689f34192a1407ddbc794336; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< e093dc24ee8e1536ae0ce5b856522cc75b8472f8; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 37ec7353f4ac495b28284b0fcb0e53d21d1b3f3f; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1ae2a242c15b03470b1b16289298e597bbe3bb29; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1abd643f3783ea8f8e273c18697ff0413aa92dc7; Linux 5.15.

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

Yes. Fixed in Linux 6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e, Linux 37ec7353f4ac495b28284b0fcb0e53d21d1b3f3f, Linux 1ae2a242c15b03470b1b16289298e597bbe3bb29, Linux 1abd643f3783ea8f8e273c18697ff0413aa92dc7. Upgrade Linux to 1abd643f3783ea8f8e273c18697ff0413aa92dc7 or later.

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

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/b4f6bbac3be870fe689f34192a1407ddbc794336>
- other: <https://git.kernel.org/stable/c/e093dc24ee8e1536ae0ce5b856522cc75b8472f8>
- other: <https://git.kernel.org/stable/c/6fda7121cb6a8ea6fbd77d0f787f04b8e8b5358e>
- other: <https://git.kernel.org/stable/c/37ec7353f4ac495b28284b0fcb0e53d21d1b3f3f>
- other: <https://git.kernel.org/stable/c/1ae2a242c15b03470b1b16289298e597bbe3bb29>
- other: <https://git.kernel.org/stable/c/1abd643f3783ea8f8e273c18697ff0413aa92dc7>

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

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