# CVE-2026-63971: sctp: fix race between sctp_wait_for_connect and peeloff

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:57.792Z
- Modified: 2026-10-19T21:17:14.660Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 0e0d5bc76fd4267a71334fcc8f1a5fbcf997845d; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before bcfeac79af740735ace44008b4a11b8e5add20f5; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 8e9b56051d24540cfbf39194618708c4a7633549; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 634a9af8a26a84d8b0d7b3b643204b344b42d9fb; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 7d2038d4b80166f7bead8d07eba3b97405816c21; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 68667ee4c7dadf7f63167234e2a1af09b3f7874e; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 6140cfa721451fa6e18e134e709703c2bf34d0fb; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before f14fe6395a8b3d961a61e138ad7b36ba3626dd4e; 4.16 (not affected: before 4.16; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.16 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/0e0d5bc76fd4267a71334fcc8f1a5fbcf997845d> (patch)
- <https://git.kernel.org/stable/c/bcfeac79af740735ace44008b4a11b8e5add20f5> (patch)
- <https://git.kernel.org/stable/c/8e9b56051d24540cfbf39194618708c4a7633549> (patch)
- <https://git.kernel.org/stable/c/634a9af8a26a84d8b0d7b3b643204b344b42d9fb> (patch)
- <https://git.kernel.org/stable/c/7d2038d4b80166f7bead8d07eba3b97405816c21> (patch)
- <https://git.kernel.org/stable/c/68667ee4c7dadf7f63167234e2a1af09b3f7874e> (patch)
- <https://git.kernel.org/stable/c/6140cfa721451fa6e18e134e709703c2bf34d0fb> (patch)
- <https://git.kernel.org/stable/c/f14fe6395a8b3d961a61e138ad7b36ba3626dd4e> (patch)

## Sources

- CVE List: [CVE-2026-63971](https://www.cve.org/CVERecord?id=CVE-2026-63971), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63971](https://nvd.nist.gov/vuln/detail/CVE-2026-63971), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-63971 · Whole record: https://cve.day/CVE-2026-63971.json · Rebuilt by cve.day 2026-11-25T22:59:28.878Z
