CVE-2026-72447
sctp: hold socket lock when dumping endpoints in sctp_diag
Description
In the Linux kernel, the following vulnerability has been resolved: sctp: hold socket lock when dumping endpoints in sctp_diag SCTP_DIAG endpoint dumping was traversing endpoint address lists without holding lock_sock(), while those lists could change concurrently via socket operations (e.g., bindx changes). This creates a race where nla_reserve() counts addresses under RCU protection, but the subsequent copy may see fewer entries, potentially leaking uninitialized memory to userspace. Fix this by: - Taking a reference on each endpoint during hash traversal - Moving socket operations (lock_sock()) outside read_lock_bh() - Serializing address list access during dump - Reworking sctp_for_each_endpoint() to support restart-based traversal with (net, pos) tracking Also: - Add WARN_ON_ONCE() for inconsistent address counts - Fix idiag_states filtering for LISTEN vs association cases - Skip dumping endpoints being freed (ep->base.dead) - Move dump position tracking into iterator, removing cb->args[4] and its comment for sctp_ep_dump()., - Update the comment for cb->args[4] and remove the comment for unused cb->args[5] for sctp_sock_dump(). Note: traversal is restart-based and may re-scan buckets multiple times, but this is acceptable due to small bucket sizes and required to support sleeping-safe callbacks. This issue was reported by Nico Yip (@_cyeaa_) working with TrendAI Zero Day Initiative.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 15, 2026, 6:22 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-72447
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Acquire socket lock before dumping SCTP endpoints.
- Take references on endpoints during hash traversal.
- Serialize address list access during dump operations.
- Update kernel to the latest secure version.
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-72447.
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-72447 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-72447
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-72447 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72447 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.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 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': 'f98c294a9369b6fe89e652c06357ee594be4dfa2', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '8b38e3dcfde3077dbc03eb8ef88e03cc19f70b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': 'ec3c2d59a192e17e1014ba71afc368ba162ecac3', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '722576aba0a6d9423714550b1c03239b0f0def77', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': 'abe7f8828e6ac8be858870c2bf836258844f97d5', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '207bb4ce8fe7de961ae7bb33569ad2cd61f44954', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': 'f09a245f33e567b604efa1960b7a2d25dd9c8713', 'versionType': 'git'}, {'status': 'affected', 'version': '8f840e47f190cbe61a96945c13e9551048d42cef', 'lessThan': '7d8297e26b4e20b5d1c3c3fe51fe81a1c7fbc823', 'versionType': 'git'}], 'programFiles': ['include/net/sctp/sctp.h', 'net/sctp/diag.c', 'net/sctp/socket.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.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/net/sctp/sctp.h', 'net/sctp/diag.c', 'net/sctp/socket.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: sctp: hold socket lock when dumping endpoints in sctp_diag SCTP_DIAG endpoint dumping was traversing endpoint address lists without holding lock_sock(), while those lists could change concurrently via socket operations (e.g., bindx changes). This creates a race where nla_reserve() counts addresses under RCU protection, but the subsequent copy may see fewer entries, potentially leaking uninitialized memory to userspace. Fix this by: - Taking a reference on each endpoint during hash traversal - Moving socket operations (lock_sock()) outside read_lock_bh() - Serializing address list access during dump - Reworking sctp_for_each_endpoint() to support restart-based traversal with (net, pos) tracking Also: - Add WARN_ON_ONCE() for inconsistent address counts - Fix idiag_states filtering for LISTEN vs association cases - Skip dumping endpoints being freed (ep->base.dead) - Move dump position tracking into iterator, removing cb->args[4] and its comment for sctp_ep_dump()., - Update the comment for cb->args[4] and remove the comment for unused cb->args[5] for sctp_sock_dump(). Note: traversal is restart-based and may re-scan buckets multiple times, but this is acceptable due to small bucket sizes and required to support sleeping-safe callbacks. This issue was reported by Nico Yip (@_cyeaa_) working with TrendAI Zero Day Initiative. Added Reference https://git.kernel.org/stable/c/207bb4ce8fe7de961ae7bb33569ad2cd61f44954 Added Reference https://git.kernel.org/stable/c/722576aba0a6d9423714550b1c03239b0f0def77 Added Reference https://git.kernel.org/stable/c/7d8297e26b4e20b5d1c3c3fe51fe81a1c7fbc823 Added Reference https://git.kernel.org/stable/c/8b38e3dcfde3077dbc03eb8ef88e03cc19f70b8a Added Reference https://git.kernel.org/stable/c/abe7f8828e6ac8be858870c2bf836258844f97d5 Added Reference https://git.kernel.org/stable/c/ec3c2d59a192e17e1014ba71afc368ba162ecac3 Added Reference https://git.kernel.org/stable/c/f09a245f33e567b604efa1960b7a2d25dd9c8713 Added Reference https://git.kernel.org/stable/c/f98c294a9369b6fe89e652c06357ee594be4dfa2