CVE-2025-37968

high

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.

References

https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea

https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7

https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77

Details

Source: Mitre, NVD

Published: 2025-05-20

Updated: 2025-05-22

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High

EPSS

EPSS: 0.00018