---
id: CVE-2026-99724
title: 'ntfs: don''t allow compression on volumes with clusters larger than 4K'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ntfs: don't allow compression on volumes with clusters larger than 4K

  On a volume made with "mkntfs -c 8192", a user can set
  FILE_ATTR_COMPRESSED on an empty file thro…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= fc053f05ca282a5e760b41f6560ac835c4e28037 <
    df35f062d4f24e4c9d9711d6af24916d3784871c
  - >-
    Linux >= fc053f05ca282a5e760b41f6560ac835c4e28037 <
    c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a
  - Linux 7.1
published: '2026-11-20'
updated: '2026-11-22'
sourceUpdated: '2026-11-22T11:09:51.590Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-99724'
references:
  - url: 'https://git.kernel.org/stable/c/df35f062d4f24e4c9d9711d6af24916d3784871c'
  - url: 'https://git.kernel.org/stable/c/c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a'
tags:
  - cve.org
epss: 0.00153
epssPercentile: 0.02291
ingestedAt: '2026-11-23T23:39:56.434Z'
---

## Overview

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

ntfs: don't allow compression on volumes with clusters larger than 4K

On a volume made with "mkntfs -c 8192", a user can set
FILE_ATTR_COMPRESSED on an empty file through system.ntfs_attrib.
Writing to the file and reading it back after dropping the page cache
then crashes:

  BUG: KASAN: slab-out-of-bounds in ntfs_read_compressed_block+0xa2c/0x2040
  Read of size 8192 at addr ffff88804355a000 by task dd/106

The read path only handles clusters up to 4K. It copies each cluster
out of a single page, and a compression block of 16 8K clusters does
not fit in the 64K ntfs_compression_buffer. Loading an inode already
rejects compressed data on such volumes.

Reject the flag change the same way.

## Affected

- `Linux >= fc053f05ca282a5e760b41f6560ac835c4e28037 < df35f062d4f24e4c9d9711d6af24916d3784871c`
- `Linux >= fc053f05ca282a5e760b41f6560ac835c4e28037 < c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a`
- `Linux 7.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
