CVE-2025-21935
rapidio: add check for rio_add_net() in rio_scan_alloc_net()
Description
In the Linux kernel, the following vulnerability has been resolved: rapidio: add check for rio_add_net() in rio_scan_alloc_net() The return value of rio_add_net() should be checked. If it fails, put_device() should be called to free the memory and give up the reference initialized in rio_add_net().
INFO
Published Date :
April 1, 2025, 4:15 p.m.
Last Modified :
Nov. 3, 2025, 8:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel.
- Verify the update is applied correctly.
- Reboot the system if necessary.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21935.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21935 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21935
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21935 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21935 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html Added Reference https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html -
Initial Analysis by [email protected]
Oct. 30, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.179 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.235 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.131 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.6 up to (excluding) 5.4.291 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.83 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.13.7 *cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 01, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: rapidio: add check for rio_add_net() in rio_scan_alloc_net() The return value of rio_add_net() should be checked. If it fails, put_device() should be called to free the memory and give up the reference initialized in rio_add_net(). Added Reference https://git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550 Added Reference https://git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7 Added Reference https://git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5 Added Reference https://git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8 Added Reference https://git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745 Added Reference https://git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca Added Reference https://git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706 Added Reference https://git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de