CVE-2025-21935

published 1 Apr 2025 · updated 11 May 2026

rapidio: add check for rio_add_net() in rio_scan_alloc_net()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 181d4daaefb3bceeb2f2635ba9f3781eeda9e550, Kernel 4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7, Kernel 6d22953c4a183d0b7fdf34d68c5debd16da6edc5 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.6, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <181d4daaefb3bceeb2f2635ba9f3781eeda9e550, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <6d22953c4a183d0b7fdf34d68c5debd16da6edc5, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <a0d069ccc475abaaa79c6368ee27fc0b5912bea8, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <ad82be4298a89a9ae46f07128bdf3d8614bce745, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <c332f3e2df0fcae5a45fd55cc18902fb1e4825ca, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <e6411c3b9512dba09af7d014d474516828c89706, >=e6b585ca6e81badeb3d42db3cc408174f2826034 <e842f9a1edf306bf36fe2a4d847a0b0d458770de181d4daaefb3bceeb2f2635ba9f3781eeda9e550, 4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7, 6d22953c4a183d0b7fdf34d68c5debd16da6edc5, a0d069ccc475abaaa79c6368ee27fc0b5912bea8, ad82be4298a89a9ae46f07128bdf3d8614bce745, c332f3e2df0fcae5a45fd55cc18902fb1e4825ca, e6411c3b9512dba09af7d014d474516828c89706, e842f9a1edf306bf36fe2a4d847a0b0d458770de

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21935 severity on Zeptric[![CVE-2025-21935](https://zeptric.io/badge/cve/CVE-2025-21935.svg)](https://zeptric.io/cve/CVE-2025-21935)