CVE-2025-21805: Linux kernel · RDMA/rtrs: Add missing deinit() call
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 24 Nov 2026, 19:45 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that properly invokes the deinit() function to unregister the IB event handler, correcting the list corruption issue. Users should update to patched kernel versions that include this fix. Since this is a Linux kernel vulnerability, applying official kernel updates from the vendor or distribution is the recommended remediation.
Description
CVE-2025-21805 is a critical vulnerability in the Linux kernel's RDMA/rtrs subsystem caused by a missing deinit() call. This flaw leads to list corruption warnings when repeatedly connecting and disconnecting the rnbd, due to improper handling of IB event handler unregistration. The issue was introduced by a commit that added a new .deinit element but never invoked it. The vulnerability affects multiple specific Linux kernel versions and has a high CVSS score of 9.8.
References
- ubuntu.com/security/CVE-2025-21805 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21805 (opens in a new tab)
- git.kernel.org/linus/81468c4058a62e84e475433b83b3edc613294f5e (opens in a new tab)
- git.kernel.org/stable/c/1af2c769032b6b334cd2a867d7d8c7cbbc527b2d (opens in a new tab)
- git.kernel.org/stable/c/5a79cc9bc961fafe90787f86e8f53ba6fad8d63b (opens in a new tab)
- git.kernel.org/stable/c/81468c4058a62e84e475433b83b3edc613294f5e (opens in a new tab)