CVE-2026-74685
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
22/08/2026
Última modificación:
22/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
hwmon: (ltc4282) Clamp negative current limits<br />
<br />
When a negative value is passed to ltc4282_write_curr(), the signed long<br />
val is cast directly to u64:<br />
<br />
drivers/hwmon/ltc4282.c:ltc4282_write_curr() {<br />
/* need to pass it in millivolt */<br />
u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO);<br />
...<br />
}<br />
<br />
This cast converts negative inputs into large positive values. The<br />
subsequent division result overflows the u32 in variable, truncating<br />
to a pseudo-random positive value. When this is passed to<br />
ltc4282_write_voltage_byte(), it is clamped to the maximum limit instead<br />
of zero.<br />
<br />
Clamp val to 0 and to the maximum supported upper limit before the cast<br />
and assign the result to a 64-bit temporary variable before the division<br />
to avoid the underflow and an also possible overflow.


