{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80550",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-80550"
  ],
  "published": "2026-08-26T14:37:59Z",
  "summary": "s390/vfio_ccw: Fix out of bounds check on CCW array",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio_ccw: Fix out of bounds check on CCW array\n\nThe routine ccwchain_calc_length() counts the number of channel\ncommand words (CCWs) that are chained together in a single channel\nprogram, and rejects anything larger than CCWCHAIN_LEN_MAX (256) CCWs.\n\nThe loop itself is \"do..while (count < 257)\", and while the logic in\nis_cpa_within_range() correctly adjusts between the 0-index array of\nCCWs and the count of CCWs starting at 1, this means it would look\nat a possible 257th CCW before ending the loop and (correctly)\nreturning an error.\n\nFix this by restructuring the loop to break as soon as 256 CCWs\n(thus indexes 0-255) are examined, without looking at memory\noutside the range.",
  "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.184",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80550"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0282fb1c4b638eecfe2cc558092c460911d8f7e2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/907adc667d902fafbdb2d740d57b55bd025dc4cd"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f20be33d093ce7630c17ff7ed93caf7eaf8ac1a3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/af3f80ca4c8b17f20f9e588def076288fdb49e65"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/499a8a66b1598bfab97182aed15e0f1646074a3d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4c2e1d359d7a2b82cdf3254e4e480af9417f99fb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d5d096cd9369e986d4e5153baa86b8b35c283e09"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a005b7f1a491ffda61bff0fd0f6548f8986fb977"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-27T05:18:36Z"
  }
}
