Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99724

published high CVSS 3.1 · 7.8

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

Published
20 Nov 2026, 05:51:00 UTC
Updated
22 Nov 2026, 11:09:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfc053f05ca282a5e760b41f6560ac835c4e28037 to < df35f062d4f24e4c9d9711d6af24916d3784871c · fc053f05ca282a5e760b41f6560ac835c4e28037 to < c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - FILE_ATTR_COMPRESSED reaches the patched ntfs_new_attr_flags() only through ntfs_setxattr() on system.ntfs_attrib, a local setxattr; the faulting copy is ntfs_read_compressed_block() called from ntfs_read_folio() on a later read(). Cluster size is on-volume metadata, and no remote protocol message carries the flag. AC:L - The attacker builds the volume with clusters above 4KiB (mkntfs -c 8192, which the boot-sector path accepts) and, once it is mounted writable, sets the flag on an empty file, writes, and drops that inode's folios. compression_unit is stored as 4 and the cluster_size memcpy_from_page() then runs on every such read, with no race and no spontaneous media error. PR:L - ntfs_setxattr() applies capable(CAP_SYS_ADMIN) to the $LXUID, $LXGID, $LXMOD, and $LXDEV names. system.ntfs_attrib skips that check, and xattr_permission() accepts system.* after may_write_xattr(). Default fmask 0 leaves i_mode 0777, so a local user who can create a regular file on the writable mount can set FILE_ATTR_COMPRESSED. UI:N - That local user creates the empty regular file, setxattrs system.ntfs_attrib into ntfs_new_attr_flags(), writes through ntfs_file_write_iter(), and reads through ntfs_file_read_iter() after invalidating the folio. ntfs_read_locked_inode() already rejects an on-disk compressed attribute when cluster_size is above 4096, so the missing check is reached by those calls alone. S:U - ntfs_read_compressed_block() overreads a block-device page and writes past the global ntfs_compression_buffer inside the host kernel that owns the mounted ntfs filesystem, the same security authority as a normal local privilege boundary. C:H - memcpy_from_page() in ntfs_read_compressed_block() copies vol->cluster_size bytes, 8192 in the reported case, from a single PAGE_SIZE bdev page, so the tail is the next direct-map page. On a short run that stays inside the 64KiB buffer, ntfs_decompress() can take those bytes as LZNT1 literals and copy them into the folio read() returns. I:H - ntfs_new_attr_flags() forces compression_unit 4, so the compression block is 16 clusters (128KiB when cluster_size is 8192) while ntfs_compression_buffer is vmalloc'd to NTFS_MAX_CB_SIZE (64KiB). The vcn loop copies each cluster to cb_pos and adds cluster_size, writing past that buffer. A:H - The copy is the reported KASAN slab-out-of-bounds read of 8192 bytes in ntfs_read_compressed_block(). A full 16-cluster block also writes past the 64KiB vmalloc region and faults on its guard page, oopsing the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fc053f05ca282a5e760b41f6560ac835c4e28037 to < df35f062d4f24e4c9d9711d6af24916d3784871c (affected · git)fc053f05ca282a5e760b41f6560ac835c4e28037 to < c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
cb12d6094b17eaf92cb6333d0af8d63ae7ede4aeef4ea8b9286829b61fd5f6ca
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected