CVEvulnerability

CVE-2025-37968

5.5 MEDIUM Published 2025-05-20 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-05-20
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

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.

Affected configurations

• linux linux kernel (>= 4.3 < 5.4.299) • linux linux kernel (>= 5.5 < 5.10.243) • linux linux kernel (>= 5.11 < 5.15.192) • linux linux kernel (>= 5.16 < 6.1.151) • linux linux kernel (>= 6.2 < 6.6.105) • linux linux kernel (>= 6.7 < 6.12.30) • linux linux kernel (>= 6.13 < 6.14.7) • linux linux kernel 6.15 • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References