{"id":"CVE-2026-142959","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:17.827","lastModified":"2026-12-03T10:17:17.827","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: tsl2591: don't divide by zero\n\nThe TSL2591 has two raw light channels - CH0 and CH1. The algorithm for\ncalculating illumination from the raw channels requires division by CH0\n(which can be zero) and by \"counts per lux\" (CPL) value which is also zero\nfor (gain = LOW, integration time <= 400 ms).\n\nFurthermore, the algorithm assumes CH0 > CH1, which can be violated in\nalmost complete darkness.\n\nAs a result, reading from 'in_illuminance_input' results in\ndivision-by-zero whenever CH0 is 0 (complete darkness) or whenever the\nparameters result in CPL being zero. This results in kernel oops on\nx86_64 and in reading the value as 0 on arm64.\n\nFix that by:\n- reporting CH0 <= CH1 as zero (catches also CH0 = 0)\n- updating the lux algorithm to only do the division at the end"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/iio/light/tsl2591.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2335f0d7c790157bebf76fae963ba41bcba45fdb","lessThan":"6c3a4e702d5d32c8bd4da085259ceb5ac1efa16b","versionType":"git","status":"affected"},{"version":"2335f0d7c790157bebf76fae963ba41bcba45fdb","lessThan":"c08c19fcd24b9d02dcbcf5db54210ade1189b942","versionType":"git","status":"affected"},{"version":"2335f0d7c790157bebf76fae963ba41bcba45fdb","lessThan":"654ab8f7d5448d3e25f628c89b5239a178d14d55","versionType":"git","status":"affected"},{"version":"2335f0d7c790157bebf76fae963ba41bcba45fdb","lessThan":"3c8c2d9b88a38b92a38b3b4c74f15994cd23ce97","versionType":"git","status":"affected"},{"version":"2335f0d7c790157bebf76fae963ba41bcba45fdb","lessThan":"bd63c89aac5672f40cdc123a856493b628fc1abb","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/iio/light/tsl2591.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","versionType":"semver","status":"unaffected"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc4","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/3c8c2d9b88a38b92a38b3b4c74f15994cd23ce97","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/654ab8f7d5448d3e25f628c89b5239a178d14d55","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6c3a4e702d5d32c8bd4da085259ceb5ac1efa16b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bd63c89aac5672f40cdc123a856493b628fc1abb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c08c19fcd24b9d02dcbcf5db54210ade1189b942","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}