What’s Vulnerable › Vulnerabilities

CVE-2025-21935: rapidio: add check for rio_add_net() in rio_scan_alloc_net()

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

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

Get alerted when CVE-2025-21935 or the next vulnerability affects your stack