CVE-2026-99677 (GCVE-0-2026-99677)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
Title
xfs: clamp the pNFS layout range to the maximum file size
Summary
In the Linux kernel, the following vulnerability has been resolved: xfs: clamp the pNFS layout range to the maximum file size xfs_fs_map_blocks() lets two bad layout ranges through. An offset of 2^63 or more is negative and passes "offset > limit". A length above the limit, such as NFS4_UINT64_MAX, wraps "offset > limit - length" and stays unclamped. With NFS4_UINT64_MAX, a read layout is built from an uninitialized mapping. Reject a negative offset and one at the limit, and clamp the length. This needs "xfs: cap the block count of xfs_iomap_write_direct() at one extent".
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < bddce9ea41ffab37e71b7a668eceed515a3c4b3d (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 26658a10a18cd59f1f270e4fe3b30165a187f8e3 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < d892672cb91a831de7e4059bf9a15f4ce56333ab (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < df8632f36be4693677c18966319ae546b4341061 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 8e0cea93da8755cfebe9a0ea7e2b37e68d59118d (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < e8c7a13a7b63542753ab3c6c55b142b09d207c78 (git)
Affected: 527851124d10f9c50b1c578e0a56fcd49922422d , < 29f3c1be4e554c9dbc66e13333034e0947477cb6 (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": "7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "bddce9ea41ffab37e71b7a668eceed515a3c4b3d",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "26658a10a18cd59f1f270e4fe3b30165a187f8e3",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "d892672cb91a831de7e4059bf9a15f4ce56333ab",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "df8632f36be4693677c18966319ae546b4341061",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "8e0cea93da8755cfebe9a0ea7e2b37e68d59118d",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "e8c7a13a7b63542753ab3c6c55b142b09d207c78",
              "status": "affected",
              "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
              "versionType": "git"
            },
            {
              "lessThan": "29f3c1be4e554c9dbc66e13333034e0947477cb6",
              "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: clamp the pNFS layout range to the maximum file size\n\nxfs_fs_map_blocks() lets two bad layout ranges through. An offset of\n2^63 or more is negative and passes \"offset \u003e limit\". A length above\nthe limit, such as NFS4_UINT64_MAX, wraps \"offset \u003e limit - length\"\nand stays unclamped. With NFS4_UINT64_MAX, a read layout is built from\nan uninitialized mapping.\n\nReject a negative offset and one at the limit, and clamp the length.\nThis needs \"xfs: cap the block count of xfs_iomap_write_direct() at one\nextent\"."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:05:52.519Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab"
        },
        {
          "url": "https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061"
        },
        {
          "url": "https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78"
        },
        {
          "url": "https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6"
        }
      ],
      "title": "xfs: clamp the pNFS layout range to the maximum file size",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99677",
    "datePublished": "2026-11-20T05:50:24.903Z",
    "dateReserved": "2026-09-25T10:25:14.428Z",
    "dateUpdated": "2026-11-23T08:05:52.519Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99677",
      "date": "2026-11-24",
      "epss": "0.00177",
      "percentile": "0.07188"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:07:51.000Z",
      "cve": "CVE-2026-99677",
      "id": "msrc_CVE-2026-99677",
      "initial_release_date": "2026-11-20T18:08:47.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "xfs: clamp the pNFS layout range to the maximum file size",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99677.json",
      "version": "4"
    },
    "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": "7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bddce9ea41ffab37e71b7a668eceed515a3c4b3d",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "26658a10a18cd59f1f270e4fe3b30165a187f8e3",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d892672cb91a831de7e4059bf9a15f4ce56333ab",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "df8632f36be4693677c18966319ae546b4341061",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8e0cea93da8755cfebe9a0ea7e2b37e68d59118d",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e8c7a13a7b63542753ab3c6c55b142b09d207c78",
                    "status": "affected",
                    "version": "527851124d10f9c50b1c578e0a56fcd49922422d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "29f3c1be4e554c9dbc66e13333034e0947477cb6",
                    "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: clamp the pNFS layout range to the maximum file size\n\nxfs_fs_map_blocks() lets two bad layout ranges through. An offset of\n2^63 or more is negative and passes \"offset \u003e limit\". A length above\nthe limit, such as NFS4_UINT64_MAX, wraps \"offset \u003e limit - length\"\nand stays unclamped. With NFS4_UINT64_MAX, a read layout is built from\nan uninitialized mapping.\n\nReject a negative offset and one at the limit, and clamp the length.\nThis needs \"xfs: cap the block count of xfs_iomap_write_direct() at one\nextent\"."
          }
        ],
        "id": "CVE-2026-99677",
        "lastModified": "2026-11-23T08:18:08.487",
        "metrics": {},
        "published": "2026-11-20T06:18:02.480",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-11-23T15:51:03+00:00",
      "cve": "CVE-2026-99677",
      "id": "CVE-2026-99677",
      "initial_release_date": "2026-11-20T05:50:24.903000+00:00",
      "product_status:known_affected": "266",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: XFS: information disclosure via improper pNFS layout range validation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99677.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-25T01:00:21Z",
      "cve": "CVE-2026-99677",
      "id": "CVE-2026-99677",
      "initial_release_date": "2026-11-20T17:42:51Z",
      "product_status:known_affected": "161",
      "product_status:known_not_affected": "190",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99677",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99677.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…