PT-2026-43868 · Linux · Linux
Published
2026-05-27
·
Updated
2026-05-27
·
CVE-2026-46001
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (pt5161l) Fix bugs in pt5161l read block data()
Fix two bugs in pt5161l read block data():
-
Buffer overrun: The local buffer rbuf is declared as u8 rbuf[24], but i2c smbus read block data() can return up to I2C SMBUS BLOCK MAX (32) bytes. The i2c-core copies the data into the caller's buffer before the return value can be checked, so the post-read length validation does not prevent a stack overrun if a device returns more than 24 bytes. Resize the buffer to I2C SMBUS BLOCK MAX.
-
Unexpected positive return on length mismatch: When all three retries are exhausted because the device returns data with an unexpected length, i2c smbus read block data() returns a positive byte count. The function returns this directly, and callers treat any non-negative return as success, processing stale or incomplete buffer contents. Return -EIO when retries are exhausted with a positive return value, preserving the negative error code on I2C failure.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux