{"api_version":"1","generated_at":"2026-07-24T18:59:05+00:00","cve":"CVE-2025-37968","urls":{"html":"https://cve.report/CVE-2025-37968","api":"https://cve.report/api/cve/CVE-2025-37968.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-37968","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-37968"},"summary":{"title":"iio: light: opt3001: fix deadlock due to concurrent flag access","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-05-20 17:15:47","updated_at":"2026-05-12 13:16:41"},"problem_types":["CWE-667"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77","name":"https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","name":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc","name":"https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f","name":"https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea","name":"https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e791bf216c9e236b34dabf514ec0ede140cca719","name":"https://git.kernel.org/stable/c/e791bf216c9e236b34dabf514ec0ede140cca719","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9","name":"https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5","name":"https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7","name":"https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","name":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-37968","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37968","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 a9c56ccb7cddfca754291fb24b108a5350a5fbe9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 957e8be112636d9bc692917286e81e54bd87decc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 748ebd8e61d0bc182c331b8df3887af7285c8a8f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 e791bf216c9e236b34dabf514ec0ede140cca719 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 7ca84f6a22d50bf8b31efe9eb05f9859947266d7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 2c95c8f0959d0a72575eabf2ff888f47ed6d8b77 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a9b7b1809f56cfaa080e70ec49b6979563a237 f063a28002e3350088b4577c5640882bf4ea17ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.299 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.243 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.192 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.151 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.105 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.30 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14.7 6.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 * original_commit_for_fix","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC CN 4100","version":"affected V5.0 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"37968","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2025-11-03T17:32:49.287Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"title":"CVE Program Container"},{"affected":[{"defaultStatus":"unknown","product":"SIMATIC CN 4100","vendor":"Siemens","versions":[{"lessThan":"V5.0","status":"affected","version":"0","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-05-12T12:04:21.741Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/iio/light/opt3001.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a9c56ccb7cddfca754291fb24b108a5350a5fbe9","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"957e8be112636d9bc692917286e81e54bd87decc","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"748ebd8e61d0bc182c331b8df3887af7285c8a8f","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"e791bf216c9e236b34dabf514ec0ede140cca719","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"7ca84f6a22d50bf8b31efe9eb05f9859947266d7","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"2c95c8f0959d0a72575eabf2ff888f47ed6d8b77","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"},{"lessThan":"f063a28002e3350088b4577c5640882bf4ea17ea","status":"affected","version":"94a9b7b1809f56cfaa080e70ec49b6979563a237","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/iio/light/opt3001.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.3"},{"lessThan":"4.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.299","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.243","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.192","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.151","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.105","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.30","versionType":"semver"},{"lessThanOrEqual":"6.14.*","status":"unaffected","version":"6.14.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.15","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.299","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.243","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.192","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.151","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.105","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.30","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.14.7","versionStartIncluding":"4.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.15","versionStartIncluding":"4.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-05-11T21:18:43.308Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a9c56ccb7cddfca754291fb24b108a5350a5fbe9"},{"url":"https://git.kernel.org/stable/c/957e8be112636d9bc692917286e81e54bd87decc"},{"url":"https://git.kernel.org/stable/c/1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5"},{"url":"https://git.kernel.org/stable/c/748ebd8e61d0bc182c331b8df3887af7285c8a8f"},{"url":"https://git.kernel.org/stable/c/e791bf216c9e236b34dabf514ec0ede140cca719"},{"url":"https://git.kernel.org/stable/c/7ca84f6a22d50bf8b31efe9eb05f9859947266d7"},{"url":"https://git.kernel.org/stable/c/2c95c8f0959d0a72575eabf2ff888f47ed6d8b77"},{"url":"https://git.kernel.org/stable/c/f063a28002e3350088b4577c5640882bf4ea17ea"}],"title":"iio: light: opt3001: fix deadlock due to concurrent flag access","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-37968","datePublished":"2025-05-20T16:47:16.051Z","dateReserved":"2025-04-16T04:51:23.974Z","dateUpdated":"2026-05-12T12:04:21.741Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-05-20 17:15:47","lastModifiedDate":"2026-05-12 13:16:41","problem_types":["CWE-667"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"5.4.299","matchCriteriaId":"273E1E7D-878C-418E-8CC1-F7022BAB721D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.243","matchCriteriaId":"6DE4B49A-F1A3-4F0C-96D3-68676CE6BB4C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.192","matchCriteriaId":"8A911BD7-361F-45C0-A4A6-33FCBA0F6117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.151","matchCriteriaId":"BC2D0B88-F133-4143-B91D-0A439AA143C0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.105","matchCriteriaId":"B9364B0C-6B18-422E-8254-73EF0E856875"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.30","matchCriteriaId":"8F43EF2E-9448-4BCA-99D9-DAEAEB7523C5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.14.7","matchCriteriaId":"5715A6F5-A34A-4B27-8A64-82825E963995"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*","matchCriteriaId":"8D465631-2980-487A-8E65-40AE2B9F8ED1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*","matchCriteriaId":"4C9D071F-B28E-46EC-AC61-22B913390211"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*","matchCriteriaId":"13FC0DDE-E513-465E-9E81-515702D49B74"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*","matchCriteriaId":"8C7B5B0E-4EEB-48F5-B4CF-0935A7633845"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*","matchCriteriaId":"2D240580-3048-49B2-9E27-F115A9DF8224"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","matchCriteriaId":"FA6FEEC2-9F11-4643-8827-749718254FED"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"37968","Ordinal":"1","Title":"iio: light: opt3001: fix deadlock due to concurrent flag access","CVE":"CVE-2025-37968","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"37968","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"iio: light: opt3001: fix deadlock due to concurrent flag access"}]}}}