CVE-2025-21638sctp: sysctl: auth_enable: avoid using current->nsproxy
- 7.1HighCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: auth_enable: 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.
Timeline
ID reserved
By Linux
- 21 days later
· 21 days later
Published
- 21 months later
· 21 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < cf387cdebfaebae228dfba162f94c567a67610c3
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < dc583e7e5f8515ca489c0df28e4362a70eade382
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < bd2a2939423566c654545fa3e96a656662a0af9e
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < 1b67030d39f2b00f94ac1f0af11ba6657589e4d3
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < 7ec30c54f339c640aa7e49d7e9f7bbed6bd42bf6
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < c184bc621e3cef03ac9ba81a50dda2dae6a21d36
- affected b14878ccb7fac0242db82720b784ab62c467c0dc – < 15649fd5415eda664ef35780c2013adeb5d9c695
- affected e5eae4a0511241959498b180fa0df0d4f1b11b9c
- affected 88830f227a1f96e44d82ddfcb0cc81d517ec6dd8
- affected 3938b0336a93fa5faa242dc9e5823ac69df9e066
- affected 3.10.41 – < 3.11
- affected 3.12.21 – < 3.13
- affected 3.14.5 – < 3.15
- affected 3.15
- unaffected < 3.15
- unaffected 5.4.292 – ≤ 5.4.*
- unaffected 5.10.234 – ≤ 5.10.*
- unaffected 5.15.177 – ≤ 5.15.*
- unaffected 6.1.125 – ≤ 6.1.*
- unaffected 6.6.72 – ≤ 6.6.*
- unaffected 6.12.10 – ≤ 6.12.*
- unaffected 6.13 – ≤ *
References
References10
- https://git.kernel.org/stable/c/cf387cdebfaebae228dfba162f94c567a67610c3 (opens in a new tab)
- https://git.kernel.org/stable/c/dc583e7e5f8515ca489c0df28e4362a70eade382 (opens in a new tab)
- https://git.kernel.org/stable/c/bd2a2939423566c654545fa3e96a656662a0af9e (opens in a new tab)
- https://git.kernel.org/stable/c/1b67030d39f2b00f94ac1f0af11ba6657589e4d3 (opens in a new tab)
- https://git.kernel.org/stable/c/7ec30c54f339c640aa7e49d7e9f7bbed6bd42bf6 (opens in a new tab)
- https://git.kernel.org/stable/c/c184bc621e3cef03ac9ba81a50dda2dae6a21d36 (opens in a new tab)
- https://git.kernel.org/stable/c/15649fd5415eda664ef35780c2013adeb5d9c695 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-2587 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21638)Record last updated .