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

Published Jul 19, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

sctp: fix race between sctpwaitforconnect and peeloff

sctpwaitforconnect() 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(SCTPSOCKOPTPEELOFF), changing asoc->base.sk. After re-acquiring the old socket lock, sctpwaitforconnect() returns success without noticing the migration — the caller then accesses the association under the wrong lock in sctpdatamsgfromuser().

Add the same sk != asoc->base.sk check that sctpwaitforsndbuf() already has, returning an error if the association was migrated while we slept.

Affected Software

13 affected components
Linux Linux kernel
Linux Linux kernel>=4.16<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.93
Linux Linux kernel>=6.13<6.18.35
Linux Linux kernel>=6.19<7.0.12
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In sctp_wait_for_connect(), after re-acquiring the socket lock, add the same sk != asoc->base.sk check used by sctp_wait_for_sndbuf(); return an error if the association was migrated via getsockopt(SCTP_SOCKOPT_PEELOFF).

Event History

Jul 19, 2026
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-63971?

The severity of CVE-2026-63971 is rated at 37.

2

What systems are affected by CVE-2026-63971?

CVE-2026-63971 affects the Linux kernel.

3

How do I fix CVE-2026-63971?

To fix CVE-2026-63971, it is recommended to update to the latest version of the Linux kernel that addresses this vulnerability.

4

What type of vulnerability is CVE-2026-63971?

CVE-2026-63971 is a race condition vulnerability in the SCTP implementation of the Linux kernel.

5

Can CVE-2026-63971 affect system stability?

Yes, CVE-2026-63971 can potentially affect system stability due to the race condition between sctp_wait_for_connect and peeloff.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203