Linux
sctp: close UDP tunnel sockets during netns teardown
In the Linux kernel, the following vulnerability has been resolved: sctp: close UDP tunnel sockets during netns teardown proc_sctp_do_udp_port() starts per-net SCTP UDP tunneling sockets when net.sctp.udp_port is set, and stops/restarts them when the sysctl value changes. The netns exit path does not stop these sockets, so a namespace can be torn down while its SCTP UDP tunnel sockets are still installed. Close the UDP tunnel sockets from sctp_ctrlsock_exit() after unregistering the per-net sysctl table. This prevents new sysctl writes from racing in while the sockets are being released, and closes the sockets before the control socket is destroyed.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 046c052b475e7119b6a30e3483e2888fc606a2f8, < c29affd44e6769e3073235d4b471d9b501fa8166
- >= 046c052b475e7119b6a30e3483e2888fc606a2f8, < c6eb2d615210b80339548ab07c0230edaab9a6c7
- >= 046c052b475e7119b6a30e3483e2888fc606a2f8, < 8ff78591d309c50a4fdab683b68dd8d512a270dd
- >= 046c052b475e7119b6a30e3483e2888fc606a2f8, < 3bf0e349cbb4f975f35eb22753acc346b89c66a0
- >= 046c052b475e7119b6a30e3483e2888fc606a2f8, < 37ff9794be48d0caa37687e04d09675f9c849121
- >= 046c052b475e7119b6a30e3483e2888fc606a2f8, < ffb2bd7ade36ec4da32c46a6eddbf4515316d08c
Fixed in c29affd44e6769e3073235d4b471d9b501fa8166, c6eb2d615210b80339548ab07c0230edaab9a6c7, 8ff78591d309c50a4fdab683b68dd8d512a270dd, 3bf0e349cbb4f975f35eb22753acc346b89c66a0, 37ff9794be48d0caa37687e04d09675f9c849121, ffb2bd7ade36ec4da32c46a6eddbf4515316d08c
- 5.11
Fixed in 0, 6.1.189, 6.6.151, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to c29affd44e6769e3073235d4b471d9b501fa8166 or c6eb2d615210b80339548ab07c0230edaab9a6c7 or 8ff78591d309c50a4fdab683b68dd8d512a270dd or 3bf0e349cbb4f975f35eb22753acc346b89c66a0 or 37ff9794be48d0caa37687e04d09675f9c849121 or ffb2bd7ade36ec4da32c46a6eddbf4515316d08c or later.
Upgrade Linux to 0 or 6.1.189 or 6.6.151 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.