CVE-2025-21934

HighCVSS 7.8/10Last modified Jun 17, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

rapidio: fix an API misues when rio_add_net() fails

rio_add_net() calls device_register() and fails when device_register() fails. Thus, put_device() should be used rather than kfree(). Add "mport->net = NULL;" to avoid a use after free issue.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= e8de370188d098bb49483c287b44925957c3c9b6, < d4ec862ce80f64db923a1d942b5d11cf6fc87d36; >= e8de370188d098bb49483c287b44925957c3c9b6, < 88ddad53e4cfb6de861c6d4fb7b25427f46baed5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cdd9f58f7fe41a55fae4305ea51fc234769fd466; >= e8de370188d098bb49483c287b44925957c3c9b6, < a5f5e520e8fbc6294020ff8afa36f684d92c6e6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2537f01d57f08c527e40bbb5862aa6ff43344898; >= e8de370188d098bb49483c287b44925957c3c9b6, < 22e4977141dfc6d109bf29b495bf2187b4250990; >= e8de370188d098bb49483c287b44925957c3c9b6, < f0aa4ee1cbbf7789907e5a3f6810de01c146c211; >= e8de370188d098bb49483c287b44925957c3c9b6, < b2ef51c74b0171fde7eb69b6152d3d2f743ef269
LinuxLinux4.6

References

Timeline

Published
Apr 1, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-219355.5In the Linux kernel, the following vulnerability has been resolved: rapidio: add check for rio_add_net() in rio_scan_alloc_net() The returCVE-2025-219365.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected() ACVE-2025-219375.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name() Add chCVE-2025-219384.7In the Linux kernel, the following vulnerability has been resolved: mptcp: fix 'scheduling while atomic' in mptcp_pm_nl_append_new_local_adCVE-2025-219395.5In the Linux kernel, the following vulnerability has been resolved: drm/xe/hmm: Don't dereference struct page pointers without notifier locCVE-2025-21946.1A vulnerability was found in MRCMS 3.1.2 and classified as problematic. This issue affects the function list of the file /admin/file/list.doCVE-2025-219405.5In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix NULL Pointer Dereference in KFD queue Through KFD IOCTCVE-2025-219415.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_bCVE-2025-219425.5In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix extent range end unlock in cow_file_range() Running CVE-2025-219434.7In the Linux kernel, the following vulnerability has been resolved: gpio: aggregator: protect driver attr handlers against module unload BCVE-2025-219445.5In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix bug on trap in smb2_lock If lock count is greater than 1, fCVE-2025-219457.8In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value
CVE-2025-21934: High severity, CVSS 7.8 | Vulnix