Linux Kernel up to 6.16.3 media rain_interrupt race condition

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 6.16.3 and classified as critical. Affected by this issue is the function rain_interrupt of the component media. Such manipulation leads to race condition.
This vulnerability is listed as CVE-2025-39713. There is no available exploit.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 6.16.3. It has been rated as critical. Affected by this issue is the function rain_interrupt of the component media. The manipulation with an unknown input leads to a race condition vulnerability. Using CWE to declare the problem leads to CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. The impact remains unknown. CVE summarizes:
In the Linux kernel, the following vulnerability has been resolved: media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt() In the interrupt handler rain_interrupt(), the buffer full check on rain->buf_len is performed before acquiring rain->buf_lock. This creates a Time-of-Check to Time-of-Use (TOCTOU) race condition, as rain->buf_len is concurrently accessed and modified in the work handler rain_irq_work_handler() under the same lock. Multiple interrupt invocations can race, with each reading buf_len before it becomes full and then proceeding. This can lead to both interrupts attempting to write to the buffer, incrementing buf_len beyond its capacity (DATA_SIZE) and causing a buffer overflow. Fix this bug by moving the spin_lock() to before the buffer full check. This ensures that the check and the subsequent buffer modification are performed atomically, preventing the race condition. An corresponding spin_unlock() is added to the overflow path to correctly release the lock. This possible bug was found by an experimental static analysis tool developed by our team.
The advisory is shared for download at git.kernel.org. This vulnerability is handled as CVE-2025-39713 since 04/16/2025. The exploitation is known to be difficult. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 261613 (Linux Distros Unpatched Vulnerability : CVE-2025-39713), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4 or 6.17-rc1 eliminates this vulnerability. Applying the patch 2964dbe631fd21ad7873b1752b895548d3c12496/6aaef1a75985865d8c6c5b65fb54152060faba48/fbc81e78d75bf28972bc22b1599559557b1a1b83/3c3e33b7edca7a2d6a96801f287f9faeb684d655/1c2769dc80255824542ea5a4ff1a07dcdeb1603f/ed905fe7cba03cf22ae0b84cf1b73cd1c070423a/ff9dd3db6cd4c6b54a2ecbc58151bea4ec63bc59/7af160aea26c7dc9e6734d19306128cce156ec40 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (261613), EUVD (EUVD-2025-31514) and CERT Bund (WID-SEC-2025-1988). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Debian Linux
- Google Cloud Platform
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- NetApp FAS
- NetApp AFF
- NetApp ActiveIQ Unified Manager
- SUSE openSUSE
- RESF Rocky Linux
- Open Source Linux Kernel
- Microsoft Azure
- Dell Secure Connect Gateway
- IBM QRadar SIEM
- IBM Security Verify Access
- Dell NetWorker
Product
Type
Vendor
Name
Version
- 5.4.296
- 5.10.240
- 5.15.189
- 6.1.148
- 6.6.102
- 6.12.0
- 6.12.1
- 6.12.2
- 6.12.3
- 6.12.4
- 6.12.5
- 6.12.6
- 6.12.7
- 6.12.8
- 6.12.9
- 6.12.10
- 6.12.11
- 6.12.12
- 6.12.13
- 6.12.14
- 6.12.15
- 6.12.16
- 6.12.17
- 6.12.18
- 6.12.19
- 6.12.20
- 6.12.21
- 6.12.22
- 6.12.23
- 6.12.24
- 6.12.25
- 6.12.26
- 6.12.27
- 6.12.28
- 6.12.29
- 6.12.30
- 6.12.31
- 6.12.32
- 6.12.33
- 6.12.34
- 6.12.35
- 6.12.36
- 6.12.37
- 6.12.38
- 6.12.39
- 6.12.40
- 6.12.41
- 6.12.42
- 6.12.43
- 6.16.0
- 6.16.1
- 6.16.2
- 6.16.3
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.6VulDB Meta Temp Score: 4.6
VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 4.7
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Race conditionCWE: CWE-362
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 261613
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-39713
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 5.4.297/5.10.241/5.15.190/6.1.149/6.6.103/6.12.44/6.16.4/6.17-rc1
Patch: 2964dbe631fd21ad7873b1752b895548d3c12496/6aaef1a75985865d8c6c5b65fb54152060faba48/fbc81e78d75bf28972bc22b1599559557b1a1b83/3c3e33b7edca7a2d6a96801f287f9faeb684d655/1c2769dc80255824542ea5a4ff1a07dcdeb1603f/ed905fe7cba03cf22ae0b84cf1b73cd1c070423a/ff9dd3db6cd4c6b54a2ecbc58151bea4ec63bc59/7af160aea26c7dc9e6734d19306128cce156ec40
Timeline
04/16/2025 CVE reserved09/05/2025 Advisory disclosed
09/05/2025 VulDB entry created
02/09/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2025-39713 (🔒)
GCVE (CVE): GCVE-0-2025-39713
GCVE (VulDB): GCVE-100-322928
EUVD: 🔒
CERT Bund: WID-SEC-2025-1988 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service
Entry
Created: 09/05/2025 22:03Updated: 02/09/2026 19:21
Changes: 09/05/2025 22:03 (59), 09/07/2025 07:09 (2), 11/07/2025 02:47 (7), 11/27/2025 19:56 (1), 01/03/2026 15:02 (1), 01/08/2026 05:05 (10), 01/08/2026 14:47 (1), 01/20/2026 10:08 (1), 02/09/2026 19:21 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.