Skip to main content
Menu
CVEs

Linux kernel use-after-free in ntfs3 file decompression

Affects the Linux kernel ntfs3 driver for WOF externally-compressed files opened for write while a concurrent read runs. No fixed version is named; the fix is patch ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4.

CVE-2026-99816EUVD-2026-138049GHSA-F947-47WV-CJP2Published November 30, 2026, updated

7.8HighCNA
Exploited
No known exploitation
Fix
Vendor patch: ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4
Who is exposed
Specific setups only

Summary

The Linux kernel's ntfs3 file system driver has a use-after-free bug, in which a memory page is freed while another process is still reading it. It can be triggered when a compressed file is opened for writing at the same time that another process reads it.

Written by a model

Original description

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

fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file

attr_wof_frame_info() allocates, caches and dereferences ni->file.offs_folio under down_write(&ni->file.run_lock). ni_decompress_file() frees the same folio with folio_put() without taking run_lock. When a WOF externally-compressed file is opened for write, ni_decompress_file() can drop the last reference while a concurrent O_RDONLY reader is dereferencing the folio in attr_wof_frame_info(), leading to a use-after-free:

BUG: KASAN: use-after-free in attr_wof_frame_info (fs/ntfs3/attrib.c:1619) Read of size 4 at addr ffff8880120c9000 by task exploit Call Trace: attr_wof_frame_info (fs/ntfs3/attrib.c:1619) ni_read_frame (fs/ntfs3/frecord.c:2421) ni_read_folio_cmpr (fs/ntfs3/frecord.c:1916) ntfs_read_folio (fs/ntfs3/inode.c:648) read_pages (mm/readahead.c:181) page_cache_ra_unbounded (mm/readahead.c:292) force_page_cache_ra (mm/readahead.c:364) page_cache_sync_ra (mm/readahead.c:573) filemap_get_pages (mm/filemap.c:2688) filemap_read (mm/filemap.c:2806) generic_file_read_iter (mm/filemap.c:2994) ntfs_file_read_iter (fs/ntfs3/file.c:842) vfs_read (fs/read_write.c:574) __x64_sys_pread64 (fs/read_write.c:773)

Take run_lock around the folio_put(), as is done for every other access to ni->file.offs_folio.

Who should check

Teams running Linux kernels with the ntfs3 driver, especially hosts mounting NTFS volumes read-write that hold WOF-compressed Windows files

“When a WOF externally-compressed file is opened for write”

git.kernel.org

What to do

  1. Check whether your setup matches what the bug needs.

    The file is a WOF externally-compressed file, opened for write A concurrent read of the file is in progress Files carry IO_REPARSE_TAG_COMPRESS with WofCompressedData, as Windows compact or CompactOS content
  2. Apply the vendor's patch: ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-99816 (fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-99816 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 5.15
Vendor patches: ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=54c86540227047f1da386d95e495c39325b39ca5). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- The file is a WOF externally-compressed file, opened for write (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=54c86540227047f1da386d95e495c39325b39ca5)
- A concurrent read of the file is in progress (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=54c86540227047f1da386d95e495c39325b39ca5)
- Files carry IO_REPARSE_TAG_COMPRESS with WofCompressedData, as Windows compact or CompactOS content (source: https://www.cve.org/CVERecord?id=CVE-2026-99816)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-99816 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-99816 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/54c86540227047f1da386d95e495c39325b39ca5
- https://git.kernel.org/stable/c/7c9a86ea4ca7dad5e07b01c82f8b02ec1e248a27
- https://git.kernel.org/stable/c/1870c0cdc16b24dc781ab64ac7394e06231c2010
- https://git.kernel.org/stable/c/815ab354f4b53709959af1a0f8dd49177ec85f85
- https://git.kernel.org/stable/c/b7d33425b951b7a14bb8bb4b3ef52f942bffc4f7
- https://git.kernel.org/stable/c/ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=54c86540227047f1da386d95e495c39325b39ca5
- https://www.cve.org/CVERecord?id=CVE-2026-99816
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-99816
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-99816"}.

Affected versions

cve.now Index

33Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
  • Severity7.8/10CVSS 7.8
  • No patch0/5No signal

What would change the score

  • Would score about 83 if added to CISA KEV
  • Would score about 78 if CISA's SSVC rates exploitation active
  • Would score about 43 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now1 day
  3. Record last updated
  4. Posted on X by cve.now

Evidence 8

Questions about CVE-2026-99816

Is CVE-2026-99816 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: cve.now feed data

What does this mean?

The driver returns a memory page holding offsets for a compressed file while a concurrent read still uses it, which is a use-after-free. The advisory says this can disclose kernel memory, corrupt whatever reuses the page, and cause crashes or panics.

Source: git.kernel.org, cve.org

Which versions are affected by CVE-2026-99816?

Linux: version 5.15.

Source: cve.now feed data

Am I affected, and how do I check?

The bug involves WOF externally-compressed files (IO_REPARSE_TAG_COMPRESS with WofCompressedData, as Windows compact or CompactOS content) opened for write while a concurrent O_RDONLY read is in progress. To check a system, look at the kernel version with uname -r and whether the fs/ntfs3 driver is in use; the facts do not name affected version ranges.

Source: git.kernel.org, cve.org

How do I fix CVE-2026-99816?

No fixed version is named. Apply upstream commit ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4, which takes run_lock around the folio_put() call, to your kernel source.

Source: git.kernel.org, cve.org

No corrections so far. Something wrong on this page? Report an error.