Linux Kernel up to 6.16.3 media rain_interrupt race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.5$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.6
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Race condition
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 261613
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-39713

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

04/16/2025 CVE reserved
09/05/2025 +142 days Advisory disclosed
09/05/2025 +0 days VulDB entry created
02/09/2026 +157 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: 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

Entryinfo

Created: 09/05/2025 22:03
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!