NetSight
medium5.5

CVE-2025-37968

In the Linux kernel, the following vulnerability has been resolved: iio: light: opt3001: fix deadlock due to concurrent flag access The threaded IRQ function i…

Impact

In the Linux kernel, the following vulnerability has been resolved: iio: light: opt3001: fix deadlock due to concurrent flag access The threaded IRQ function in this driver is reading the flag twice: once to lock a mutex and once to unlock it. Even though the code setting the flag is designed to prevent it, there are subtle cases where the flag could be true at the mutex_lock stage and false at the mutex_unlock stage. This results in the mutex not being unlocked, resulting in a deadlock. Fix it by making the opt3001_irq() code generally more robust, reading the flag into a variable and using the variable value at both stages.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.3 before 5.4.299
from 5.5 before 5.10.243
from 5.11 before 5.15.192
from 5.16 before 6.1.151
from 6.2 before 6.6.105
from 6.7 before 6.12.30
DebianDebian Linux
Version 11.0

Weakness classification

References