UnratedFix available
rapidio: add check for rio_add_net() in rio_scan_alloc_net()
Type: advisorySources: OSV
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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.235, 5.15.179, 5.4.291, 6.1.131, 6.12.19, 6.13.7, 6.6.83
- CVEs
- CVE-2025-21935
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:37 UTC · Revision 1
Source evidence
rapidio: add check for rio_add_net() in rio_scan_alloc_net()
core-osv · Original sourcePublished 1 Apr 2025, 15:41 UTC
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().
osv:CVE-2025-21935
Kernel
Fixed versions: 5.4.291, 5.10.235, 5.15.179, 6.1.131, 6.6.83, 6.12.19, 6.13.7
Complete source record
{
"id": "d01708f0267bb8d6afa51a1f4a5c7fdb685a35a45be79af3931f116a5262e1b9",
"url": "https://osv.dev/vulnerability/CVE-2025-21935",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "rapidio: add check for rio_add_net() in rio_scan_alloc_net()",
"summary": "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().",
"evidence": "osv:CVE-2025-21935",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.291",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.235",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.179",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.131",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.83",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.19",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-21935",
"aliases": [
"CVE-2025-21935"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e6b585ca6e81badeb3d42db3cc408174f2826034"
},
{
"fixed": "6d22953c4a183d0b7fdf34d68c5debd16da6edc5"
},
{
"fixed": "4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7"
},
{
"fixed": "181d4daaefb3bceeb2f2635ba9f3781eeda9e550"
},
{
"fixed": "ad82be4298a89a9ae46f07128bdf3d8614bce745"
},
{
"fixed": "e6411c3b9512dba09af7d014d474516828c89706"
},
{
"fixed": "c332f3e2df0fcae5a45fd55cc18902fb1e4825ca"
},
{
"fixed": "a0d069ccc475abaaa79c6368ee27fc0b5912bea8"
},
{
"fixed": "e842f9a1edf306bf36fe2a4d847a0b0d458770de"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21935.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.6.0"
},
{
"fixed": "5.4.291"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.235"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.179"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.131"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.83"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.19"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21935.json"
}
}
],
"modified": "2026-10-28T02:30:28.206550300Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/181d4daaefb3bceeb2f2635ba9f3781eeda9e550",
"https://git.kernel.org/stable/c/4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7",
"https://git.kernel.org/stable/c/6d22953c4a183d0b7fdf34d68c5debd16da6edc5",
"https://git.kernel.org/stable/c/a0d069ccc475abaaa79c6368ee27fc0b5912bea8",
"https://git.kernel.org/stable/c/ad82be4298a89a9ae46f07128bdf3d8614bce745",
"https://git.kernel.org/stable/c/c332f3e2df0fcae5a45fd55cc18902fb1e4825ca",
"https://git.kernel.org/stable/c/e6411c3b9512dba09af7d014d474516828c89706",
"https://git.kernel.org/stable/c/e842f9a1edf306bf36fe2a4d847a0b0d458770de",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21935.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21935",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21935.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21935",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 494609,
"published_at": "2025-04-01T15:41:03.335+00:00"
}