CVE-2026-46001

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
27/05/2026
Last modified:
16/06/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> hwmon: (pt5161l) Fix bugs in pt5161l_read_block_data()<br /> <br /> Fix two bugs in pt5161l_read_block_data():<br /> <br /> 1. Buffer overrun: The local buffer rbuf is declared as u8 rbuf[24],<br /> but i2c_smbus_read_block_data() can return up to<br /> I2C_SMBUS_BLOCK_MAX (32) bytes. The i2c-core copies the data into<br /> the caller&amp;#39;s buffer before the return value can be checked, so<br /> the post-read length validation does not prevent a stack overrun<br /> if a device returns more than 24 bytes. Resize the buffer to<br /> I2C_SMBUS_BLOCK_MAX.<br /> <br /> 2. Unexpected positive return on length mismatch: When all three<br /> retries are exhausted because the device returns data with an<br /> unexpected length, i2c_smbus_read_block_data() returns a positive<br /> byte count. The function returns this directly, and callers treat<br /> any non-negative return as success, processing stale or incomplete<br /> buffer contents. Return -EIO when retries are exhausted with a<br /> positive return value, preserving the negative error code on I2C<br /> failure.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.9 (including) 6.12.86 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.18.27 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 7.0.4 (excluding)