hwmon: (tps53679) Fix array access with zero-length block read
Published May 1, 2026
7.1
HIGHCVSS 3.1
EPSS 0.16%
Description
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".
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 6.17
Unaffected
- ≥ 0, < 6.17
- ≥ 6.18.22, ≤ 6.18.*
- ≥ 6.19.12, ≤ 6.19.*
- 7.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
- ≥ 6.17.1 · < 6.18.22
- ≥ 6.19 · < 6.19.12
- 6.17
- 7.0
- 7.0
- 7.0
- 7.0
- 7.0
- 7.0
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2026-43005 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2464498 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-26604 Advisory
- https://git.kernel.org/stable/c/0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6 Patch
- https://git.kernel.org/stable/c/6999b4769e2a61c463158927102e8c07e3f69ba2 Patch
- https://git.kernel.org/stable/c/79b7e588399bb55f4c10bea6ca41b6c3b944d2bb Patch
- https://lore.kernel.org/linux-cve-announce/2026050153-CVE-2026-43005-d389@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-43005
- https://www.cve.org/CVERecord?id=CVE-2026-43005
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data