What’s Vulnerable › Vulnerabilities

CVE-2025-21934: rapidio: fix an API misues when rio_add_net() fails

Description

In the Linux kernel, the following vulnerability has been resolved: rapidio: fix an API misues when rio_add_net() fails rio_add_net() calls device_register() and fails when device_register() fails. Thus, put_device() should be used rather than kfree(). Add "mport->net = NULL;" to avoid a use after free issue.

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-21934 or the next vulnerability affects your stack