sctp: fix race between sctp_wait_for_connect and peeloff
Summary
| CVE | CVE-2026-63971 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:16 UTC |
| Updated | 2026-07-20 15:16:59 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: sctp: fix race between sctp_wait_for_connect and peeloff sctp_wait_for_connect() drops and re-acquires the socket lock while waiting for the association to reach ESTABLISHED state. During this window, another thread can peeloff the association to a new socket via getsockopt(SCTP_SOCKOPT_PEELOFF), changing asoc->base.sk. After re-acquiring the old socket lock, sctp_wait_for_connect() returns success without noticing the migration — the caller then accesses the association under the wrong lock in sctp_datamsg_from_user(). Add the same sk != asoc->base.sk check that sctp_wait_for_sndbuf() already has, returning an error if the association was migrated while we slept. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.002100000 probability, percentile 0.113630000 (date 2026-07-20)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 0e0d5bc76fd4267a71334fcc8f1a5fbcf997845d git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 bcfeac79af740735ace44008b4a11b8e5add20f5 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 8e9b56051d24540cfbf39194618708c4a7633549 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 634a9af8a26a84d8b0d7b3b643204b344b42d9fb git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 7d2038d4b80166f7bead8d07eba3b97405816c21 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 68667ee4c7dadf7f63167234e2a1af09b3f7874e git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 6140cfa721451fa6e18e134e709703c2bf34d0fb git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 f14fe6395a8b3d961a61e138ad7b36ba3626dd4e git | Not specified |
| CNA | Linux | Linux | affected 4.16 | Not specified |
| CNA | Linux | Linux | unaffected 4.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.93 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.35 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.12 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/bcfeac79af740735ace44008b4a11b8e5add20f5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7d2038d4b80166f7bead8d07eba3b97405816c21 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/68667ee4c7dadf7f63167234e2a1af09b3f7874e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8e9b56051d24540cfbf39194618708c4a7633549 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0e0d5bc76fd4267a71334fcc8f1a5fbcf997845d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f14fe6395a8b3d961a61e138ad7b36ba3626dd4e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/634a9af8a26a84d8b0d7b3b643204b344b42d9fb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6140cfa721451fa6e18e134e709703c2bf34d0fb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.