https://github.com/torvalds/linux
Revision 9200bc4c28cd8992eb5379345abd6b4f0c93df16 authored by Guenter Roeck on 04 July 2015, 20:23:42 UTC, committed by Guenter Roeck on 30 July 2015, 03:06:50 UTC
Writing a large value into a voltage limit attribute can result
in an overflow due to an auto-conversion from unsigned long to
unsigned int.

Cc: Constantine Shulyupin <const@MakeLinux.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org # v4.1+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 0d6aaff
History
Tip revision: 9200bc4c28cd8992eb5379345abd6b4f0c93df16 authored by Guenter Roeck on 04 July 2015, 20:23:42 UTC
hwmon: (nct7802) Fix integer overflow seen when writing voltage limits
Tip revision: 9200bc4
File Mode Size
.gitignore -rw-r--r-- 6 bytes
3CCFEM556.cis.ihex -rw-r--r-- 469 bytes
3CXEM556.cis.ihex -rw-r--r-- 463 bytes
COMpad2.cis.ihex -rw-r--r-- 363 bytes
COMpad4.cis.ihex -rw-r--r-- 276 bytes
DP83903.cis.ihex -rw-r--r-- 499 bytes
LA-PCM.cis.ihex -rw-r--r-- 758 bytes
MT5634ZLX.cis.ihex -rw-r--r-- 363 bytes
NE2K.cis.ihex -rw-r--r-- 233 bytes
PCMLM28.cis.ihex -rw-r--r-- 662 bytes
PE-200.cis.ihex -rw-r--r-- 255 bytes
PE520.cis.ihex -rw-r--r-- 266 bytes
RS-COM-2P.cis.ihex -rw-r--r-- 307 bytes
SW_555_SER.cis.ihex -rw-r--r-- 412 bytes
SW_7xx_SER.cis.ihex -rw-r--r-- 460 bytes
SW_8xx_SER.cis.ihex -rw-r--r-- 444 bytes
tamarack.cis.ihex -rw-r--r-- 311 bytes

back to top