AZL-117917: CVE-2026-143006 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
iio: hid-sensors: fix a division by zero
converttovtfformat() 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 intpow() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel HID-sensors code, for exponents -7 and -8, multiply by 10^(-exp - 6) instead of dividing by it.
Event History
Frequently Asked Questions
Which systems are potentially exposed?
Systems using the affected HID sensor IIO path are potentially exposed when a sensor hub report descriptor contains a HID field with a unit exponent of -7 or -8.
What is needed to trigger the fault?
The sensor hub must provide the affected exponent through its report descriptor, and a value must be written to the IIO device's hysteresis attribute. Under those conditions, conversion of the value can divide by zero and raise a divide error.
How can I assess whether the vulnerable path is relevant in my environment?
Check HID sensor hub report descriptors for fields whose unit exponent is -7 or -8, and determine whether software or users write to the corresponding IIO hysteresis attribute. Both conditions are described as inputs to the failing conversion.