sctp: diag: reject stale associations in dump_one path
Summary
| CVE | CVE-2026-52917 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 08:16:21 UTC |
| Updated | 2026-07-08 15:12:41 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS: 0.001260000 probability, percentile 0.026310000 (date 2026-07-09)
Problem Types: CWE-125
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef 6657af827e21883ae90693e42e7f59a6aab690b5 git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef b2be72d401833194917e44fbd8d8144bb4f2db16 git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef 5425de8bd6e9fe5bd67d158e3348171ae7510117 git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef e97c2a535e23ed0fdd2660993fb3f10d9535c9bc git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef 480f754580b5686b928977d16a59f20cef83ff01 git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef 78c4f964b2f94e405721c093773f6250e1e676b2 git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef f5af203dec6e0e7a6090fcc2130e9f3901bfc84d git | Not specified |
| CNA | Linux | Linux | affected 8f840e47f190cbe61a96945c13e9551048d42cef 5eba3e48d78edd7551b992cb7ba687019b3a78da git | Not specified |
| CNA | Linux | Linux | affected 4.7 | Not specified |
| CNA | Linux | Linux | unaffected 4.7 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.94 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.36 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.13 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/78c4f964b2f94e405721c093773f6250e1e676b2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5eba3e48d78edd7551b992cb7ba687019b3a78da | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f5af203dec6e0e7a6090fcc2130e9f3901bfc84d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/480f754580b5686b928977d16a59f20cef83ff01 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6657af827e21883ae90693e42e7f59a6aab690b5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5425de8bd6e9fe5bd67d158e3348171ae7510117 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b2be72d401833194917e44fbd8d8144bb4f2db16 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e97c2a535e23ed0fdd2660993fb3f10d9535c9bc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.