CVE-2025-37968

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < a9c56ccb7cddfca754291fb24b108a5350a5fbe9affected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < 957e8be112636d9bc692917286e81e54bd87deccaffected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < 1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5affected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < 748ebd8e61d0bc182c331b8df3887af7285c8a8faffected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < e791bf216c9e236b34dabf514ec0ede140cca719affected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < 7ca84f6a22d50bf8b31efe9eb05f9859947266d7affected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < 2c95c8f0959d0a72575eabf2ff888f47ed6d8b77affected
LinuxLinux94a9b7b1809f56cfaa080e70ec49b6979563a237 < f063a28002e3350088b4577c5640882bf4ea17eaaffected
LinuxLinux4.3affected
LinuxLinux0 < 4.3unaffected
LinuxLinux5.4.299 <= 5.4.*unaffected
LinuxLinux5.10.243 <= 5.10.*unaffected
LinuxLinux5.15.192 <= 5.15.*unaffected
LinuxLinux6.1.151 <= 6.1.*unaffected
LinuxLinux6.6.105 <= 6.6.*unaffected
LinuxLinux6.12.30 <= 6.12.*unaffected
LinuxLinux6.14.7 <= 6.14.*unaffected
LinuxLinux6.15 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

Additional References

References