{"id":"CVE-2025-37968","aliases":["CVE-2025-37968"],"related":[],"kind":"vulnerability","state":"published","title":"iio: light: opt3001: fix deadlock due to concurrent flag access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: opt3001: fix deadlock due to concurrent flag access\n\nThe threaded IRQ function in this driver is reading the flag twice: once to\nlock a mutex and once to unlock it. Even though the code setting the flag\nis designed to prevent it, there are subtle cases where the flag could be\ntrue at the mutex_lock stage and false at the mutex_unlock stage. This\nresults in the mutex not being unlocked, resulting in a deadlock.\n\nFix it by making the opt3001_irq() code generally more robust, reading the\nflag into a variable and using the variable value at both stages.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: opt3001: fix deadlock due to concurrent flag access\n\nThe threaded IRQ function in this driver is reading the flag twice: once to\nlock a mutex and once to unlock it. Even though the code setting the flag\nis designed to prevent it, there are subtle cases where the flag could be\ntrue at the mutex_lock stage and false at the mutex_unlock stage. This\nresults in the mutex not being unlocked, resulting in a deadlock.\n\nFix it by making the opt3001_irq() code generally more robust, reading the\nflag into a variable and using the variable value at both stages.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: light: opt3001: corrección de interbloqueo debido al acceso simultáneo a indicadores. La función IRQ enhebrada de este controlador lee el indicador dos veces: una para bloquear un mutex y otra para desbloquearlo. Aunque el código que configura el indicador está diseñado para evitarlo, existen casos sutiles en los que el indicador podría ser verdadero en la etapa mutex_lock y falso en la etapa mutex_unlock. Esto provoca que el mutex no se desbloquee, lo que genera un interbloqueo. Para solucionarlo, haga que el código opt3001_irq() sea generalmente más robusto, leyendo el indicador en una variable y utilizando el valor de la variable en ambas etapas.","source":"nvd"}],"published":"2025-05-20T16:47:16.051Z","modified":"2026-06-17T09:15:47.777Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"a9c56ccb7cddfca754291fb24b108a5350a5fbe9","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"957e8be112636d9bc692917286e81e54bd87decc","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"748ebd8e61d0bc182c331b8df3887af7285c8a8f","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"e791bf216c9e236b34dabf514ec0ede140cca719","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"7ca84f6a22d50bf8b31efe9eb05f9859947266d7","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"2c95c8f0959d0a72575eabf2ff888f47ed6d8b77","status":"affected"},{"type":"git","introduced":"94a9b7b1809f56cfaa080e70ec49b6979563a237","fixed":"f063a28002e3350088b4577c5640882bf4ea17ea","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.3","status":"unaffected"},{"type":"semver","introduced":"5.4.299","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.243","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.192","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.151","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.105","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.30","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.7","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.3","fixed":"5.4.299"},{"status":"affected","introduced":"5.5","fixed":"5.10.243"},{"status":"affected","introduced":"5.11","fixed":"5.15.192"},{"status":"affected","introduced":"5.16","fixed":"6.1.151"},{"status":"affected","introduced":"6.2","fixed":"6.6.105"},{"status":"affected","introduced":"6.7","fixed":"6.12.30"},{"status":"affected","introduced":"6.13","fixed":"6.14.7"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e791bf216c9e236b34dabf514ec0ede140cca719","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37968","url":"https://www.cve.org/CVERecord?id=CVE-2025-37968","licence":"CVE Terms of Use","modified":"2026-05-12T12:04:21.741Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37968","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37968","licence":"Public domain","modified":"2026-06-17T09:15:47.777Z"}],"updatedAt":"2026-11-25T22:58:58.313Z","epss":{"score":0.00162,"percentile":0.05666,"date":"2026-12-01T12:00:22.000Z"}}