{"id":"CVE-2026-72447","aliases":["CVE-2026-72447"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: hold socket lock when dumping endpoints in sctp_diag","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: hold socket lock when dumping endpoints in sctp_diag\n\nSCTP_DIAG endpoint dumping was traversing endpoint address lists without\nholding lock_sock(), while those lists could change concurrently via\nsocket operations (e.g., bindx changes). This creates a race where\nnla_reserve() counts addresses under RCU protection, but the subsequent\ncopy may see fewer entries, potentially leaking uninitialized memory to\nuserspace.\n\nFix this by:\n\n- Taking a reference on each endpoint during hash traversal\n- Moving socket operations (lock_sock()) outside read_lock_bh()\n- Serializing address list access during dump\n- Reworking sctp_for_each_endpoint() to support restart-based traversal\n  with (net, pos) tracking\n\nAlso:\n\n- Add WARN_ON_ONCE() for inconsistent address counts\n- Fix idiag_states filtering for LISTEN vs association cases\n- Skip dumping endpoints being freed (ep->base.dead)\n- Move dump position tracking into iterator, removing cb->args[4] and\n  its comment for sctp_ep_dump().,\n- Update the comment for cb->args[4] and remove the comment for unused\n  cb->args[5] for sctp_sock_dump().\n\nNote: traversal is restart-based and may re-scan buckets multiple times,\nbut this is acceptable due to small bucket sizes and required to support\nsleeping-safe callbacks.\n\nThis issue was reported by Nico Yip (@_cyeaa_) working with TrendAI Zero\nDay Initiative.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: hold socket lock when dumping endpoints in sctp_diag\n\nSCTP_DIAG endpoint dumping was traversing endpoint address lists without\nholding lock_sock(), while those lists could change concurrently via\nsocket operations (e.g., bindx changes). This creates a race where\nnla_reserve() counts addresses under RCU protection, but the subsequent\ncopy may see fewer entries, potentially leaking uninitialized memory to\nuserspace.\n\nFix this by:\n\n- Taking a reference on each endpoint during hash traversal\n- Moving socket operations (lock_sock()) outside read_lock_bh()\n- Serializing address list access during dump\n- Reworking sctp_for_each_endpoint() to support restart-based traversal\n  with (net, pos) tracking\n\nAlso:\n\n- Add WARN_ON_ONCE() for inconsistent address counts\n- Fix idiag_states filtering for LISTEN vs association cases\n- Skip dumping endpoints being freed (ep->base.dead)\n- Move dump position tracking into iterator, removing cb->args[4] and\n  its comment for sctp_ep_dump().,\n- Update the comment for cb->args[4] and remove the comment for unused\n  cb->args[5] for sctp_sock_dump().\n\nNote: traversal is restart-based and may re-scan buckets multiple times,\nbut this is acceptable due to small bucket sizes and required to support\nsleeping-safe callbacks.\n\nThis issue was reported by Nico Yip (@_cyeaa_) working with TrendAI Zero\nDay Initiative.","source":"cvelist"}],"published":"2026-08-15T05:56:57.089Z","modified":"2026-11-06T17:19:44.627Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"f98c294a9369b6fe89e652c06357ee594be4dfa2","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"8b38e3dcfde3077dbc03eb8ef88e03cc19f70b8a","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"ec3c2d59a192e17e1014ba71afc368ba162ecac3","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"722576aba0a6d9423714550b1c03239b0f0def77","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"abe7f8828e6ac8be858870c2bf836258844f97d5","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"207bb4ce8fe7de961ae7bb33569ad2cd61f44954","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"f09a245f33e567b604efa1960b7a2d25dd9c8713","status":"affected"},{"type":"git","introduced":"8f840e47f190cbe61a96945c13e9551048d42cef","fixed":"7d8297e26b4e20b5d1c3c3fe51fe81a1c7fbc823","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f98c294a9369b6fe89e652c06357ee594be4dfa2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b38e3dcfde3077dbc03eb8ef88e03cc19f70b8a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec3c2d59a192e17e1014ba71afc368ba162ecac3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/722576aba0a6d9423714550b1c03239b0f0def77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abe7f8828e6ac8be858870c2bf836258844f97d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/207bb4ce8fe7de961ae7bb33569ad2cd61f44954","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f09a245f33e567b604efa1960b7a2d25dd9c8713","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d8297e26b4e20b5d1c3c3fe51fe81a1c7fbc823","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:55:33.287Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72447","url":"https://www.cve.org/CVERecord?id=CVE-2026-72447","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:42.860Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72447","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72447","licence":"Public domain","modified":"2026-11-06T17:19:44.627Z"}],"updatedAt":"2026-11-25T22:59:33.125Z","epss":{"score":0.00221,"percentile":0.13461,"date":"2026-12-01T12:00:22.000Z"}}