CVE-2026-143006: iio: hid-sensors: fix a division by zero
iio: hid-sensors: fix a division by zero
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the divide error?
The affected HID sensor hub must expose a report descriptor with a unit exponent of -7 or -8, and a value must be written to the IIO device's hysteresis attribute. The exponent is supplied by the sensor hub's report descriptor.
Which systems are realistically exposed?
Systems using the Linux kernel HID-sensors IIO path with a sensor hub whose HID report descriptor contains a unit exponent of -7 or -8 are exposed when the hysteresis attribute is written. The provided data does not establish whether this occurs with default configurations.
How can I determine whether a device is potentially affected?
Inspect the HID sensor hub's report descriptor for fields with unit exponents of -7 or -8, and determine whether the corresponding IIO device exposes and receives writes to its hysteresis attribute. The issue is triggered during conversion of the written value.