CVE-2026-64135 (GCVE-0-2026-64135)

Vulnerability from cvelistv5 – Published: 2026-07-19 15:40 – Updated: 2026-07-19 15:40
VLAI
Title
hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX
Summary
In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX adm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and passes it to i2c_smbus_read_block_data() to retrieve the 4-byte BLACKBOX_INFO response. i2c_smbus_read_block_data() does not honour caller buffer sizes -- it memcpy()s data.block[0] bytes from the SMBus transaction (where data.block[0] is the length byte returned by the slave device, up to I2C_SMBUS_BLOCK_MAX = 32): memcpy(values, &data.block[1], data.block[0]); If the device returns any block length above 5, the call overflows the caller's 5-byte stack buffer before the post-call if (ret != 4) return -EIO; check has a chance to reject the response. Widen the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room for any well-formed SMBus block response, matching the convention used by the other i2c_smbus_read_block_data() callers in this driver.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < 33251abb9c9dd62943be76f0427c5527ee39188f (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < ba09f4baa5bd96c5d26c942defa546a72dbbe5bf (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < 6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < 0dbf64c502443c08c2e28a77ecbfcc5479d93228 (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < 2b7a698d5093b548c464828d984f05ced5f3fd2a (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < ca560f7566df7e2826c2999e959e6b94eb938f76 (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < 7f705e581ef3e6bb308a121a89adf5237d968204 (git)
Affected: 15609d1893020436e1e8ccfd9ded774a96dd17a2 , < eee213daa1e1b402eb631bcd1b8c5aa340a6b081 (git)
Create a notification for this product.
Linux Linux Affected: 5.10
Unaffected: 0 , < 5.10 (semver)
Unaffected: 5.10.258 , ≤ 5.10.* (semver)
Unaffected: 5.15.209 , ≤ 5.15.* (semver)
Unaffected: 6.1.175 , ≤ 6.1.* (semver)
Unaffected: 6.6.142 , ≤ 6.6.* (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
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": "33251abb9c9dd62943be76f0427c5527ee39188f",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "ba09f4baa5bd96c5d26c942defa546a72dbbe5bf",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "0dbf64c502443c08c2e28a77ecbfcc5479d93228",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "2b7a698d5093b548c464828d984f05ced5f3fd2a",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "ca560f7566df7e2826c2999e959e6b94eb938f76",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "7f705e581ef3e6bb308a121a89adf5237d968204",
              "status": "affected",
              "version": "15609d1893020436e1e8ccfd9ded774a96dd17a2",
              "versionType": "git"
            },
            {
              "lessThan": "eee213daa1e1b402eb631bcd1b8c5aa340a6b081",
              "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) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX\n\nadm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and\npasses it to i2c_smbus_read_block_data() to retrieve the 4-byte\nBLACKBOX_INFO response.  i2c_smbus_read_block_data() does not honour\ncaller buffer sizes -- it memcpy()s data.block[0] bytes from the\nSMBus transaction (where data.block[0] is the length byte returned by\nthe slave device, up to I2C_SMBUS_BLOCK_MAX = 32):\n\n\tmemcpy(values, \u0026data.block[1], data.block[0]);\n\nIf the device returns any block length above 5, the call overflows\nthe caller\u0027s 5-byte stack buffer before the post-call\n\n\tif (ret != 4)\n\t\treturn -EIO;\n\ncheck has a chance to reject the response.\n\nWiden the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room\nfor any well-formed SMBus block response, matching the convention used\nby the other i2c_smbus_read_block_data() callers in this driver."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-19T15:40:29.676Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/33251abb9c9dd62943be76f0427c5527ee39188f"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba09f4baa5bd96c5d26c942defa546a72dbbe5bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e"
        },
        {
          "url": "https://git.kernel.org/stable/c/0dbf64c502443c08c2e28a77ecbfcc5479d93228"
        },
        {
          "url": "https://git.kernel.org/stable/c/2b7a698d5093b548c464828d984f05ced5f3fd2a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca560f7566df7e2826c2999e959e6b94eb938f76"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f705e581ef3e6bb308a121a89adf5237d968204"
        },
        {
          "url": "https://git.kernel.org/stable/c/eee213daa1e1b402eb631bcd1b8c5aa340a6b081"
        }
      ],
      "title": "hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64135",
    "datePublished": "2026-07-19T15:40:29.676Z",
    "dateReserved": "2026-07-19T07:54:57.036Z",
    "dateUpdated": "2026-07-19T15:40:29.676Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64135",
      "date": "2026-07-21",
      "epss": "0.00176",
      "percentile": "0.07394"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64135\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:55.333\",\"lastModified\":\"2026-07-19T16:17:55.333\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nhwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX\\n\\nadm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and\\npasses it to i2c_smbus_read_block_data() to retrieve the 4-byte\\nBLACKBOX_INFO response.  i2c_smbus_read_block_data() does not honour\\ncaller buffer sizes -- it memcpy()s data.block[0] bytes from the\\nSMBus transaction (where data.block[0] is the length byte returned by\\nthe slave device, up to I2C_SMBUS_BLOCK_MAX = 32):\\n\\n\\tmemcpy(values, \u0026data.block[1], data.block[0]);\\n\\nIf the device returns any block length above 5, the call overflows\\nthe caller\u0027s 5-byte stack buffer before the post-call\\n\\n\\tif (ret != 4)\\n\\t\\treturn -EIO;\\n\\ncheck has a chance to reject the response.\\n\\nWiden the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room\\nfor any well-formed SMBus block response, matching the convention used\\nby the other i2c_smbus_read_block_data() callers in this driver.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/hwmon/pmbus/adm1266.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"33251abb9c9dd62943be76f0427c5527ee39188f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"ba09f4baa5bd96c5d26c942defa546a72dbbe5bf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"0dbf64c502443c08c2e28a77ecbfcc5479d93228\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"2b7a698d5093b548c464828d984f05ced5f3fd2a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"ca560f7566df7e2826c2999e959e6b94eb938f76\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"7f705e581ef3e6bb308a121a89adf5237d968204\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"15609d1893020436e1e8ccfd9ded774a96dd17a2\",\"lessThan\":\"eee213daa1e1b402eb631bcd1b8c5aa340a6b081\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/hwmon/pmbus/adm1266.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.10\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.10\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.258\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.209\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.175\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.142\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.92\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0dbf64c502443c08c2e28a77ecbfcc5479d93228\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2b7a698d5093b548c464828d984f05ced5f3fd2a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/33251abb9c9dd62943be76f0427c5527ee39188f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7f705e581ef3e6bb308a121a89adf5237d968204\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ba09f4baa5bd96c5d26c942defa546a72dbbe5bf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ca560f7566df7e2826c2999e959e6b94eb938f76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eee213daa1e1b402eb631bcd1b8c5aa340a6b081\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-07-21T05:15:42+00:00",
      "cve": "CVE-2026-64135",
      "id": "CVE-2026-64135",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_not_affected": "275",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64135.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "not set",
      "current_release_date": "2026-07-21T12:59:03Z",
      "cve": "CVE-2026-64135",
      "id": "CVE-2026-64135",
      "initial_release_date": "2026-07-21T12:59:03Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64135",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64135.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…