CVE-2025-21934
rapidio: fix an API misues when rio_add_net() fails
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= e8de370188d098bb49483c287b44925957c3c9b6, < d4ec862ce80f64db923a1d942b5d11cf6fc87d36; >= e8de370188d098bb49483c287b44925957c3c9b6, < 88ddad53e4cfb6de861c6d4fb7b25427f46baed5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cdd9f58f7fe41a55fae4305ea51fc234769fd466; >= e8de370188d098bb49483c287b44925957c3c9b6, < a5f5e520e8fbc6294020ff8afa36f684d92c6e6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2537f01d57f08c527e40bbb5862aa6ff43344898; >= e8de370188d098bb49483c287b44925957c3c9b6, < 22e4977141dfc6d109bf29b495bf2187b4250990; >= e8de370188d098bb49483c287b44925957c3c9b6, < f0aa4ee1cbbf7789907e5a3f6810de01c146c211; >= e8de370188d098bb49483c287b44925957c3c9b6, < b2ef51c74b0171fde7eb69b6152d3d2f743ef269
- Anyone running Linux 4.6
Vulnerability facts
- Affected
- Linux >= e8de370188d098bb49483c287b44925957c3c9b6, < d4ec862ce80f64db923a1d942b5d11cf6fc87d36; >= e8de370188d098bb49483c287b44925957c3c9b6, < 88ddad53e4cfb6de861c6d4fb7b25427f46baed5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cdd9f58f7fe41a55fae4305ea51fc234769fd466; >= e8de370188d098bb49483c287b44925957c3c9b6, < a5f5e520e8fbc6294020ff8afa36f684d92c6e6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2537f01d57f08c527e40bbb5862aa6ff43344898; >= e8de370188d098bb49483c287b44925957c3c9b6, < 22e4977141dfc6d109bf29b495bf2187b4250990; >= e8de370188d098bb49483c287b44925957c3c9b6, < f0aa4ee1cbbf7789907e5a3f6810de01c146c211; >= e8de370188d098bb49483c287b44925957c3c9b6, < b2ef51c74b0171fde7eb69b6152d3d2f743ef269; Linux 4.6
- Fixed in
- Linux 88ddad53e4cfb6de861c6d4fb7b25427f46baed5, Linux 2537f01d57f08c527e40bbb5862aa6ff43344898, Linux 22e4977141dfc6d109bf29b495bf2187b4250990
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rapidio: fix an API misues when rio_add_net() fails rio_add_net() calls device_register() and fails when device_register() fails. Thus, put_device() should be used rather than kfree(). Add "mport->net = NULL;" to avoid a use after free issue.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e8de370188d098bb49483c287b44925957c3c9b6, < d4ec862ce80f64db923a1d942b5d11cf6fc87d36; >= e8de370188d098bb49483c287b44925957c3c9b6, < 88ddad53e4cfb6de861c6d4fb7b25427f46baed5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cdd9f58f7fe41a55fae4305ea51fc234769fd466; >= e8de370188d098bb49483c287b44925957c3c9b6, < a5f5e520e8fbc6294020ff8afa36f684d92c6e6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2537f01d57f08c527e40bbb5862aa6ff43344898; >= e8de370188d098bb49483c287b44925957c3c9b6, < 22e4977141dfc6d109bf29b495bf2187b4250990; >= e8de370188d098bb49483c287b44925957c3c9b6, < f0aa4ee1cbbf7789907e5a3f6810de01c146c211; >= e8de370188d098bb49483c287b44925957c3c9b6, < b2ef51c74b0171fde7eb69b6152d3d2f743ef269 | — | cvelist |
| Linux | 4.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21934. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21934.md Affected: Linux >= e8de370188d098bb49483c287b44925957c3c9b6, < d4ec862ce80f64db923a1d942b5d11cf6fc87d36; >= e8de370188d098bb49483c287b44925957c3c9b6, < 88ddad53e4cfb6de861c6d4fb7b25427f46baed5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cdd9f58f7fe41a55fae4305ea51fc234769fd466; >= e8de370188d098bb49483c2… Fixed in: Linux 88ddad53e4cfb6de861c6d4fb7b25427f46baed5, Linux 2537f01d57f08c527e40bbb5862aa6ff43344898, Linux 22e4977141dfc6d109bf29b495bf2187b4250990 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/d4ec862ce80f64db923a1d942b5d11cf6fc87d36
- https://git.kernel.org/stable/c/88ddad53e4cfb6de861c6d4fb7b25427f46baed5
- https://git.kernel.org/stable/c/cdd9f58f7fe41a55fae4305ea51fc234769fd466
- https://git.kernel.org/stable/c/a5f5e520e8fbc6294020ff8afa36f684d92c6e6a
- https://git.kernel.org/stable/c/2537f01d57f08c527e40bbb5862aa6ff43344898
- https://git.kernel.org/stable/c/22e4977141dfc6d109bf29b495bf2187b4250990
- https://git.kernel.org/stable/c/f0aa4ee1cbbf7789907e5a3f6810de01c146c211
- https://git.kernel.org/stable/c/b2ef51c74b0171fde7eb69b6152d3d2f743ef269
FAQ
Is CVE-2025-21934 being exploited?
There is no confirmed exploitation: CVE-2025-21934 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21934?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21934?
Linux >= e8de370188d098bb49483c287b44925957c3c9b6, < d4ec862ce80f64db923a1d942b5d11cf6fc87d36; >= e8de370188d098bb49483c287b44925957c3c9b6, < 88ddad53e4cfb6de861c6d4fb7b25427f46baed5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cdd9f58f7fe41a55fae4305ea51fc234769fd466; >= e8de370188d098bb49483c287b44925957c3c9b6, < a5f5e520e8fbc6294020ff8afa36f684d92c6e6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2537f01d57f08c527e40bbb5862aa6ff43344898; >= e8de370188d098bb49483c287b44925957c3c9b6, < 22e4977141dfc6d109bf29b495bf2187b4250990; >= e8de370188d098bb49483c287b44925957c3c9b6, < f0aa4ee1cbbf7789907e5a3f6810de01c146c211; >= e8de370188d098bb49483c287b44925957c3c9b6, < b2ef51c74b0171fde7eb69b6152d3d2f743ef269; Linux 4.6.
Is there a fix for CVE-2025-21934?
Yes. Fixed in Linux 88ddad53e4cfb6de861c6d4fb7b25427f46baed5, Linux 2537f01d57f08c527e40bbb5862aa6ff43344898, Linux 22e4977141dfc6d109bf29b495bf2187b4250990. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-21934?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.