CVE-2025-37968

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

State
Published
Severity
Not scored
Published
May 20, 2025
Updated
May 12, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before a9c56ccb7cddfca754291fb24b108a5350a5fbe9Affected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before 957e8be112636d9bc692917286e81e54bd87deccAffected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before 1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5Affected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before 748ebd8e61d0bc182c331b8df3887af7285c8a8fAffected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before e791bf216c9e236b34dabf514ec0ede140cca719Affected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before 7ca84f6a22d50bf8b31efe9eb05f9859947266d7Affected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before 2c95c8f0959d0a72575eabf2ff888f47ed6d8b77Affected
  • 94a9b7b1809f56cfaa080e70ec49b6979563a237 to before f063a28002e3350088b4577c5640882bf4ea17eaAffected
LinuxLinux
  • 4.3Affected
  • before 4.3Not affected
  • 5.4.299 through 5.4.*Not affected
  • 5.10.243 through 5.10.*Not affected
  • 5.15.192 through 5.15.*Not affected
  • 6.1.151 through 6.1.*Not affected
  • 6.6.105 through 6.6.*Not affected
  • 6.12.30 through 6.12.*Not affected
  • 6.14.7 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.