CVE-2026-99680 (GCVE-0-2026-99680)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
Title
xfs: mark the inode preallocated for pNFS write layouts past EOF
Summary
In the Linux kernel, the following vulnerability has been resolved: xfs: mark the inode preallocated for pNFS write layouts past EOF xfs_fs_map_blocks() marks the inode XFS_DIFLAG_PREALLOC only when it allocates blocks for a write layout. A write layout past EOF can also hand out allocated blocks, such as speculative preallocation. blockgc then frees them under the layout, and another file may get them. Mark the inode whenever a write mapping ends past EOF.
Impacted products
Vendor Product Version
Linux Linux Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 7d59e72920deab04fda0741b1ab7efe06308e29c (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 82724abee43e41a42c6aa34acfc35ca532c06809 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 760756e136db8e4d9fd7dce0bccb2593c97d326f (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 12fc4f754c4caa1fe6651b6bd5a9994cae5a4089 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < fea6d9e15570eeb41c9e01f22f45a8498d9fe200 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < ff7646096b6ed2ad415258bfbfb07fa6204698dc (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 2748b9277ff5e35e222b6c4d46a8285e3cf6051d (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 8b8e265991556d99b6d721697f148975a7c68767 (git)
Create a notification for this product.
Linux Linux Affected: 4.0
Unaffected: 0 , < 4.0 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 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_pnfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7d59e72920deab04fda0741b1ab7efe06308e29c",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "82724abee43e41a42c6aa34acfc35ca532c06809",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "760756e136db8e4d9fd7dce0bccb2593c97d326f",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "12fc4f754c4caa1fe6651b6bd5a9994cae5a4089",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "fea6d9e15570eeb41c9e01f22f45a8498d9fe200",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "ff7646096b6ed2ad415258bfbfb07fa6204698dc",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "2748b9277ff5e35e222b6c4d46a8285e3cf6051d",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "8b8e265991556d99b6d721697f148975a7c68767",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "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": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "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": "5.10.275",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "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: mark the inode preallocated for pNFS write layouts past EOF\n\nxfs_fs_map_blocks() marks the inode XFS_DIFLAG_PREALLOC only when it\nallocates blocks for a write layout. A write layout past EOF can also\nhand out allocated blocks, such as speculative preallocation. blockgc\nthen frees them under the layout, and another file may get them.\n\nMark the inode whenever a write mapping ends past EOF."
        }
      ],
      "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:H/A:L",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - An NFSv4.1 OP_LAYOUTGET with layout type LAYOUT_BLOCK_VOLUME or LAYOUT_SCSI, iomode IOMODE_RW, and loga_offset past EOF is handled by nfsd4_layoutget, nfsd4_block_proc_layoutget, nfsd4_block_map_extent, then xfs_fs_map_blocks, which returns already-allocated post-EOF blocks and leaves XFS_DIFLAG_PREALLOC clear. The client then reads or writes those blocks after xfs_free_eofblocks reassigns them.\nAC:L - The client builds the post-EOF extent: an NFS WRITE above the allocsize threshold makes xfs_iomap_prealloc_size reserve a delalloc tail, and filemap_write_and_wait in xfs_fs_map_blocks converts it with xfs_bmapi_convert_one_delalloc. Default xfs_blockgc_worker (blockgc_timer 300s) then calls xfs_free_eofblocks with no break_layout; the client waits for that scan or forces it via the ENOSPC path in xfs_file_buffered_write.\nPR:N - IOMODE_RW only adds NFSD_MAY_WRITE in nfsd4_layoutget before fh_verify. On AUTH_SYS, svcauth_unix_accept copies the caller-supplied uid into cr_uid and checks no secret, so a client asserts any uid that can write the file and reaches xfs_fs_map_blocks.\nUI:N - The same client sends the WRITE that creates the speculative tail and the LAYOUTGET that maps it; no other user must mount an image or open the file.\nS:U - The freed blocks are reused by another inode on the same XFS mount that handed out the layout, so the impact stays inside that host\u0027s filesystem authority.\nC:H - xfs_free_eofblocks unmaps the extent while the layout still returns its physical address as bex-\u003esoff (iomap.addr) with PNFS_BLOCK_READWRITE_DATA or PNFS_BLOCK_INVALID_DATA, so the client can read the bytes of whichever inode is allocated those blocks.\nI:H - That READWRITE or INVALID_DATA layout lets the client overwrite the same blocks after another inode owns them, replacing that file\u0027s data.\nA:L - Only the recycled file extent is lost. xfs_fs_map_blocks and xfs_free_eofblocks complete without an oops, hang, or xfs_force_shutdown."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:05:55.978Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7d59e72920deab04fda0741b1ab7efe06308e29c"
        },
        {
          "url": "https://git.kernel.org/stable/c/82724abee43e41a42c6aa34acfc35ca532c06809"
        },
        {
          "url": "https://git.kernel.org/stable/c/760756e136db8e4d9fd7dce0bccb2593c97d326f"
        },
        {
          "url": "https://git.kernel.org/stable/c/12fc4f754c4caa1fe6651b6bd5a9994cae5a4089"
        },
        {
          "url": "https://git.kernel.org/stable/c/fea6d9e15570eeb41c9e01f22f45a8498d9fe200"
        },
        {
          "url": "https://git.kernel.org/stable/c/ff7646096b6ed2ad415258bfbfb07fa6204698dc"
        },
        {
          "url": "https://git.kernel.org/stable/c/2748b9277ff5e35e222b6c4d46a8285e3cf6051d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b8e265991556d99b6d721697f148975a7c68767"
        }
      ],
      "title": "xfs: mark the inode preallocated for pNFS write layouts past EOF",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99680",
    "datePublished": "2026-11-20T05:50:27.248Z",
    "dateReserved": "2026-09-25T10:25:14.428Z",
    "dateUpdated": "2026-11-23T08:05:55.978Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99680",
      "date": "2026-11-24",
      "epss": "0.00554",
      "percentile": "0.46904"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:08:05.000Z",
      "cve": "CVE-2026-99680",
      "id": "msrc_CVE-2026-99680",
      "initial_release_date": "2026-11-20T18:10:00.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "xfs: mark the inode preallocated for pNFS write layouts past EOF",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99680.json",
      "version": "5"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/xfs/xfs_pnfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "7d59e72920deab04fda0741b1ab7efe06308e29c",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "82724abee43e41a42c6aa34acfc35ca532c06809",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "760756e136db8e4d9fd7dce0bccb2593c97d326f",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "12fc4f754c4caa1fe6651b6bd5a9994cae5a4089",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fea6d9e15570eeb41c9e01f22f45a8498d9fe200",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ff7646096b6ed2ad415258bfbfb07fa6204698dc",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2748b9277ff5e35e222b6c4d46a8285e3cf6051d",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8b8e265991556d99b6d721697f148975a7c68767",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "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": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "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: mark the inode preallocated for pNFS write layouts past EOF\n\nxfs_fs_map_blocks() marks the inode XFS_DIFLAG_PREALLOC only when it\nallocates blocks for a write layout. A write layout past EOF can also\nhand out allocated blocks, such as speculative preallocation. blockgc\nthen frees them under the layout, and another file may get them.\n\nMark the inode whenever a write mapping ends past EOF."
          }
        ],
        "id": "CVE-2026-99680",
        "lastModified": "2026-11-23T08:18:08.860",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 9.4,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.5,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:18:02.863",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/12fc4f754c4caa1fe6651b6bd5a9994cae5a4089"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2748b9277ff5e35e222b6c4d46a8285e3cf6051d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/760756e136db8e4d9fd7dce0bccb2593c97d326f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7d59e72920deab04fda0741b1ab7efe06308e29c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/82724abee43e41a42c6aa34acfc35ca532c06809"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8b8e265991556d99b6d721697f148975a7c68767"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fea6d9e15570eeb41c9e01f22f45a8498d9fe200"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ff7646096b6ed2ad415258bfbfb07fa6204698dc"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:44:20+00:00",
      "cve": "CVE-2026-99680",
      "id": "CVE-2026-99680",
      "initial_release_date": "2026-11-20T05:50:27.248000+00:00",
      "product_status:known_affected": "266",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: data corruption via premature block reclamation in XFS pNFS",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99680.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-23T17:31:54Z",
      "cve": "CVE-2026-99680",
      "id": "CVE-2026-99680",
      "initial_release_date": "2026-11-23T17:31:54Z",
      "product_status:known_affected": "311",
      "product_status:known_not_affected": "40",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99680",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99680.json",
      "version": "2"
    }
  }
}



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…