CVE-2025-37968

Source
https://cve.org/CVERecord?id=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-20T16:47:16.051Z
Modified
2026-03-20T12:42:35.866984Z
Summary
iio: light: opt3001: fix deadlock due to concurrent flag access
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37968.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
94a9b7b1809f56cfaa080e70ec49b6979563a237
Fixed
a9c56ccb7cddfca754291fb24b108a5350a5fbe9
Fixed
957e8be112636d9bc692917286e81e54bd87decc
Fixed
1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5
Fixed
748ebd8e61d0bc182c331b8df3887af7285c8a8f
Fixed
e791bf216c9e236b34dabf514ec0ede140cca719
Fixed
7ca84f6a22d50bf8b31efe9eb05f9859947266d7
Fixed
2c95c8f0959d0a72575eabf2ff888f47ed6d8b77
Fixed
f063a28002e3350088b4577c5640882bf4ea17ea

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37968.json"