Bug 2589703 (CVE-2026-142959) - CVE-2026-142959 kernel: kernel: Denial of Service via division-by-zero in TSL2591 light sensor driver
Summary: CVE-2026-142959 kernel: kernel: Denial of Service via division-by-zero in TSL...
Keywords:
Status: NEW
Alias: CVE-2026-142959
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:30 UTC by OSIDB Bzimport
Modified: 2026-12-03 13:48 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:30:27 UTC
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


Note You need to log in before you can comment on or make changes to this bug.