Bug 2502331 (CVE-2026-63971) - CVE-2026-63971 kernel: sctp: fix race between sctp_wait_for_connect and peeloff
Summary: CVE-2026-63971 kernel: sctp: fix race between sctp_wait_for_connect and peeloff
Keywords:
Status: NEW
Alias: CVE-2026-63971
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 16:02 UTC by OSIDB Bzimport
Modified: 2026-09-10 05:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:66324 0 None None None 2026-09-10 05:18:39 UTC
Red Hat Product Errata RHSA-2026:66325 0 None None None 2026-09-10 05:39:59 UTC

Description OSIDB Bzimport 2026-07-19 16:02:21 UTC
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.

Comment 3 errata-xmlrpc 2026-09-10 05:18:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:66324 https://access.redhat.com/errata/RHSA-2026:66324

Comment 4 errata-xmlrpc 2026-09-10 05:39:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:66325 https://access.redhat.com/errata/RHSA-2026:66325


Note You need to log in before you can comment on or make changes to this bug.