Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 046c052b475e7119b6a30e3483e2888fc606a2f8 before c29affd44e6769e3073235d4b471d9b501fa8166; affected 046c052b475e7119b6a30e3483e2888fc606a2f8 before c6eb2d615210b80339548ab07c0230edaab9a6c7; affected 046c052b475e7119b6a30e3483e2888fc606a2f8 before 8ff78591d309c50a4fdab683b68dd8d512a270dd; affected 046c052b475e7119b6a30e3483e2888fc606a2f8 before 3bf0e349cbb4f975f35eb22753acc346b89c66a0; affected 046c052b475e7119b6a30e3483e2888fc606a2f8 before 37ff9794be48d0caa37687e04d09675f9c849121; affected 046c052b475e7119b6a30e3483e2888fc606a2f8 before ffb2bd7ade36ec4da32c46a6eddbf4515316d08c |
| Linux / Linux | affected 5.11; unaffected 0 before 5.11; unaffected 6.1.189 through 6.1.*; unaffected 6.6.151 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c29affd44e6769e3073235d4b471d9b501fa8166
- https://git.kernel.org/stable/c/c6eb2d615210b80339548ab07c0230edaab9a6c7
- https://git.kernel.org/stable/c/8ff78591d309c50a4fdab683b68dd8d512a270dd
- https://git.kernel.org/stable/c/3bf0e349cbb4f975f35eb22753acc346b89c66a0
- https://git.kernel.org/stable/c/37ff9794be48d0caa37687e04d09675f9c849121
- https://git.kernel.org/stable/c/ffb2bd7ade36ec4da32c46a6eddbf4515316d08c
ADP enrichment
No English description supplied.
No references supplied.