CVE-2025-21935
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21935 is a vulnerability discovered in the Linux kernel, specifically in the RapidIO subsystem. The vulnerability was disclosed on April 1, 2025, and affects the rio_scan_alloc_net() function where the return value of rio_add_net() is not properly checked (NVD Database).

Technical details

The vulnerability exists in the Linux kernel's RapidIO subsystem where the rio_add_net() function's return value is not properly checked in rio_scan_alloc_net(). When the function fails, the system should call put_device() to free the memory and release the reference initialized in rio_add_net(), but this check was missing (NVD Database).

Impact

The vulnerability could potentially lead to memory leaks in the Linux kernel's RapidIO subsystem when rio_add_net() fails, as the allocated memory and references are not properly freed (NVD Database).

Mitigation and workarounds

The vulnerability has been addressed in various Linux distributions. For Debian's stable distribution (bookworm), the fix has been implemented in version 6.1.133-1 (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management