{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-64087",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-64087"
  ],
  "published": "2026-07-19T15:41:06Z",
  "summary": "hwmon: (pmbus/adm1266) reject implausible blackbox record_count",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/adm1266) reject implausible blackbox record_count\n\nadm1266_nvmem_read_blackbox() loops over a record_count that comes\nstraight from byte 3 of the BLACKBOX_INFO response.  The destination\nbuffer is data->dev_mem, sized for the nvmem cell's declared 2048\nbytes (ADM1266_BLACKBOX_MAX_RECORDS * ADM1266_BLACKBOX_SIZE = 32 * 64).\nA device that reports a record_count greater than 32 -- whether due\nto firmware bugs, bus corruption, or a non-responsive slave returning\n0xff -- would walk read_buff past the end of the dev_mem allocation\non the trailing iterations.\n\nCap record_count at ADM1266_BLACKBOX_MAX_RECORDS (introduced here)\nbefore entering the loop and return -EIO on any larger value, so a\nmalformed BLACKBOX_INFO response cannot drive the loop out of bounds.",
  "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.175",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-64087"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/adcb163ad7cacca317872fc62bd8885e842e45e3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c2c56092710fe8a893b67b5a3d7e62808d02d84d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5469e1e7c411acc15fdd8262c99c3ebd9defd594"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f85c81e93dbd6915970bd5f3bffcf62633c4c54c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0e791cd0140fb136083565aadfbe0f705aa260d0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/75c862adf3d3caab4f49bb3530723c215376e37c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/231db52a5b64d0a9769e298dadc148e1f79b26a6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4afca954622d672ea65ed961bed01cf91caa034e"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-07-19T15:41:06Z"
  }
}
