{"id":"CVE-2026-43005","aliases":["CVE-2026-43005"],"related":[],"kind":"vulnerability","state":"published","title":"hwmon: (tps53679) Fix array access with zero-length block read","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (tps53679) Fix array access with zero-length block read\n\ni2c_smbus_read_block_data() can return 0, indicating a zero-length\nread. When this happens, tps53679_identify_chip() accesses buf[ret - 1]\nwhich is buf[-1], reading one byte before the buffer on the stack.\n\nFix by changing the check from \"ret < 0\" to \"ret <= 0\", treating a\nzero-length read as an error (-EIO), which prevents the out-of-bounds\narray access.\n\nAlso fix a typo in the adjacent comment: \"if present\" instead of\nduplicate \"if\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (tps53679) Fix array access with zero-length block read\n\ni2c_smbus_read_block_data() can return 0, indicating a zero-length\nread. When this happens, tps53679_identify_chip() accesses buf[ret - 1]\nwhich is buf[-1], reading one byte before the buffer on the stack.\n\nFix by changing the check from \"ret < 0\" to \"ret <= 0\", treating a\nzero-length read as an error (-EIO), which prevents the out-of-bounds\narray access.\n\nAlso fix a typo in the adjacent comment: \"if present\" instead of\nduplicate \"if\".","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: hwmon: (tps53679) Corrige el acceso a array con lectura de bloque de longitud cero i2c_smbus_read_block_data() puede devolver 0, indicando una lectura de longitud cero. Cuando esto ocurre, tps53679_identify_chip() accede a buf[ret - 1], que es buf[-1], leyendo un byte antes del búfer en la pila. Se corrige cambiando la comprobación de ’ret menor que 0’ a ’ret menor o igual que 0’, tratando una lectura de longitud cero como un error (-EIO), lo que evita el acceso a array fuera de límites. También se corrige una errata en el comentario adyacente: ’if present’ en lugar del ’if’ duplicado.","source":"nvd"}],"published":"2026-05-01T14:15:13.513Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","fixed":"79b7e588399bb55f4c10bea6ca41b6c3b944d2bb","status":"affected"},{"type":"git","introduced":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","fixed":"6999b4769e2a61c463158927102e8c07e3f69ba2","status":"affected"},{"type":"git","introduced":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","fixed":"0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.17.1","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"6.17"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/79b7e588399bb55f4c10bea6ca41b6c3b944d2bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6999b4769e2a61c463158927102e8c07e3f69ba2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43005","url":"https://www.cve.org/CVERecord?id=CVE-2026-43005","licence":"CVE Terms of Use","modified":"2026-05-11T22:15:51.731Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43005","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43005","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.388Z","epss":{"score":0.00129,"percentile":0.0271,"date":"2026-12-02T12:00:21.000Z"}}