CVE-2025-21935
rapidio: add check for rio_add_net() in rio_scan_alloc_net()
- State
- Published
- Severity
- Not scored
- Published
- Apr 1, 2025
- Updated
- May 11, 2026
- Reserved
- Dec 29, 2024
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().
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5
- https://git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7
- https://git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550
- https://git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745
- https://git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706
- https://git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca
- https://git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8
- https://git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.