CVE-2025-21934

rapidio: fix an API misues when rio_add_net() fails

High · published April 1, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
11.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00215 · 11.3th percentile
Published
2025-04-01T15:41Z
EPSS history
Timeline
  • 01 APR 15:41Z
    rapidio: fix an API misues when rio_add_net() fails
    cvelistv5