Skip to content
Not rated

CVE-2025-37968 In the Linux kernel, the following vulnerability has been resolved: iio: light: opt3001: fix deadlock due to…

Description

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 and versions

Product Affected versions Fixed in
Linux 6.15 earliest → < 6.15 6.15
Linux 6.14 earliest → < 6.14.7 6.14.7
Linux 6.12 earliest → < 6.12.30 6.12.30
Linux 6.6 earliest → < 6.6.105 6.6.105
Linux 6.1 earliest → < 6.1.151 6.1.151
Linux 5.15 earliest → < 5.15.192 5.15.192
Linux 5.10 earliest → < 5.10.243 5.10.243
Linux 5.4 earliest → < 5.4.299 5.4.299
Linux 4.3 No fix stated
Show the other branch
Product Affected versions Fixed in
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE