--- zzzz-none-000/linux-3.10.107/drivers/hwmon/asb100.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/hwmon/asb100.c 2021-02-04 17:41:59.000000000 +0000 @@ -510,6 +510,10 @@ err = kstrtoul(buf, 10, &val); if (err) return err; + + if (val > 255) + return -EINVAL; + data->vrm = val; return count; }