← Database

CVE-2025-21934

HIGH CVSS: 7.8 Published: 2025-04-01 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-416, CWE-416

References