Vulnerabilities · 2025 · Linux
CVE-2025-21935
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: rapidio: add check for rio_add_net() in rio_scan_alloc_net() The return value of rio_add_net() should be checked. If it fails, put_device() should be called to free the memory and give up the reference initialized in rio_add_net().
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550 · Patch
- git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7 · Patch
- git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5 · Patch
- git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8 · Patch
- git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745 · Patch
- git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca · Patch
- git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706 · Patch
- git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-21935
- cve.org/CVERecord?id=CVE-2025-21935
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.