CVE-2025-39713 | 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. Multip
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.
- 🔗 git.kernel.org/stable/c/2964dbe631fd21ad7873b1752b895548…
- 🔗 git.kernel.org/stable/c/6aaef1a75985865d8c6c5b65fb541520…
- 🔗 git.kernel.org/stable/c/fbc81e78d75bf28972bc22b159955955…
- 🔗 git.kernel.org/stable/c/3c3e33b7edca7a2d6a96801f287f9fae…
- 🔗 git.kernel.org/stable/c/1c2769dc80255824542ea5a4ff1a07dc…
- 🔗 git.kernel.org/stable/c/ed905fe7cba03cf22ae0b84cf1b73cd1…
- 🔗 git.kernel.org/stable/c/ff9dd3db6cd4c6b54a2ecbc58151bea4…
- 🔗 git.kernel.org/stable/c/7af160aea26c7dc9e6734d19306128cc…
Es liegt ein offizielles Hersteller- oder Sicherheits-Advisory vor, jedoch ist noch keine finale Fix-Version verifiziert. Prüfen Sie das verlinkte Advisory auf Updates oder Workarounds.
Zero-Day & Vulnerability Intelligence Hub
Echtzeit-Tracking mit EPSS Exploit-Wahrscheinlichkeiten, Angriffsvektor-Decodern und KI-Patch-Anleitungen.
📊 Historien-Charts — Criticals-Trend · Vendors · EPSS-Verteilung
| Tier | CVEs | Anteil | Δ 7 T |
|---|---|---|---|
| ≥90 % | 795 | 0,2 % | +9 |
| ≥50 % | 3.561 | 0,9 % | +2 |
| ≥10 % | 13.179 | 3,2 % | +15 |
| <10 % | 398.614 | 95,8 % | +2.512 |
⚙️ Erweiterte Forscher-Filter (Lifecycle, Scores, EPSS, Exploit, Sortierung, Dynamik, Quelle, CWE)
🗂️ …
CVE-2025-39713 | 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. Multip
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