CVE-2026-64087 (GCVE-0-2026-64087)
Vulnerability from cvelistv5
Published
2026-07-19 15:39
Modified
2026-07-19 15:39
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) reject implausible blackbox record_count adm1266_nvmem_read_blackbox() loops over a record_count that comes straight from byte 3 of the BLACKBOX_INFO response. The destination buffer is data->dev_mem, sized for the nvmem cell's declared 2048 bytes (ADM1266_BLACKBOX_MAX_RECORDS * ADM1266_BLACKBOX_SIZE = 32 * 64). A device that reports a record_count greater than 32 -- whether due to firmware bugs, bus corruption, or a non-responsive slave returning 0xff -- would walk read_buff past the end of the dev_mem allocation on the trailing iterations. Cap record_count at ADM1266_BLACKBOX_MAX_RECORDS (introduced here) before entering the loop and return -EIO on any larger value, so a malformed BLACKBOX_INFO response cannot drive the loop out of bounds.
Impacted products
Vendor Product Version
Linux Linux Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Version: 15609d1893020436e1e8ccfd9ded774a96dd17a2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/pmbus/adm1266.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "adcb163ad7cacca317872fc62bd8885e842e45e3",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "c2c56092710fe8a893b67b5a3d7e62808d02d84d",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "5469e1e7c411acc15fdd8262c99c3ebd9defd594",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "f85c81e93dbd6915970bd5f3bffcf62633c4c54c",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "0e791cd0140fb136083565aadfbe0f705aa260d0",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "75c862adf3d3caab4f49bb3530723c215376e37c",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "231db52a5b64d0a9769e298dadc148e1f79b26a6",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "4afca954622d672ea65ed961bed01cf91caa034e",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/pmbus/adm1266.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.258",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003edev_mem, sized for the nvmem cell\u0027s 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-19T15:39:57.371Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/adcb163ad7cacca317872fc62bd8885e842e45e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/c2c56092710fe8a893b67b5a3d7e62808d02d84d"
        },
        {
          "url": "https://git.kernel.org/stable/c/5469e1e7c411acc15fdd8262c99c3ebd9defd594"
        },
        {
          "url": "https://git.kernel.org/stable/c/f85c81e93dbd6915970bd5f3bffcf62633c4c54c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0e791cd0140fb136083565aadfbe0f705aa260d0"
        },
        {
          "url": "https://git.kernel.org/stable/c/75c862adf3d3caab4f49bb3530723c215376e37c"
        },
        {
          "url": "https://git.kernel.org/stable/c/231db52a5b64d0a9769e298dadc148e1f79b26a6"
        },
        {
          "url": "https://git.kernel.org/stable/c/4afca954622d672ea65ed961bed01cf91caa034e"
        }
      ],
      "title": "hwmon: (pmbus/adm1266) reject implausible blackbox record_count",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64087",
    "datePublished": "2026-07-19T15:39:57.371Z",
    "dateReserved": "2026-07-19T07:54:57.032Z",
    "dateUpdated": "2026-07-19T15:39:57.371Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…