{"id":"CVE-2026-43005","summary":"hwmon: (tps53679) Fix array access with zero-length block read","details":"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 \u003c 0\" to \"ret \u003c= 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\".","modified":"2026-07-08T08:13:27.244537698Z","published":"2026-05-01T14:15:13.513Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43005.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6999b4769e2a61c463158927102e8c07e3f69ba2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79b7e588399bb55f4c10bea6ca41b6c3b944d2bb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43005.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43005"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43005.json"}}],"schema_version":"1.7.5"}