Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99816

fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file

Published 30 Nov 2026 · Source updated 1 Dec 2026 · Retrieved 2026-12-04 10:06 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 54c86540227047f1da386d95e495c39325b39ca5; affected: 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 7c9a86ea4ca7dad5e07b01c82f8b02ec1e248a27; affected: 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 1870c0cdc16b24dc781ab64ac7394e06231c2010; affected: 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 815ab354f4b53709959af1a0f8dd49177ec85f85; affected: 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < b7d33425b951b7a14bb8bb4b3ef52f942bffc4f7; affected: 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < ad39d8d90fa0fd99b2714d4c84c6f4e1c399f1f4See vendor advisory
LinuxLinuxaffected: 5.15; unaffected: 0 to < 5.15; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.119 to ≤ 6.12.*; unaffected: 6.18.65 to ≤ 6.18.*; unaffected: 7.3.6 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed