{"id":"CVE-2026-143006","state":"PUBLISHED","title":"iio: hid-sensors: fix a division by zero","description":"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.","publishedAt":"2026-12-03T09:17:39.109Z","updatedAt":"2026-12-03T09:17:39.109Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"e81fe750ace7d82bcbb88a5efcfc334dd83af771","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"2894719f48efd7134900e725a4cefde18b7ffce6","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"8d032d2c07dc58bf748977b98e178157393ee215","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"7ca1dd2fc9f896372b71323fd5197a595a44652f","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"c2d74cae0186709767df39ce8ca1143c94ff109d","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"fd4c92bbd3a64556e81042ff8d30545b15a3b93a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/common/hid-sensors/hid-sensor-attributes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/common/hid-sensors/hid-sensor-attributes.c"]}],"references":["https://git.kernel.org/stable/c/e81fe750ace7d82bcbb88a5efcfc334dd83af771","https://git.kernel.org/stable/c/2894719f48efd7134900e725a4cefde18b7ffce6","https://git.kernel.org/stable/c/8d032d2c07dc58bf748977b98e178157393ee215","https://git.kernel.org/stable/c/7ca1dd2fc9f896372b71323fd5197a595a44652f","https://git.kernel.org/stable/c/c2d74cae0186709767df39ce8ca1143c94ff109d","https://git.kernel.org/stable/c/fd4c92bbd3a64556e81042ff8d30545b15a3b93a"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143006.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143006","state":"PUBLISHED","datePublished":"2026-12-03T09:17:39.109Z","dateUpdated":"2026-12-03T09:17:39.109Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.342Z"},"containers":{"cna":{"title":"iio: hid-sensors: fix a division by zero","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"e81fe750ace7d82bcbb88a5efcfc334dd83af771","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"2894719f48efd7134900e725a4cefde18b7ffce6","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"8d032d2c07dc58bf748977b98e178157393ee215","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"7ca1dd2fc9f896372b71323fd5197a595a44652f","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"c2d74cae0186709767df39ce8ca1143c94ff109d","versionType":"git"},{"version":"73c6768b710a1621903f2bc179ae9c7789d41e9f","status":"affected","lessThan":"fd4c92bbd3a64556e81042ff8d30545b15a3b93a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/common/hid-sensors/hid-sensor-attributes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/common/hid-sensors/hid-sensor-attributes.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e81fe750ace7d82bcbb88a5efcfc334dd83af771"},{"url":"https://git.kernel.org/stable/c/2894719f48efd7134900e725a4cefde18b7ffce6"},{"url":"https://git.kernel.org/stable/c/8d032d2c07dc58bf748977b98e178157393ee215"},{"url":"https://git.kernel.org/stable/c/7ca1dd2fc9f896372b71323fd5197a595a44652f"},{"url":"https://git.kernel.org/stable/c/c2d74cae0186709767df39ce8ca1143c94ff109d"},{"url":"https://git.kernel.org/stable/c/fd4c92bbd3a64556e81042ff8d30545b15a3b93a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:17:39.109Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.4-rc4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}