Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64CE23A1A27 for ; Sun, 19 Jul 2026 15:01:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473312; cv=none; b=RundwGPQOX0Zh9cMK6T/26x5GNKaRnJrt5m6K8ma238wS/tN/IkvgmQW0kCsN7Fz/lZVJJRf29byhyMSv0A8S0nb7UPhbSx/Q4wu6H/Iv+WlGjIQxJ+ILcX6XqfGUV0DI/5dURkqMJp8++Ke62azpFAEHhUqsn/C6anNPbBlJNQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473312; c=relaxed/simple; bh=5YyMu0DVjv/Faft4LVH58Ivbd9n+JrIUxiyJ/es+AoM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=efLxnojZaeMqR4uZkwUePaJUzsvU1S++GFlAk6cUgCxfDNKMghQ9Z0qn3YHoyGfzWNbRRWuQVhBqgG1HJlKhxQ8PI3oMsDJsbgex0Uaz+8ev5qJjBIa4cC9al979nd+JKoQObdL5RGdv40Du1wkB4V1sn7dQ/+oRiqebds45xCc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0EDQ11qT; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0EDQ11qT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C97BD1F00A3D; Sun, 19 Jul 2026 15:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473311; bh=+AHImBqigJ3CJ1AmpjBE5yCfar4I3wGUDZEZPCsCRkA=; h=From:To:Cc:Subject:Date:Reply-To; b=0EDQ11qTDtnYqnocMt2b+gMPq6FlCfZDcyNymQexTaSb4sjHCtQjc0Qb0PY55WXXi gPHQwoisgwELq4pPf4RPOAAi9en4XikIbUJd6MPg2Tw/rPtrk/XOLMipXV6pcuoyij +7y4ggwuHQW93i024ojWWJ8Sl74812WycFSizKBA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63971: sctp: fix race between sctp_wait_for_connect and peeloff Date: Sun, 19 Jul 2026 16:57:11 +0200 Message-ID: <2026071959-CVE-2026-63971-dd46@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3760; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R51Q0WqBSCPxbQlzGJP9ASVE5mDeiEm12lUkmKFnO60=; b=kA0DAAIRMUfUDdst+ykByyZiAGpc5YChwVDv600Jjf7971dhvtWxL/x2lmOgo1GFUhw/FFc7j 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmpc5YAACgkQMUfUDdst+ymkXwCgyIs+ +K11GhdhQOQqBDVVm+DLM7AAn0legDtC5s/ZxWlMEXXRG+7U4Qu+ X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-63971 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 5.10.259 with commit 0e0d5bc76fd4267a71334fcc8f1a5fbcf997845d Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 5.15.210 with commit bcfeac79af740735ace44008b4a11b8e5add20f5 Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 6.1.176 with commit 8e9b56051d24540cfbf39194618708c4a7633549 Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 6.6.143 with commit 634a9af8a26a84d8b0d7b3b643204b344b42d9fb Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 6.12.93 with commit 7d2038d4b80166f7bead8d07eba3b97405816c21 Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 6.18.35 with commit 68667ee4c7dadf7f63167234e2a1af09b3f7874e Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 7.0.12 with commit 6140cfa721451fa6e18e134e709703c2bf34d0fb Issue introduced in 4.16 with commit 668c9beb9020d5834ee9e43c208190a07d2b1928 and fixed in 7.1 with commit f14fe6395a8b3d961a61e138ad7b36ba3626dd4e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-63971 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/sctp/socket.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/0e0d5bc76fd4267a71334fcc8f1a5fbcf997845d https://git.kernel.org/stable/c/bcfeac79af740735ace44008b4a11b8e5add20f5 https://git.kernel.org/stable/c/8e9b56051d24540cfbf39194618708c4a7633549 https://git.kernel.org/stable/c/634a9af8a26a84d8b0d7b3b643204b344b42d9fb https://git.kernel.org/stable/c/7d2038d4b80166f7bead8d07eba3b97405816c21 https://git.kernel.org/stable/c/68667ee4c7dadf7f63167234e2a1af09b3f7874e https://git.kernel.org/stable/c/6140cfa721451fa6e18e134e709703c2bf34d0fb https://git.kernel.org/stable/c/f14fe6395a8b3d961a61e138ad7b36ba3626dd4e