{"id":"CVE-2025-21637","summary":"sctp: sysctl: udp_port: avoid using current-\u003ensproxy","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: sysctl: udp_port: avoid using current-\u003ensproxy\n\nAs mentioned in a previous commit of this series, using the 'net'\nstructure via 'current' is not recommended for different reasons:\n\n- Inconsistency: getting info from the reader's/writer's netns vs only\n  from the opener's netns.\n\n- current-\u003ensproxy can be NULL in some cases, resulting in an 'Oops'\n  (null-ptr-deref), e.g. when the current task is exiting, as spotted by\n  syzbot [1] using acct(2).\n\nThe 'net' structure can be obtained from the table-\u003edata using\ncontainer_of().\n\nNote that table-\u003edata could also be used directly, but that would\nincrease the size of this fix, while 'sctp.ctl_sock' still needs to be\nretrieved from 'net' structure.","modified":"2026-04-16T04:38:05.623437670Z","published":"2025-01-19T10:17:55.321Z","related":["SUSE-SU-2025:0784-1","SUSE-SU-2025:0847-1","SUSE-SU-2025:0856-1","SUSE-SU-2025:0955-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7379-2","USN-7380-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21637.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a0966312ac3eedd7f5f2a766ed4702df39a9a65"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55627918febdf9d71107a1e68d1528dc591c9a15"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b77d73f3be5102720fb685b9e6900e3500e1096"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c10377bbc1972d858eaf0ab366a311b39f8ef1b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e919197fb8616331f5dc81e4c3cc3d12769cb725"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21637.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21637"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"046c052b475e7119b6a30e3483e2888fc606a2f8"},{"fixed":"0a0966312ac3eedd7f5f2a766ed4702df39a9a65"},{"fixed":"e919197fb8616331f5dc81e4c3cc3d12769cb725"},{"fixed":"55627918febdf9d71107a1e68d1528dc591c9a15"},{"fixed":"5b77d73f3be5102720fb685b9e6900e3500e1096"},{"fixed":"c10377bbc1972d858eaf0ab366a311b39f8ef1b6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21637.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}