CVE-2026-99996
Last modified
CVE-2026-99996 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ntfs: hold the runlist lock while expanding a non-resident attribute ntfs_non_resident_attr_expand() changes ni->runlist.rl while it allocates clusters: ntfs_attr_map_whole_runlist(), the compressed branch's ntfs_rl_realloc() and ntfs_runlists_merge() can each kvfree() the old array. Unless the caller already holds ni->runlist.lock, none of this happens under it; only the rollback takes it.
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: hold the runlist lock while expanding a non-resident attribute ntfs_non_resident_attr_expand() changes ni->runlist.rl while it allocates clusters: ntfs_attr_map_whole_runlist(), the compressed branch's ntfs_rl_realloc() and ntfs_runlists_merge() can each kvfree() the old array. Unless the caller already holds ni->runlist.lock, none of this happens under it; only the rollback takes it. Callers without it include the write path, fallocate, ntfs_inode_attr_pwrite() and ntfs_resident_attr_resize(). Those callers hold mrec_lock, and the write path also inode_lock, but the iomap read side takes neither: FIEMAP, page faults, readahead and splice read reach ntfs_read_iomap_begin_non_resident(), which takes only ni->runlist.lock. A FIEMAP running while write(2) extends the same file can walk the array that ntfs_runlists_merge() has just freed: BUG: KASAN: slab-use-after-free in ntfs_attr_vcn_to_rl+0x19b/0x200 A reader that finds a vcn unmapped in the stale array also maps it from disk into the runlist the writer is changing, which shows up as "Run lists overlap. Cannot merge!". Take ni->runlist.lock for writing around the part of the expansion that changes the runlist and allocated_size, up to and including the mapping pairs update, as ntfs_non_resident_attr_shrink() does since commit 91709ba5d6d7 ("ntfs: protect runlist updates with the runlist lock"), and hold it throughout the rollback, where ntfs_cluster_free() requires it. The lock nests inside mrec_lock, as on the truncate-up path, which already calls this function with the runlist lock held. Where the caller says it holds the lock (locked_ni == ni), assert that it holds it for writing. For an $ATTRIBUTE_LIST whose lock the caller does not hold, drop the lock again before the mapping pairs update: that update can resize the same list through ntfs_attrlist_update_locked(), which returns -ENOSPC when told that the list's lock is held. Holding it there made punching holes into a large fragmented file fail with -ENOSPC.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 495e90fa334828d4119061e2726af51d0a0fb4ed, < bebc7db05867fd84349843df5c650054f580044c; >= 495e90fa334828d4119061e2726af51d0a0fb4ed, < 768c6f5fab58cefa65509dd34b946fdd1071746e |
| Linux | Linux | 7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99996?
How severe is CVE-2026-99996?
How do I fix CVE-2026-99996?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99990In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99991In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99992In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99993In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99994In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99995In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99997In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99999In the Linux kernel, the following vulnerability has been re…9.3
Are you affected by CVE-2026-99996?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
