CVE-2025-37968: iio: light: opt3001: fix deadlock due to concurrent flag access

Published May 20, 2025
·
Updated

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 mutexlock stage and false at the mutexunlock stage. This results in the mutex not being unlocked, resulting in a deadlock.

Fix it by making the opt3001irq() code generally more robust, reading the flag into a variable and using the variable value at both stages.

Affected Software

15 affected componentsFixes available
Linux Kernel
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-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Debian Debian Linux=11.0
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1

Event History

May 20, 2025
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-37968?

CVE-2025-37968 is classified as a vulnerability affecting the Linux kernel due to potential deadlock issues.

2

How do I fix CVE-2025-37968?

To fix CVE-2025-37968, update to the patched version of the Linux kernel that addresses the concurrent flag access issue.

3

What systems are affected by CVE-2025-37968?

CVE-2025-37968 affects systems running vulnerable versions of the Linux kernel with the opt3001 light sensor driver.

4

What type of vulnerability is CVE-2025-37968?

CVE-2025-37968 is a concurrent access vulnerability related to a mutex lock in the Linux kernel driver.

5

Is CVE-2025-37968 actively exploited?

As of the latest updates, there is no information indicating that CVE-2025-37968 is actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203