CVE-2026-99724 (GCVE-0-2026-99724)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-22 11:09
VLAI
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 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.
Impacted products
Vendor Product Version
Linux Linux Affected: fc053f05ca282a5e760b41f6560ac835c4e28037 , < df35f062d4f24e4c9d9711d6af24916d3784871c (git)
Affected: fc053f05ca282a5e760b41f6560ac835c4e28037 , < c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a (git)
Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/ea.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "df35f062d4f24e4c9d9711d6af24916d3784871c",
              "status": "affected",
              "version": "fc053f05ca282a5e760b41f6560ac835c4e28037",
              "versionType": "git"
            },
            {
              "lessThan": "c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a",
              "status": "affected",
              "version": "fc053f05ca282a5e760b41f6560ac835c4e28037",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/ea.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: don\u0027t allow compression on volumes with clusters larger than 4K\n\nOn a volume made with \"mkntfs -c 8192\", a user can set\nFILE_ATTR_COMPRESSED on an empty file through system.ntfs_attrib.\nWriting to the file and reading it back after dropping the page cache\nthen crashes:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_read_compressed_block+0xa2c/0x2040\n  Read of size 8192 at addr ffff88804355a000 by task dd/106\n\nThe read path only handles clusters up to 4K. It copies each cluster\nout of a single page, and a compression block of 16 8K clusters does\nnot fit in the 64K ntfs_compression_buffer. Loading an inode already\nrejects compressed data on such volumes.\n\nReject the flag change the same way."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "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.\nAC: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\u0027s 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.\nPR: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.\nUI: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.\nS: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.\nC:H - memcpy_from_page() in ntfs_read_compressed_block() copies vol-\u003ecluster_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.\nI: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\u0027d to NTFS_MAX_CB_SIZE (64KiB). The vcn loop copies each cluster to cb_pos and adds cluster_size, writing past that buffer.\nA: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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-22T11:09:51.590Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/df35f062d4f24e4c9d9711d6af24916d3784871c"
        },
        {
          "url": "https://git.kernel.org/stable/c/c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a"
        }
      ],
      "title": "ntfs: don\u0027t allow compression on volumes with clusters larger than 4K",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99724",
    "datePublished": "2026-11-20T05:51:00.658Z",
    "dateReserved": "2026-09-25T10:25:14.431Z",
    "dateUpdated": "2026-11-22T11:09:51.590Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99724",
      "date": "2026-11-24",
      "epss": "0.00153",
      "percentile": "0.04344"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs/ea.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "df35f062d4f24e4c9d9711d6af24916d3784871c",
                    "status": "affected",
                    "version": "fc053f05ca282a5e760b41f6560ac835c4e28037",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a",
                    "status": "affected",
                    "version": "fc053f05ca282a5e760b41f6560ac835c4e28037",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs/ea.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.1"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: don\u0027t allow compression on volumes with clusters larger than 4K\n\nOn a volume made with \"mkntfs -c 8192\", a user can set\nFILE_ATTR_COMPRESSED on an empty file through system.ntfs_attrib.\nWriting to the file and reading it back after dropping the page cache\nthen crashes:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_read_compressed_block+0xa2c/0x2040\n  Read of size 8192 at addr ffff88804355a000 by task dd/106\n\nThe read path only handles clusters up to 4K. It copies each cluster\nout of a single page, and a compression block of 16 8K clusters does\nnot fit in the 64K ntfs_compression_buffer. Loading an inode already\nrejects compressed data on such volumes.\n\nReject the flag change the same way."
          }
        ],
        "id": "CVE-2026-99724",
        "lastModified": "2026-11-22T11:17:07.570",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:18:09.337",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c77ab4eeeb3ed471bcc99a94673f0e0142c4b84a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/df35f062d4f24e4c9d9711d6af24916d3784871c"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:22:13+00:00",
      "cve": "CVE-2026-99724",
      "id": "CVE-2026-99724",
      "initial_release_date": "2026-11-20T05:51:00.658000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via out-of-bounds read in NTFS compression on large-cluster volumes",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99724.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-23T17:31:38Z",
      "cve": "CVE-2026-99724",
      "id": "CVE-2026-99724",
      "initial_release_date": "2026-11-20T17:41:17Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99724",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99724.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…