Medium severity · published May 20, 2025
CVE-2025-37968
iio: light: opt3001: fix deadlock due to concurrent flag access
5.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 5% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.3 before 5.4.299; 5.5 before 5.10.243; 5.11 before 5.15.192; 5.16 before 6.1.151; 6.2 before 6.6.105; 6.7 before 6.12.30; +6 more · source: NVD
LI
Linux · Linux
94a9b7b1809f56cfaa080e70ec49b6979563a237 before a9c56ccb7cddfca754291fb24b108a5350a5fbe9; 94a9b7b1809f56cfaa080e70ec49b6979563a237 before 957e8be112636d9bc692917286e81e54bd87decc; 94a9b7b1809f56cfaa080e70ec49b6979563a237 before 1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5; 94a9b7b1809f56cfaa080e70ec49b6979563a237 before 748ebd8e61d0bc182c331b8df3887af7285c8a8f; 94a9b7b1809f56cfaa080e70ec49b6979563a237 before e791bf216c9e236b34dabf514ec0ede140cca719; 94a9b7b1809f56cfaa080e70ec49b6979563a237 before 7ca84f6a22d50bf8b31efe9eb05f9859947266d7; +3 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD
SC
SIMATIC CN 4100 · Siemens
before V5.0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-37968
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-37968
Patch
https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5
Patch
https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77
Patch
https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f
Patch
https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7
Patch
https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc
Patch
https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
