VYPR
Unrated severityNVD Advisory· Published Apr 1, 2025· Updated Nov 3, 2025

rapidio: fix an API misues when rio_add_net() fails

CVE-2025-21934

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

88

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.