In the Linux kernel, the following vulnerability has been resolved:
rapidio: fix an API misues when rioaddnet() fails
rioaddnet() calls deviceregister() and fails when deviceregister() fails. Thus, put_device() should be used rather than kfree(). Add "mport->net = NULL;" to avoid a use after free issue.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21934.json",
"cna_assigner": "Linux"
}