CVE-2026-52917
sctp: diag: reject stale associations in dump_one path
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.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 3:12 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest version.
- Ensure the kernel is patched to address the SCTP vulnerability.
- Verify association state after locking the socket.
- Reject stale associations before processing.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52917.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-52917 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-52917
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-52917 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52917 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.210 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.7 up to (excluding) 5.10.259 Added Reference Type kernel.org: https://git.kernel.org/stable/c/480f754580b5686b928977d16a59f20cef83ff01 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5425de8bd6e9fe5bd67d158e3348171ae7510117 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5eba3e48d78edd7551b992cb7ba687019b3a78da Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6657af827e21883ae90693e42e7f59a6aab690b5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/78c4f964b2f94e405721c093773f6250e1e676b2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b2be72d401833194917e44fbd8d8144bb4f2db16 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e97c2a535e23ed0fdd2660993fb3f10d9535c9bc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f5af203dec6e0e7a6090fcc2130e9f3901bfc84d Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '6657af827e21883ae90693e42e7f59a6aab690b5', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': 'b2be72d401833194917e44fbd8d8144bb4f2db16', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '5425de8bd6e9fe5bd67d158e3348171ae7510117', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': 'e97c2a535e23ed0fdd2660993fb3f10d9535c9bc', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '480f754580b5686b928977d16a59f20cef83ff01', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '78c4f964b2f94e405721c093773f6250e1e676b2', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': 'f5af203dec6e0e7a6090fcc2130e9f3901bfc84d', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '5eba3e48d78edd7551b992cb7ba687019b3a78da', 'versionType': 'git'}], 'programFiles': ['net/sctp/diag.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.210', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/sctp/diag.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/480f754580b5686b928977d16a59f20cef83ff01 Added Reference https://git.kernel.org/stable/c/5425de8bd6e9fe5bd67d158e3348171ae7510117 Added Reference https://git.kernel.org/stable/c/5eba3e48d78edd7551b992cb7ba687019b3a78da Added Reference https://git.kernel.org/stable/c/6657af827e21883ae90693e42e7f59a6aab690b5 Added Reference https://git.kernel.org/stable/c/78c4f964b2f94e405721c093773f6250e1e676b2 Added Reference https://git.kernel.org/stable/c/b2be72d401833194917e44fbd8d8144bb4f2db16 Added Reference https://git.kernel.org/stable/c/e97c2a535e23ed0fdd2660993fb3f10d9535c9bc Added Reference https://git.kernel.org/stable/c/f5af203dec6e0e7a6090fcc2130e9f3901bfc84d