{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21934","id":"CVE-2025-21934","title":"rapidio: fix an API misues when rio_add_net() fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: fix an API misues when rio_add_net() fails\n\nrio_add_net() calls device_register() and fails when device_register()\nfails.  Thus, put_device() should be used rather than kfree().  Add\n\"mport->net = NULL;\" to avoid a use after free issue.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: fix an API misues when rio_add_net() fails\n\nrio_add_net() calls device_register() and fails when device_register()\nfails.  Thus, put_device() should be used rather than kfree().  Add\n\"mport->net = NULL;\" to avoid a use after free issue.","published":"2025-04-01T15:41:02.804Z","updated":"2026-10-28T02:30:55.304054438Z","reserved":"2024-12-29T08:45:45.789Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"d4ec862ce80f64db923a1d942b5d11cf6fc87d36","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"88ddad53e4cfb6de861c6d4fb7b25427f46baed5","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"cdd9f58f7fe41a55fae4305ea51fc234769fd466","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"a5f5e520e8fbc6294020ff8afa36f684d92c6e6a","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"2537f01d57f08c527e40bbb5862aa6ff43344898","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"22e4977141dfc6d109bf29b495bf2187b4250990","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"f0aa4ee1cbbf7789907e5a3f6810de01c146c211","status":"affected","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","lessThan":"b2ef51c74b0171fde7eb69b6152d3d2f743ef269","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.6","status":"affected"},{"version":"0","lessThan":"4.6","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.131","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.83","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.19","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.7","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d4ec862ce80f64db923a1d942b5d11cf6fc87d36","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/88ddad53e4cfb6de861c6d4fb7b25427f46baed5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cdd9f58f7fe41a55fae4305ea51fc234769fd466","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a5f5e520e8fbc6294020ff8afa36f684d92c6e6a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2537f01d57f08c527e40bbb5862aa6ff43344898","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/22e4977141dfc6d109bf29b495bf2187b4250990","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f0aa4ee1cbbf7789907e5a3f6810de01c146c211","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b2ef51c74b0171fde7eb69b6152d3d2f743ef269","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21934.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21934","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00246,"epssPercentile":0.16063,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21934","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21934","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21934","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21934","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}