# media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt()

CVE record · `CVE-2025-39713`

- **Identifiers:** `CVE-2025-39713`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 5 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 5 Sept 2025, 17:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before 2964dbe631fd21ad7873b1752b895548d3c12496` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before 6aaef1a75985865d8c6c5b65fb54152060faba48` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before fbc81e78d75bf28972bc22b1599559557b1a1b83` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before 3c3e33b7edca7a2d6a96801f287f9faeb684d655` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before 1c2769dc80255824542ea5a4ff1a07dcdeb1603f` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before ed905fe7cba03cf22ae0b84cf1b73cd1c070423a` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before ff9dd3db6cd4c6b54a2ecbc58151bea4ec63bc59` (git)
  - affected: `0f314f6c2e77beb1a232be21dd6be4e1849ba5ac to before 7af160aea26c7dc9e6734d19306128cce156ec40` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.12`
  - unaffected: `before 4.12` (semver)
  - unaffected: `5.4.297 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.149 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.103 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.44 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.4 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel rainshadow-cec media driver has a race condition in its interrupt handler, where the buffer-full check runs before the lock is taken, so concurrent interrupts can overflow the buffer. The source does not say what access an attacker would need. Upgrade to Linux 5.4.297, 5.10.241, 5.15.190, or 6.1.149, or a later release in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0014, the 3rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 5 Sept 2025, 17:21 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39713)
- 5 Sept 2025, 18:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39713)

## Sources

- [CVE List: CVE-2025-39713](https://www.cve.org/CVERecord?id=CVE-2025-39713)
- [NVD: CVE-2025-39713](https://nvd.nist.gov/vuln/detail/CVE-2025-39713)

### References from the CNA

- <https://git.kernel.org/stable/c/2964dbe631fd21ad7873b1752b895548d3c12496>
- <https://git.kernel.org/stable/c/6aaef1a75985865d8c6c5b65fb54152060faba48>
- <https://git.kernel.org/stable/c/fbc81e78d75bf28972bc22b1599559557b1a1b83>
- <https://git.kernel.org/stable/c/3c3e33b7edca7a2d6a96801f287f9faeb684d655>
- <https://git.kernel.org/stable/c/1c2769dc80255824542ea5a4ff1a07dcdeb1603f>
- <https://git.kernel.org/stable/c/ed905fe7cba03cf22ae0b84cf1b73cd1c070423a>
- <https://git.kernel.org/stable/c/ff9dd3db6cd4c6b54a2ecbc58151bea4ec63bc59>
- <https://git.kernel.org/stable/c/7af160aea26c7dc9e6734d19306128cce156ec40>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-39713>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-39713/>. Everything for agents: <https://agentprime.io/llms.txt>.
