CVE-2025-21934
CVSS 3.1 Score 7.8 of 10 (high)
Details
Published Apr 1, 2025
Updated: Apr 10, 2025
CWE ID 416
Summary
CVE-2025-21934 is a vulnerability affecting the Linux kernel. In the 'rapidio' subsystem, a misuse of the API occurs when the function 'rio_add_net()' fails to register a device. Instead of freeing the memory using 'kfree()', the code should use 'put_device()'. Failure to do so results in a use-after-free issue, posing a potential security risk. The vulnerability has been mitigated by adding 'import->net = NULL;' to avoid accessing the freed memory.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.