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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
94a9b7b1809f56cfaa080e70ec49b6979563a237 to < a9c56ccb7cddfca754291fb24b108a5350a5fbe9affected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < 957e8be112636d9bc692917286e81e54bd87deccaffected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < 1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5affected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < 748ebd8e61d0bc182c331b8df3887af7285c8a8faffected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < e791bf216c9e236b34dabf514ec0ede140cca719affected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < 7ca84f6a22d50bf8b31efe9eb05f9859947266d7affected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < 2c95c8f0959d0a72575eabf2ff888f47ed6d8b77affected94a9b7b1809f56cfaa080e70ec49b6979563a237 to < f063a28002e3350088b4577c5640882bf4ea17eaaffected
Linux Linux
Default version status: affected
4.3affected0 to < 4.3unaffected5.4.299 to ≤ 5.4.*unaffected5.10.243 to ≤ 5.10.*unaffected5.15.192 to ≤ 5.15.*unaffected6.1.151 to ≤ 6.1.*unaffected6.6.105 to ≤ 6.6.*unaffected6.12.30 to ≤ 6.12.*unaffected6.14.7 to ≤ 6.14.*unaffected6.15 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9 ↗
- https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc ↗
- https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5 ↗
- https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f ↗
- https://git.kernel.org/stable/c/e791bf216c9e236b34dabf514ec0ede140cca719 ↗
- https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7 ↗
- https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77 ↗
- https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html ↗