CVE 7.1 HIGH

sctp: diag: reject stale associations in dump_one path_CVE-2026-52917

7.1 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

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.

Basic Information

ID CVE-2026-52917
Source Linux
Published Jun 24, 2026 at 07:14
Modified Jun 28, 2026 at 06:36

Affected Product

Vendor Linux
Product Linux
Version 8f840e47f190cbe61a96945c13e9551048d42cef
Affected Versions Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 8f840e47f190cbe61a96945c13e9551048d42cef
Linux Linux 4.7

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.