VDB

CVE-2025-21935

CVE-2025-21935 PUBLISHED

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

Reported by linux · Published April 1, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.14, 6.13.7, 6.12.19, 6.6.83, 6.1.131, 5.15.179, 5.10.235, 5.4.291
LinuxLinuxe842f9a1edf306bf36fe2a4d847a0b0d458770de

Affected products

VendorProductVersions
LinuxLinuxe6b585ca6e81badeb3d42db3cc408174f2826034, e6b585ca6e81badeb3d42db3cc408174f2826034, e6b585ca6e81badeb3d42db3cc408174f2826034
LinuxLinux4.6, 0, 5.4.291
linuxlinux_kernel4.6, 4.6, 4.6
LinuxLinux*, *, *

Timeline

  • Apr 1, 2025 Coalition ESS Score (26 in total, the first dated here)
  • Apr 1, 2025 CVE Published
  • Apr 2, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (264 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (238 in total, the first dated here)
  • Nov 2, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21935
vulnetix vdb fixes CVE-2025-21935

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21935/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›