CVE-2026-43005 PUBLISHED

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

Assigner: Linux
Reserved: 01.05.2026 Published: 01.05.2026 Updated: 01.05.2026

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".

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d to 79b7e588399bb55f4c10bea6ca41b6c3b944d2bb (excl.)
  • affected from 75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d to 6999b4769e2a61c463158927102e8c07e3f69ba2 (excl.)
  • affected from 75ca1e5875fe3f0b9d0e8615c69f49bc2c7fb65d to 0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.17 is affected
  • unaffected from 0 to 6.17 (excl.)
  • unaffected from 6.18.22 to 6.18.* (incl.)
  • unaffected from 6.19.12 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References