CVE-2026-142959

Unknown

Last modified

CVE-2026-142959 is a vulnerability of currently unknown severity. 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 'in_illuminance_input' results in division-by-zero whenever CH0 is 0 (complete darkness) or whenever the parameters result in CPL being zero.

Description

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 'in_illuminance_input' 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 x86_64 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

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 2335f0d7c790157bebf76fae963ba41bcba45fdb, < 6c3a4e702d5d32c8bd4da085259ceb5ac1efa16b; >= 2335f0d7c790157bebf76fae963ba41bcba45fdb, < c08c19fcd24b9d02dcbcf5db54210ade1189b942; >= 2335f0d7c790157bebf76fae963ba41bcba45fdb, < 654ab8f7d5448d3e25f628c89b5239a178d14d55; >= 2335f0d7c790157bebf76fae963ba41bcba45fdb, < 3c8c2d9b88a38b92a38b3b4c74f15994cd23ce97; >= 2335f0d7c790157bebf76fae963ba41bcba45fdb, < bd63c89aac5672f40cdc123a856493b628fc1abb
LinuxLinux5.14

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142959?
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 'in_illuminance_input' 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 x86_64 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
How severe is CVE-2026-142959?
Severity scoring for CVE-2026-142959 is pending analysis.
How do I fix CVE-2026-142959?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142959?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST