Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143006

iio: hid-sensors: fix a division by zero

Description

In the Linux kernel, the following vulnerability has been resolved: iio: hid-sensors: fix a division by zero convert_to_vtf_format() divides the micro part of a value by 10^(6 + exp). The unit exponent of a HID field is a nibble and goes down to -8. For -7 and -8 the argument of int_pow() is negative, which the unsigned parameter turns into a huge power of ten: 0 modulo 2^64. The division by it is a divide error. The exponent comes from the report descriptor of the sensor hub, the value from a write to the hysteresis attribute of the IIO device. Multiply by 10^(-exp - 6) in these two cases.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 73c6768b710a1621903f2bc179ae9c7789d41e9f to < e81fe750ace7d82bcbb88a5efcfc334dd83af771affected
  • 73c6768b710a1621903f2bc179ae9c7789d41e9f to < 2894719f48efd7134900e725a4cefde18b7ffce6affected
  • 73c6768b710a1621903f2bc179ae9c7789d41e9f to < 8d032d2c07dc58bf748977b98e178157393ee215affected
  • 73c6768b710a1621903f2bc179ae9c7789d41e9f to < 7ca1dd2fc9f896372b71323fd5197a595a44652faffected
  • 73c6768b710a1621903f2bc179ae9c7789d41e9f to < c2d74cae0186709767df39ce8ca1143c94ff109daffected
  • 73c6768b710a1621903f2bc179ae9c7789d41e9f to < fd4c92bbd3a64556e81042ff8d30545b15a3b93aaffected

Linux Linux

Default version status: affected

  • 3.7affected
  • 0 to < 3.7unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc4 to ≤ *unaffected

References