sctp: re-point retained control chunks on association migration
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 830e0073d514eb666f0b7b6529e5e286529e9acf, Kernel 3.19, Kernel 4.2 and 9 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d04adf1b355181e737b6b1e23d801b07f0b7c4c0 <830e0073d514eb666f0b7b6529e5e286529e9acf, >=3.18.82 <3.19, >=4.1.47 <4.2, >=4.13.14 <4.14, >=4.4.99 <4.5, >=4.9.63 <4.10, >=d04adf1b355181e737b6b1e23d801b07f0b7c4c0 <0cc0f5ed58904cd7c55770d5108dea7125d020ae, >=d04adf1b355181e737b6b1e23d801b07f0b7c4c0 <2070e2a2095c892900d90a6dd609433ce0ad05e4, >=d04adf1b355181e737b6b1e23d801b07f0b7c4c0 <52ffeaa358d1f3d91aa87a26ad90d77769cff74b, =4.14, =4b5bb7723da1da2198a5c80e47ecfceb88995ae3, =a796901e58ee4d6fc5e0f4c87845bf4b6c353680, =b3ddcc298910341a8e2919f84ef435b2f4e91a89, =b89fc6a5caff65f5276a3e3c796710c56a6c1641, =e9a09040718d4c7dcc932c2e9fbea33887df54e8 | 830e0073d514eb666f0b7b6529e5e286529e9acf, 3.19, 4.2, 4.14, 4.5, 4.10, 0cc0f5ed58904cd7c55770d5108dea7125d020ae, 2070e2a2095c892900d90a6dd609433ce0ad05e4, 52ffeaa358d1f3d91aa87a26ad90d77769cff74b |
| linux-kernel: Kernel | >=4.1.47 <4.2, >=4.13.14 <4.14, >=4.14.0 <6.12.118, >=4.4.99 <4.5, >=4.9.63 <4.10, >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=3.18.82 <3.19 | 4.2, 4.14, 6.12.118, 4.5, 4.10, 6.18.64, 7.3.5, 3.19 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket