CVE-2025-21934

HIGH

Linux Kernel <5.4.291/<5.10.235/<5.15.179/<6.1.131/<6.6.83/<6.12.19/<6.13.7 - Use-After-Free in RapidIO

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0019
EPSS Percentile 8.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (27)
linux/Kernel 4.6.0 - 5.4.291linux
linux/Kernel 5.11.0 - 5.15.179linux
linux/Kernel 5.16.0 - 6.1.131linux
linux/Kernel 5.5.0 - 5.10.235linux
linux/Kernel 6.13.0 - 6.13.7linux
linux/Kernel 6.2.0 - 6.6.83linux
linux/Kernel 6.7.0 - 6.12.19linux
Linux/Linux < 4.6
Linux/Linux 4.6
Linux/Linux 5.10.235 - 5.10.*
... and 17 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026