We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-37968

iio: light: opt3001: fix deadlock due to concurrent flag access



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.

Reserved 2025-04-16 | Published 2025-05-20 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

94a9b7b1809f56cfaa080e70ec49b6979563a237 before 7ca84f6a22d50bf8b31efe9eb05f9859947266d7
affected

94a9b7b1809f56cfaa080e70ec49b6979563a237 before 2c95c8f0959d0a72575eabf2ff888f47ed6d8b77
affected

94a9b7b1809f56cfaa080e70ec49b6979563a237 before f063a28002e3350088b4577c5640882bf4ea17ea
affected

Default status
affected

4.3
affected

Any version before 4.3
unaffected

6.12.30
unaffected

6.14.7
unaffected

6.15
unaffected

References

git.kernel.org/...c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7

git.kernel.org/...c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77

git.kernel.org/...c/f063a28002e3350088b4577c5640882bf4ea17ea

cve.org (CVE-2025-37968)

nvd.nist.gov (CVE-2025-37968)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-37968

Support options

Helpdesk Chat, Email, Knowledgebase