Skip to content
Heist/ feed
Back to feed
UnratedFix available

hwmon: (tps53679) Fix array access with zero-length block read

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: hwmon: (tps53679) Fix array access with zero-length block read i2c_smbus_read_block_data() can return 0, indicating a zero-length read. When this happens, tps53679_identify_chip() accesses buf[ret - 1] which is buf[-1], reading one byte before the buffer on the stack. Fix by changing the check from "ret < 0" to "ret <= 0", treating a zero-length read as an error (-EIO), which prevents the out-of-bounds array access. Also fix a typo in the adjacent comment: "if present" instead of duplicate "if".

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.22, 6.19.12
CVEs
CVE-2026-43005
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:00 UTC · Revision 1

Source evidence

hwmon: (tps53679) Fix array access with zero-length block read

core-osv · Original source

Published 1 May 2026, 14:15 UTC

In the Linux kernel, the following vulnerability has been resolved: hwmon: (tps53679) Fix array access with zero-length block read i2c_smbus_read_block_data() can return 0, indicating a zero-length read. When this happens, tps53679_identify_chip() accesses buf[ret - 1] which is buf[-1], reading one byte before the buffer on the stack. Fix by changing the check from "ret < 0" to "ret <= 0", treating a zero-length read as an error (-EIO), which prevents the out-of-bounds array access. Also fix a typo in the adjacent comment: "if present" instead of duplicate "if".

osv:CVE-2026-43005

Kernel

Fixed versions: 6.18.22, 6.19.12

Complete source record
{
  "id": "e5a55a98999e40a3bcd8e7006a54dcbcb745d4bc6008e8166f530d08efbbd473",
  "url": "https://osv.dev/vulnerability/CVE-2026-43005",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "hwmon: (tps53679) Fix array access with zero-length block read",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: hwmon: (tps53679) Fix array access with zero-length block read i2c_smbus_read_block_data() can return 0, indicating a zero-length read. When this happens, tps53679_identify_chip() accesses buf[ret - 1] which is buf[-1], reading one byte before the buffer on the stack. Fix by changing the check from \"ret < 0\" to \"ret <= 0\", treating a zero-length read as an error (-EIO), which prevents the out-of-bounds array access. Also fix a typo in the adjacent comment: \"if present\" instead of duplicate \"if\".",
    "evidence": "osv:CVE-2026-43005",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.22",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-43005",
      "aliases": [
        "CVE-2026-43005"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d"
                },
                {
                  "fixed": "79b7e588399bb55f4c10bea6ca41b6c3b944d2bb"
                },
                {
                  "fixed": "6999b4769e2a61c463158927102e8c07e3f69ba2"
                },
                {
                  "fixed": "0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43005.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.17.0"
                },
                {
                  "fixed": "6.18.22"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43005.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.905139290Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6",
        "https://git.kernel.org/stable/c/6999b4769e2a61c463158927102e8c07e3f69ba2",
        "https://git.kernel.org/stable/c/79b7e588399bb55f4c10bea6ca41b6c3b944d2bb",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43005.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43005",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43005.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43005",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 516810,
  "published_at": "2026-05-01T14:15:13.513+00:00"
}