CVE-2026-99679 (GCVE-0-2026-99679)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
Title
xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks
Summary
In the Linux kernel, the following vulnerability has been resolved: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks A client can commit a hole in a LAYOUTCOMMIT, because nfsd does not check the extents against its layouts. xfs_iomap_write_unwritten() then allocates written blocks there. A large hole overruns the block reservation and shuts XFS down. A small one exposes stale data. Refuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY.
Impacted products
Vendor Product Version
Linux Linux Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 097608700b06804fe81a695417004896507edaeb (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < d13039937a44e935ed57d661f3f4adcde8375785 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < bcf0b7f18ad11e1d410e82ffef678705eff0a317 (git)
Create a notification for this product.
Linux Linux Affected: 4.0
Unaffected: 0 , < 4.0 (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (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/xfs/xfs_file.c",
            "fs/xfs/xfs_ioend.c",
            "fs/xfs/xfs_iomap.c",
            "fs/xfs/xfs_iomap.h",
            "fs/xfs/xfs_pnfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "097608700b06804fe81a695417004896507edaeb",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "d13039937a44e935ed57d661f3f4adcde8375785",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "bcf0b7f18ad11e1d410e82ffef678705eff0a317",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/xfs_file.c",
            "fs/xfs/xfs_ioend.c",
            "fs/xfs/xfs_iomap.c",
            "fs/xfs/xfs_iomap.h",
            "fs/xfs/xfs_pnfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.0"
            },
            {
              "lessThan": "4.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "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": "6.18.65",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks\n\nA client can commit a hole in a LAYOUTCOMMIT, because nfsd does not\ncheck the extents against its layouts. xfs_iomap_write_unwritten() then\nallocates written blocks there. A large hole overruns the block\nreservation and shuts XFS down. A small one exposes stale data.\n\nRefuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.4,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - NFSv4.1 OP_LAYOUTCOMMIT carries the range: nfsd4_decode_layoutcommit reads the segment, and nfsd4_block_decode_layoutupdate or nfsd4_scsi_decode_layoutupdate copies each layoutupdate extent\u0027s file offset and length into iomaps. nfsd4_block_commit_blocks passes those iomaps to xfs_fs_commit_blocks, which calls xfs_iomap_write_unwritten on that client-supplied hole.\nAC:L - The client writes past EOF so the gap stays a hole, LAYOUTGETs it with IOMODE_READ (xfs_fs_map_blocks does not allocate when write is false), then LAYOUTCOMMITs that range. nfsd4_preprocess_layout_stateid does not require the layoutupdate to match the granted range. A length within the XFS_DIOSTRAT_SPACE_RES(mp, 0)\u003c\u003c1 reservation commits; a longer one makes xfs_trans_mod_sb shut XFS down.\nPR:N - nfsd4_layoutcommit gates the operation solely with fh_verify(NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE) before nfsd4_block_proc_layoutcommit or nfsd4_scsi_proc_layoutcommit. On an AUTH_SYS export the client asserts the uid in the RPC credential and nfsd does not verify that identity.\nUI:N - The attacking client creates the sparse file, issues LAYOUTGET to obtain the stateid, and sends the LAYOUTCOMMIT layoutupdate for the hole. No other user has to mount an image, open the file, or take any action.\nS:U - xfs_force_shutdown and the newly written extents both land in the same host XFS mount that served the LAYOUTCOMMIT. The effect stays inside that kernel filesystem authority.\nC:H - For a hole that fits the reservation, xfs_bmapi_allocate inserts the blocks as XFS_EXT_NORM and the commit path never passes XFS_BMAPI_ZERO, so a following NFS READ returns the previous contents of those free blocks. Further LAYOUTCOMMITs of reservation-sized holes repeat the disclosure.\nI:L - The same successful commit replaces the hole, or a delalloc extent after invalidate_inode_pages2_range, with those written blocks in the file, and a loca_last_write_offset past EOF grows i_size in xfs_fs_commit_blocks. The modification is limited to that file\u0027s extent map.\nA:H - xfs_iomap_write_unwritten reserves only XFS_DIOSTRAT_SPACE_RES(mp, 0)\u003c\u003c1 blocks. A longer hole is charged in xfs_ag_resv_alloc_extent via xfs_trans_mod_sb, which calls xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE) when t_blk_res_used exceeds t_blk_res, after which the filesystem fails I/O."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:05:54.762Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/097608700b06804fe81a695417004896507edaeb"
        },
        {
          "url": "https://git.kernel.org/stable/c/d13039937a44e935ed57d661f3f4adcde8375785"
        },
        {
          "url": "https://git.kernel.org/stable/c/bcf0b7f18ad11e1d410e82ffef678705eff0a317"
        }
      ],
      "title": "xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99679",
    "datePublished": "2026-11-20T05:50:26.518Z",
    "dateReserved": "2026-09-25T10:25:14.428Z",
    "dateUpdated": "2026-11-23T08:05:54.762Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99679",
      "date": "2026-11-24",
      "epss": "0.00486",
      "percentile": "0.42429"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:05:49.000Z",
      "cve": "CVE-2026-99679",
      "id": "msrc_CVE-2026-99679",
      "initial_release_date": "2026-11-20T18:08:55.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99679.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/xfs/xfs_file.c",
                  "fs/xfs/xfs_ioend.c",
                  "fs/xfs/xfs_iomap.c",
                  "fs/xfs/xfs_iomap.h",
                  "fs/xfs/xfs_pnfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "097608700b06804fe81a695417004896507edaeb",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d13039937a44e935ed57d661f3f4adcde8375785",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bcf0b7f18ad11e1d410e82ffef678705eff0a317",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/xfs/xfs_file.c",
                  "fs/xfs/xfs_ioend.c",
                  "fs/xfs/xfs_iomap.c",
                  "fs/xfs/xfs_iomap.h",
                  "fs/xfs/xfs_pnfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.0"
                  },
                  {
                    "lessThan": "4.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "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\nxfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks\n\nA client can commit a hole in a LAYOUTCOMMIT, because nfsd does not\ncheck the extents against its layouts. xfs_iomap_write_unwritten() then\nallocates written blocks there. A large hole overruns the block\nreservation and shuts XFS down. A small one exposes stale data.\n\nRefuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY."
          }
        ],
        "id": "CVE-2026-99679",
        "lastModified": "2026-11-23T08:18:08.740",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.4,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.5,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:18:02.753",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/097608700b06804fe81a695417004896507edaeb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bcf0b7f18ad11e1d410e82ffef678705eff0a317"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d13039937a44e935ed57d661f3f4adcde8375785"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-11-23T15:51:06+00:00",
      "cve": "CVE-2026-99679",
      "id": "CVE-2026-99679",
      "initial_release_date": "2026-11-20T05:50:26.518000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: xfs: Denial of Service via invalid pNFS LAYOUTCOMMIT range",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99679.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-23T17:31:57Z",
      "cve": "CVE-2026-99679",
      "id": "CVE-2026-99679",
      "initial_release_date": "2026-11-20T17:42:46Z",
      "product_status:known_affected": "347",
      "product_status:known_not_affected": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99679",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99679.json",
      "version": "5"
    }
  }
}



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…