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 18D6D38D01E for ; Wed, 24 Jun 2026 07:16:01 +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=1782285363; cv=none; b=tBqJKDDojL8Gyoazt2CKHSP7TzwTbWyz4jG72ybxkF4jZmGrjO6qud5xZd3oPEnxPFTKuaRAxgGCHJ2gc7yW8tzrCKt4B3PKsnypmyH6Ysst3vA9+X8HEphhHbZgRoBSgAzHmNjA5bUu3+m86MLAbAq3GhNnIqmtePNLqLFkRZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285363; c=relaxed/simple; bh=VRbJs/Vo9m/NtpVgidT5fCnkI7tPpi7rBv9SJIxbWDk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kcEvLepKc+PfsKGaazpf9r85qDlFUXAWPgV5NpM2FPHd7rA2tzH1pwiHgubiD/f1GZIaF5Te49ryedpLphFFWwITx6DXdbptGB1082eO8ED+2UPim0kaqFQYYvkeBcdBTSZ7P59HtqB9XbSNdTPzRDOoB14VmjweuzKhJtpVELc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B02X8AIk; 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="B02X8AIk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26F3B1F000E9; Wed, 24 Jun 2026 07:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285361; bh=NXEjd5VnuvbXpaMDucHvNjYU+IWjIgmmEFsVGQP3h/4=; h=From:To:Cc:Subject:Date:Reply-To; b=B02X8AIk4M7mDfY9FYh3FoLFzVqWSVk/x6Rs++gM48E4O8nx1HzbzKkViC29TxUZO 7JohAYTSw1kZOyZHukeJ7S+sq0xcqDjCt6GAY2cOL/t6pG9XRWslTKW+bq/a7itgld yInccYTrOuLrsRh5/Anp1pD8rmyXmnmjP5AQLU6A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52917: sctp: diag: reject stale associations in dump_one path Date: Wed, 24 Jun 2026 09:13:32 +0200 Message-ID: <2026062429-CVE-2026-52917-d3b0@gregkh> X-Mailer: git-send-email 2.54.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=3881; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vxdCa5PjMgDV4GoRPnPyjP8kf9ZvJhmPNeqlXavURt4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzTP3KGue3n9j2/+WNKHUpVLf7m1fxGEaZP9E81dgd pq82ooPHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARvi6G+f5aL9lLDP7e+Ogw c2JqFE9gbnVNHsOC3UGzZ/E0bT2ZzeS4STT439cdj7yZAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: sctp: diag: reject stale associations in dump_one path The SCTP exact sock_diag lookup can hold a transport reference, block on lock_sock(sk), and then resume after sctp_association_free() has marked the association dead and freed its bind address list. When that happens, inet_assoc_attr_size() and inet_diag_msg_sctpasoc_fill() can still dereference association state that is no longer valid for reporting. In particular, inet_diag_msg_sctpasoc_fill() may read an empty bind-address list as a real sctp_sockaddr_entry and trigger an out-of-bounds read from unrelated association memory. Reject the association after taking the socket lock if it has been reaped or detached from the endpoint, and report the lookup as stale. This keeps the exact dump-one path from formatting torn association state. The Linux kernel CVE team has assigned CVE-2026-52917 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 5.10.259 with commit 6657af827e21883ae90693e42e7f59a6aab690b5 Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 5.15.210 with commit b2be72d401833194917e44fbd8d8144bb4f2db16 Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 6.1.176 with commit 5425de8bd6e9fe5bd67d158e3348171ae7510117 Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 6.6.143 with commit e97c2a535e23ed0fdd2660993fb3f10d9535c9bc Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 6.12.94 with commit 480f754580b5686b928977d16a59f20cef83ff01 Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 6.18.36 with commit 78c4f964b2f94e405721c093773f6250e1e676b2 Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 7.0.13 with commit f5af203dec6e0e7a6090fcc2130e9f3901bfc84d Issue introduced in 4.7 with commit 8f840e47f190cbe61a96945c13e9551048d42cef and fixed in 7.1 with commit 5eba3e48d78edd7551b992cb7ba687019b3a78da 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-52917 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/diag.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/6657af827e21883ae90693e42e7f59a6aab690b5 https://git.kernel.org/stable/c/b2be72d401833194917e44fbd8d8144bb4f2db16 https://git.kernel.org/stable/c/5425de8bd6e9fe5bd67d158e3348171ae7510117 https://git.kernel.org/stable/c/e97c2a535e23ed0fdd2660993fb3f10d9535c9bc https://git.kernel.org/stable/c/480f754580b5686b928977d16a59f20cef83ff01 https://git.kernel.org/stable/c/78c4f964b2f94e405721c093773f6250e1e676b2 https://git.kernel.org/stable/c/f5af203dec6e0e7a6090fcc2130e9f3901bfc84d https://git.kernel.org/stable/c/5eba3e48d78edd7551b992cb7ba687019b3a78da