{"id":"CVE-2026-74685","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-08-22T16:16:42.870","lastModified":"2026-10-14T13:10:00.187","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ltc4282) Clamp negative current limits\n\nWhen a negative value is passed to ltc4282_write_curr(), the signed long\nval is cast directly to u64:\n\ndrivers/hwmon/ltc4282.c:ltc4282_write_curr() {\n        /* need to pass it in millivolt */\n        u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO);\n        ...\n}\n\nThis cast converts negative inputs into large positive values. The\nsubsequent division result overflows the u32 in variable, truncating\nto a pseudo-random positive value. When this is passed to\nltc4282_write_voltage_byte(), it is clamped to the maximum limit instead\nof zero.\n\nClamp val to 0 and to the maximum supported upper limit before the cast\nand assign the result to a 64-bit temporary variable before the division\nto avoid the underflow and an also possible overflow."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nhwmon: (ltc4282) Limitar los límites de corriente negativos\n\nCuando se pasa un valor negativo a ltc4282_write_curr(), el 'signed long' 'val' se convierte directamente a 'u64':\n\ndrivers/hwmon/ltc4282.c:ltc4282_write_curr() {\n        /* es necesario pasarlo en milivoltios */\n        u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st -> rsense, DECA * MICRO);\n        ...\n}\n\nEsta conversión convierte las entradas negativas en valores positivos grandes. El resultado de la división subsiguiente desborda la variable 'u32 in', truncándose a un valor positivo pseudoaleatorio. Cuando esto se pasa a ltc4282_write_voltage_byte(), se limita al límite máximo en lugar de cero.\n\nLimitar 'val' a 0 y al límite superior máximo soportado antes de la conversión y asignar el resultado a una variable temporal de 64 bits antes de la división para evitar el subdesbordamiento y un posible desbordamiento también."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/hwmon/ltc4282.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","lessThan":"60e06c4dba696173982393252a40ceb7dd2eec18","versionType":"git","status":"affected"},{"version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","lessThan":"de58b90a4d1417c15b693eb04c0ce6bc925d84c6","versionType":"git","status":"affected"},{"version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","lessThan":"046e56b53c09375ef39903514496aa5508db9729","versionType":"git","status":"affected"},{"version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","lessThan":"e253dd5f9f6d875a317895bf43ec9534ed7523cb","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/hwmon/ltc4282.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","versionType":"semver","status":"unaffected"},{"version":"6.12.104","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.45","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/046e56b53c09375ef39903514496aa5508db9729","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/60e06c4dba696173982393252a40ceb7dd2eec18","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/de58b90a4d1417c15b693eb04c0ce6bc925d84c6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e253dd5f9f6d875a317895bf43ec9534ed7523cb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}