Details

[Home]

Issue of the Implementation # L0286

Brief

hwmon:(stts751) buffer overread on wrong chip configuration

Detailed Description

If stts751 hw by some reason reports conversion rate bigger then 9:

  ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_RATE);
then dereference stts751_intervals[priv->interval] leads to buffer overread.

Component

linux-kernel 4.13

Accepted

http://linuxtesting.org/pipermail/ldv-project/2017-August/000894.html
commit

Status

Fixed in kernel 4.14-rc1

[Home]