CVE-2025-21636
sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy
Reported by linux · Published January 19, 2025
In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: plpmtud_probe_interval: 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 'net' structure can be obtained from the table->data using container_of(). Note that table->data could also be used directly, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.probe_interval' is used.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf | Amazon Linux | 6.1.127-135.201.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.127-135.201.amzn2023 |
| Linux | Linux | 5.14, 44ee8635922b6eb940faddb961a8347c6857d722 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d1e462a7a5f359cbb9a0e8fbfafcfb6657034105, d1e462a7a5f359cbb9a0e8fbfafcfb6657034105, d1e462a7a5f359cbb9a0e8fbfafcfb6657034105 |
| Linux | Linux | 5.14, 0, 5.15.177 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 0, 5.15.177, * |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 5.14, 5.14, 5.14 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.127-135.201 | 0 |
| amazon:2023 | kernel | 0 |
Timeline
- Jan 19, 2025 CVE Published
- Jan 20, 2025 EPSS Score (30 in total, the first dated here)
- Jan 27, 2025 Coalition ESS Score (14 in total, the first dated here)
- Dec 22, 2025 Security Advisory (135 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (129 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-21636
vulnetix vdb fixes CVE-2025-21636
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-21636/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart