CVE-2025-21635: Linux kernel · rds: sysctl: rds_tcp_{rcv,snd}buf: avoid using current->nsproxy
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 14:18 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 5.5 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 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 30 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to avoid using current->nsproxy in the rds_tcp_{rcv,snd}buf sysctl code. Users should update to the fixed Linux kernel version once available. Since this is a kernel-level issue, applying the official kernel update is the recommended mitigation.
Description
CVE-2025-21635 is a medium severity vulnerability in the Linux kernel related to the rds_tcp_{rcv,snd}buf sysctl interface. It involves improper use of the current->nsproxy pointer, which can be NULL in some cases, leading to a null pointer dereference and kernel crash (Oops). The issue arises because using the 'net' structure via 'current' is inconsistent and unsafe, especially when the current task is exiting. The vulnerability has been resolved by avoiding the use of current->nsproxy and instead obtaining the per-netns structure from the table data.
References
- git.kernel.org/stable/c/6f353c2230c199f343406c08482940ec5d8ba89c (opens in a new tab)
- git.kernel.org/stable/c/33b3e09a489a31b30342b77cc55290f025d95c7e (opens in a new tab)
- git.kernel.org/stable/c/de8d6de0ee27be4b2b1e5b06f04aeacbabbba492 (opens in a new tab)
- git.kernel.org/stable/c/7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c (opens in a new tab)