CVE-2025-37968

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

No CVSS score yet EPSS 0.16%

Published 20 May 2025 Updated 12 May 2026 CNA: Linux

Check your servers for CVE-2025-37968

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37968 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.67% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before a9c56ccb7cddfca754291fb24b108a5350a5fbe9
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before 957e8be112636d9bc692917286e81e54bd87decc
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before 1d7def97e7eb65865ccc01bbdf4eb9e6bbe8a5b5
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before 748ebd8e61d0bc182c331b8df3887af7285c8a8f
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before e791bf216c9e236b34dabf514ec0ede140cca719
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before 7ca84f6a22d50bf8b31efe9eb05f9859947266d7
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before 2c95c8f0959d0a72575eabf2ff888f47ed6d8b77
affected from 94a9b7b1809f56cfaa080e70ec49b6979563a237, before f063a28002e3350088b4577c5640882bf4ea17ea
Other versions: unaffected
Linux
affected 4.3
unaffected before 4.3
unaffected from 5.4.299 up to and including 5.4.*
unaffected from 5.10.243 up to and including 5.10.*
unaffected from 5.15.192 up to and including 5.15.*
unaffected from 6.1.151 up to and including 6.1.*
unaffected from 6.6.105 up to and including 6.6.*
unaffected from 6.12.30 up to and including 6.12.*
unaffected from 6.14.7 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37968 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37968

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-37968
trivy image --scanners vuln IMAGE | grep CVE-2025-37968

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-37968 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.