CVE-2025-37968

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37968
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37968.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37968
Downstream
Related
Published
2025-05-20T17:15:47Z
Modified
2025-09-09T17:15:44Z
Summary
[none]
Details

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 mutexlock stage and false at the mutexunlock 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.

References

Affected packages