Linux Kernel RapidIO API Misuse Vulnerability Leading to Use-After-Free Issue

Vulnerability

A vulnerability in the Linux kernel's RapidIO subsystem has been addressed. The issue arose from an API misuse where the function 'rio_add_net()' failed after calling 'device_register()'. This failure necessitated the use of 'put_device()' instead of 'kfree()' to prevent a use-after-free vulnerability. The fix involves setting 'mport->net' to NULL to avoid the memory management issue.

Impact

The vulnerability could lead to a use-after-free condition, potentially allowing for memory corruption or exploitation of the freed memory.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
10.0
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.