CVE-2026-99582: sctp: re-point retained control chunks on association migration
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
sctp: re-point retained control chunks on association migration
sctp_sock_migrate() transfers DATA chunk ownership but leaves retained control chunks pointing at the old socket. A later retransmission can therefore access the socket after it has been freed.
Extend the migration walk to cover retained control chunks and use sctp_control_set_owner_w() to assign their new owner. Reuse the DATA ownership check so each chunk is processed once per pass, even when it is reachable through multiple lists or retained pointers.
Preserve a control chunk's existing authentication key across migration so its final release can still generate SCTP_AUTH_FREE_KEY when needed.
The Linux kernel CVE team has assigned CVE-2026-99582 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.14 with commit d04adf1b355181e737b6b1e23d801b07f0b7c4c0 and fixed in 6.12.118 with commit 830e0073d514eb666f0b7b6529e5e286529e9acf Issue introduced in 4.14 with commit d04adf1b355181e737b6b1e23d801b07f0b7c4c0 and fixed in 6.18.64 with commit 0cc0f5ed58904cd7c55770d5108dea7125d020ae Issue introduced in 4.14 with commit d04adf1b355181e737b6b1e23d801b07f0b7c4c0 and fixed in 7.3.5 with commit 2070e2a2095c892900d90a6dd609433ce0ad05e4 Issue introduced in 4.14 with commit d04adf1b355181e737b6b1e23d801b07f0b7c4c0 and fixed in 7.4-rc1 with commit 52ffeaa358d1f3d91aa87a26ad90d77769cff74b Issue introduced in 3.18.82 with commit e9a09040718d4c7dcc932c2e9fbea33887df54e8 Issue introduced in 4.1.47 with commit b3ddcc298910341a8e2919f84ef435b2f4e91a89 Issue introduced in 4.4.99 with commit 4b5bb7723da1da2198a5c80e47ecfceb88995ae3 Issue introduced in 4.9.63 with commit b89fc6a5caff65f5276a3e3c796710c56a6c1641 Issue introduced in 4.13.14 with commit a796901e58ee4d6fc5e0f4c87845bf4b6c353680
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99582
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
include/net/sctp/sm.h
net/sctp/sm_make_chunk.c
net/sctp/socket.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/830e0073d514eb666f0b7b6529e5e286529e9acf https://git.kernel.org/stable/c/0cc0f5ed58904cd7c55770d5108dea7125d020ae https://git.kernel.org/stable/c/2070e2a2095c892900d90a6dd609433ce0ad05e4 https://git.kernel.org/stable/c/52ffeaa358d1f3d91aa87a26ad90d77769cff74b