CVE-2025-21935
JSON

5.5medium

rapidio: add check for rio_add_net() in rio_scan_alloc_net()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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().

Affected

Product or packageVersionsReported by
Linux Linuxfrom e6b585ca6e81badeb3d42db3cc408174f2826034 before 6d22953c4a183d0b7fdf34d68c5debd16da6edc5, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 181d4daaefb3bceeb2f2635ba9f3781eeda9e550, from e6b585ca6e81badeb3d42db3cc408174f2826034 before ad82be4298a89a9ae46f07128bdf3d8614bce745, from e6b585ca6e81badeb3d42db3cc408174f2826034 before e6411c3b9512dba09af7d014d474516828c89706, from e6b585ca6e81badeb3d42db3cc408174f2826034 before c332f3e2df0fcae5a45fd55cc18902fb1e4825ca, from e6b585ca6e81badeb3d42db3cc408174f2826034 before a0d069ccc475abaaa79c6368ee27fc0b5912bea8, from e6b585ca6e81badeb3d42db3cc408174f2826034 before e842f9a1edf306bf36fe2a4d847a0b0d458770de and 1 more
Not affected: before 4.6, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.131 up to 6.1.*, from 6.6.83 up to 6.6.*
CVE List
linux linux_kernelfrom 4.6 before 5.4.291, from 5.5 before 5.10.235, from 5.11 before 5.15.179, from 5.16 before 6.1.131, from 6.2 before 6.6.83, from 6.7 before 6.12.19, from 6.13 before 6.13.7, 6.14NVD

What each source says

CVE List

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().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rapidio: añadir comprobación de rio_add_net() en rio_scan_alloc_net(). Se debe comprobar el valor de retorno de rio_add_net(). Si falla, se debe ejecutar put_device() para liberar memoria y ceder la referencia inicializada en rio_add_net().

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21935 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21935 changed 2026-06-17Public domain