CVE Catalog

CVE-2026-74685

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the ltc4282 hwmon driver has a vulnerability where negative current values are cast directly to u64, leading to large positive values and then overflow and random values after division. These values are then clamped to the maximum limit instead of zero.

Risk Assessment

The risk includes incorrect hardware monitoring behavior, which could lead to wrong readings or limit settings, potentially causing hardware damage or incorrect operational decisions.

Recommendation

Apply the Linux kernel patch that clamps val to zero and the maximum supported upper limit before the cast and uses a 64-bit temporary variable for the division.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: hwmon: (ltc4282) Clamp negative current limits When a negative value is passed to ltc4282_write_curr(), the signed long val is cast directly to u64: drivers/hwmon/ltc4282.c:ltc4282_write_curr() { /* need to pass it in millivolt */ u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO); ... } This cast converts negative inputs into large positive values. The subsequent division result overflows the u32 in variable, truncating to a pseudo-random positive value. When this is passed to ltc4282_write_voltage_byte(), it is clamped to the maximum limit instead of zero. Clamp val to 0 and to the maximum supported upper limit before the cast and assign the result to a 64-bit temporary variable before the division to avoid the underflow and an also possible overflow.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS