What’s Vulnerable › Vulnerabilities
CVE-2025-21935: rapidio: add check for rio_add_net() in rio_scan_alloc_net()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-01 · updated 2026-06-17
Description
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: from 4.6 before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.131; from 6.2 before 6.6.83; from 6.7 before 6.12.19 — fixed in 5.10.235, 5.15.179, 5.4.291, 6.1.131, 6.12.19, 6.13.7
How to fix
Upgrade to a fixed version: Linux kernel 5.10.235, 5.15.179, 5.4.291, 6.1.131. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550
- https://git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7
- https://git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5
- https://git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8
- https://git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745
- https://git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca
- https://git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706
- https://git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Get alerted when CVE-2025-21935 or the next vulnerability affects your stack