VDB

CVE-2025-21637

CVE-2025-21637 PUBLISHED CVSS 7.1 HIGH

sctp: sysctl: udp_port: avoid using current->nsproxy

Reported by linux · Published January 19, 2025

In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: udp_port: 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, but that would increase the size of this fix, while 'sctp.ctl_sock' still needs to be retrieved from 'net' structure.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux6.1.127-135.201.amzn2023
kernelAmazon Linux6.1.127-135.201.amzn2023
python3-perfAmazon Linux6.1.127-135.201.amzn2023
kernel-toolsAmazon Linux6.1.127-135.201.amzn2023
bpftoolAmazon Linux6.1.127-135.201.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.127-135.201.amzn2023
kernel-headersAmazon Linux6.1.127-135.201.amzn2023
kernel-modules-extraAmazon Linux6.1.127-135.201.amzn2023
kernel-libbpf-staticAmazon Linux6.1.127-135.201.amzn2023
kernel-livepatch-6.1.127-135.201Amazon Linux1.0-0.amzn2023
kernel-develAmazon Linux6.1.127-135.201.amzn2023
perfAmazon Linux6.1.127-135.201.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux046c052b475e7119b6a30e3483e2888fc606a2f8, 046c052b475e7119b6a30e3483e2888fc606a2f8, 046c052b475e7119b6a30e3483e2888fc606a2f8
LinuxLinux5.11, 0, 5.15.177
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
linuxlinux_kernel5.11, 5.11, 5.11
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-livepatch-6.1.127-135.2010
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-libbpf0
LinuxLinux6.13, 046c052b475e7119b6a30e3483e2888fc606a2f8, 046c052b475e7119b6a30e3483e2888fc606a2f8
amazon:2023kernel-libbpf-devel0

Timeline

  • Jan 19, 2025 CVE Published
  • Jan 20, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 27, 2025 Coalition ESS Score (12 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-21637
vulnetix vdb fixes CVE-2025-21637

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-21637/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›