CVE-2025-21635
rds: sysctl: rds_tcp_{rcv,snd}buf: avoid using current->nsproxy
Reported by linux · Published January 19, 2025
In the Linux kernel, the following vulnerability has been resolved: rds: sysctl: rds_tcp_{rcv,snd}buf: avoid using current->nsproxy As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons: - Inconsistency: getting info from the reader's/writer's netns vs only from the opener's netns. - current->nsproxy can be NULL in some cases, resulting in an 'Oops' (null-ptr-deref), e.g. when the current task is exiting, as spotted by syzbot [1] using acct(2). The per-netns structure can be obtained from the table->data using container_of(), then the 'net' one can be retrieved from the listen socket (if available).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c6a58ffed53612be86b758df1cdb0b0f4305e9cb, c6a58ffed53612be86b758df1cdb0b0f4305e9cb, c6a58ffed53612be86b758df1cdb0b0f4305e9cb |
| Linux | Linux | 4.6, 0, 6.1.191 |
| linux | linux_kernel | 4.6, 4.6, 4.6 |
| Linux | Linux | *, *, * |
Timeline
- Jan 19, 2025 CVE Published
- Jan 20, 2025 EPSS Score (30 in total, the first dated here)
- Feb 7, 2025 Coalition ESS Score (9 in total, the first dated here)
- Dec 22, 2025 Security Advisory (94 in total, the first dated here)
- Sep 24, 2026 Distribution Patch (88 in total, the first dated here)
- Nov 9, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21635
vulnetix vdb fixes CVE-2025-21635
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-21635/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart