{"id":"CVE-2026-43005","state":"PUBLISHED","title":"hwmon: (tps53679) Fix array access with zero-length block read","description":"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\".","publishedAt":"2026-05-01T14:15:13.513Z","updatedAt":"2026-05-11T22:15:51.731Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","status":"affected","lessThan":"79b7e588399bb55f4c10bea6ca41b6c3b944d2bb","versionType":"git"},{"version":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","status":"affected","lessThan":"6999b4769e2a61c463158927102e8c07e3f69ba2","versionType":"git"},{"version":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","status":"affected","lessThan":"0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/tps53679.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/tps53679.c"]}],"references":["https://git.kernel.org/stable/c/79b7e588399bb55f4c10bea6ca41b6c3b944d2bb","https://git.kernel.org/stable/c/6999b4769e2a61c463158927102e8c07e3f69ba2","https://git.kernel.org/stable/c/0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43005.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43005","state":"PUBLISHED","datePublished":"2026-05-01T14:15:13.513Z","dateUpdated":"2026-05-11T22:15:51.731Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:55.974Z"},"containers":{"cna":{"title":"hwmon: (tps53679) Fix array access with zero-length block read","descriptions":[{"lang":"en","value":"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\"."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","status":"affected","lessThan":"79b7e588399bb55f4c10bea6ca41b6c3b944d2bb","versionType":"git"},{"version":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","status":"affected","lessThan":"6999b4769e2a61c463158927102e8c07e3f69ba2","versionType":"git"},{"version":"75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d","status":"affected","lessThan":"0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/tps53679.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/tps53679.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/79b7e588399bb55f4c10bea6ca41b6c3b944d2bb"},{"url":"https://git.kernel.org/stable/c/6999b4769e2a61c463158927102e8c07e3f69ba2"},{"url":"https://git.kernel.org/stable/c/0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:15:51.731Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.22"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}