Security mailing lists by PureSourceCode

CVE-2026-72447

not scored yet

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.

Published
15 Aug 2026
Last modified
6 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSON

References

History

  • 25 Nov 2026 21:04 UTC ยท NVD: first stored (published 15 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.