{"id":"CVE-2026-143006","summary":"iio: hid-sensors: fix a division by zero","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: hid-sensors: fix a division by zero\n\nconvert_to_vtf_format() divides the micro part of a value by\n10^(6 + exp).  The unit exponent of a HID field is a nibble and goes\ndown to -8.  For -7 and -8 the argument of int_pow() is negative, which\nthe unsigned parameter turns into a huge power of ten: 0 modulo 2^64.\nThe division by it is a divide error.  The exponent comes from the report\ndescriptor of the sensor hub, the value from a write to the hysteresis\nattribute of the IIO device.\n\nMultiply by 10^(-exp - 6) in these two cases.","modified":"2026-12-03T11:00:49.998207520Z","published":"2026-12-03T09:17:39.109Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143006.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2894719f48efd7134900e725a4cefde18b7ffce6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ca1dd2fc9f896372b71323fd5197a595a44652f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d032d2c07dc58bf748977b98e178157393ee215"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2d74cae0186709767df39ce8ca1143c94ff109d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e81fe750ace7d82bcbb88a5efcfc334dd83af771"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd4c92bbd3a64556e81042ff8d30545b15a3b93a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143006.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143006"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"73c6768b710a1621903f2bc179ae9c7789d41e9f"},{"fixed":"e81fe750ace7d82bcbb88a5efcfc334dd83af771"},{"fixed":"2894719f48efd7134900e725a4cefde18b7ffce6"},{"fixed":"8d032d2c07dc58bf748977b98e178157393ee215"},{"fixed":"7ca1dd2fc9f896372b71323fd5197a595a44652f"},{"fixed":"c2d74cae0186709767df39ce8ca1143c94ff109d"},{"fixed":"fd4c92bbd3a64556e81042ff8d30545b15a3b93a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143006.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143006.json"}}],"schema_version":"1.9.2"}