{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98204",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-98204"
  ],
  "published": "2026-10-06T08:47:10Z",
  "summary": "Input: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()\n\nWhen chunking writes into SMBus blocks in rmi_smb_write_block(), the\nloop calculates block_len using the original total length (len) instead\nof the remaining length (cur_len).\n\nIf len is greater than 32 bytes (SMB_MAX_COUNT), block_len remains 32\nfor every iteration, even on the final partial chunk where fewer than 32\nbytes remain. This causes smb_block_write() to read 32 bytes from the\nadvanced data buffer pointer, reading past the end of the input buffer.\n\nFix this by calculating block_len using cur_len and advancing the buffer\nand address pointers by block_len.",
  "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.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98204"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d01337c0892d1509500c727edf81380777c2dd0f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7c800af1c6030a5f27d46ce7d6d5d75f9c1efaf8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/29fbcf5834f0a7f74bfd017c07da2411b35a4e2a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/50dd585bee7669eb165e5defcc35d17f3822cfbb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e022538e13dd1c82af5ec25ac28f12ca0ab26160"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/dc05ec97b8299e48e31367a9bc412c7e9c0e2b42"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9f0ce5e162eed8b68345abe839c59768bc60f99a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/51cfe54f815ae175c7d1126b983d4d7c89715004"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-06T08:47:10Z"
  }
}
