{"id":"CVE-2025-37968","summary":"iio: light: opt3001: fix deadlock due to concurrent flag access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: opt3001: fix deadlock due to concurrent flag access\n\nThe threaded IRQ function in this driver is reading the flag twice: once to\nlock a mutex and once to unlock it. Even though the code setting the flag\nis designed to prevent it, there are subtle cases where the flag could be\ntrue at the mutex_lock stage and false at the mutex_unlock stage. This\nresults in the mutex not being unlocked, resulting in a deadlock.\n\nFix it by making the opt3001_irq() code generally more robust, reading the\nflag into a variable and using the variable value at both stages.","modified":"2026-04-02T12:47:42.625603Z","published":"2025-05-20T16:47:16.051Z","related":["SUSE-SU-2025:02249-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02335-1","SUSE-SU-2025:02538-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37968.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77"},{"type":"WEB","url":"https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e791bf216c9e236b34dabf514ec0ede140cca719"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37968"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-37968.json"}}],"schema_version":"1.7.5"}