{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99677",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99677"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "xfs: clamp the pNFS layout range to the maximum file size",
  "details": "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 > limit\". A length above\nthe limit, such as NFS4_UINT64_MAX, wraps \"offset > 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\".",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99677"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
