{"id":"CVE-2025-21935","aliases":["CVE-2025-21935"],"related":[],"kind":"vulnerability","state":"published","title":"rapidio: add check for rio_add_net() in rio_scan_alloc_net()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: add check for rio_add_net() in rio_scan_alloc_net()\n\nThe return value of rio_add_net() should be checked.  If it fails,\nput_device() should be called to free the memory and give up the reference\ninitialized in rio_add_net().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: add check for rio_add_net() in rio_scan_alloc_net()\n\nThe return value of rio_add_net() should be checked.  If it fails,\nput_device() should be called to free the memory and give up the reference\ninitialized in rio_add_net().","source":"cvelist"},{"lang":"es","text":"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().","source":"nvd"}],"published":"2025-04-01T15:41:03.335Z","modified":"2026-06-17T08:44:39.193Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"6d22953c4a183d0b7fdf34d68c5debd16da6edc5","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"181d4daaefb3bceeb2f2635ba9f3781eeda9e550","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"ad82be4298a89a9ae46f07128bdf3d8614bce745","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"e6411c3b9512dba09af7d014d474516828c89706","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"c332f3e2df0fcae5a45fd55cc18902fb1e4825ca","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"a0d069ccc475abaaa79c6368ee27fc0b5912bea8","status":"affected"},{"type":"git","introduced":"e6b585ca6e81badeb3d42db3cc408174f2826034","fixed":"e842f9a1edf306bf36fe2a4d847a0b0d458770de","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.6","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.131","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.83","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.19","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.7","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.6","fixed":"5.4.291"},{"status":"affected","introduced":"5.5","fixed":"5.10.235"},{"status":"affected","introduced":"5.11","fixed":"5.15.179"},{"status":"affected","introduced":"5.16","fixed":"6.1.131"},{"status":"affected","introduced":"6.2","fixed":"6.6.83"},{"status":"affected","introduced":"6.7","fixed":"6.12.19"},{"status":"affected","introduced":"6.13","fixed":"6.13.7"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21935","url":"https://www.cve.org/CVERecord?id=CVE-2025-21935","licence":"CVE Terms of Use","modified":"2026-05-11T21:09:23.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21935","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21935","licence":"Public domain","modified":"2026-06-17T08:44:39.193Z"}],"updatedAt":"2026-11-25T22:58:55.895Z","epss":{"score":0.00235,"percentile":0.1548,"date":"2026-12-01T12:00:22.000Z"}}