CVE-2026-142959: iio: light: tsl2591: don't divide by zero

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

iio: light: tsl2591: don't divide by zero

The TSL2591 has two raw light channels - CH0 and CH1. The algorithm for calculating illumination from the raw channels requires division by CH0 (which can be zero) and by "counts per lux" (CPL) value which is also zero for (gain = LOW, integration time <= 400 ms).

Furthermore, the algorithm assumes CH0 > CH1, which can be violated in almost complete darkness.

As a result, reading from 'inilluminanceinput' results in division-by-zero whenever CH0 is 0 (complete darkness) or whenever the parameters result in CPL being zero. This results in kernel oops on x8664 and in reading the value as 0 on arm64.

Fix that by: - reporting CH0 <= CH1 as zero (catches also CH0 = 0) - updating the lux algorithm to only do the division at the end

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update the TSL2591 lux algorithm to perform division only at the end and report zero when CH0 <= CH1, preventing division by zero.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:16 AM
Data Sourced
via MITRE·09:16 AM
Description

Frequently Asked Questions

1

Which systems are affected in practice?

Systems using the TSL2591 light sensor driver are affected when the in_illuminance_input value is read under triggering sensor or configuration conditions. The issue concerns the driver's illumination calculation rather than the two raw light channels themselves.

2

What conditions trigger the failure?

A read can trigger division by zero when CH0 is zero, such as in complete darkness. It can also occur when gain is LOW and integration time is 400 ms or less, because the counts-per-lux value becomes zero; CH0 less than or equal to CH1 is also handled as a zero illumination result by the fix.

3

What is the observable impact on affected systems?

On x86_64, the division by zero results in a kernel oops. On arm64, the illuminance read returns 0 instead.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203