sctp: close UDP tunnel sockets during netns teardown
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel ffb2bd7ade36ec4da32c46a6eddbf4515316d08c, Kernel 37ff9794be48d0caa37687e04d09675f9c849121, Kernel 3bf0e349cbb4f975f35eb22753acc346b89c66a0 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=046c052b475e7119b6a30e3483e2888fc606a2f8 <ffb2bd7ade36ec4da32c46a6eddbf4515316d08c, >=046c052b475e7119b6a30e3483e2888fc606a2f8 <37ff9794be48d0caa37687e04d09675f9c849121, >=046c052b475e7119b6a30e3483e2888fc606a2f8 <3bf0e349cbb4f975f35eb22753acc346b89c66a0, >=046c052b475e7119b6a30e3483e2888fc606a2f8 <8ff78591d309c50a4fdab683b68dd8d512a270dd, >=046c052b475e7119b6a30e3483e2888fc606a2f8 <c29affd44e6769e3073235d4b471d9b501fa8166, >=046c052b475e7119b6a30e3483e2888fc606a2f8 <c6eb2d615210b80339548ab07c0230edaab9a6c7, =5.11 | ffb2bd7ade36ec4da32c46a6eddbf4515316d08c, 37ff9794be48d0caa37687e04d09675f9c849121, 3bf0e349cbb4f975f35eb22753acc346b89c66a0, 8ff78591d309c50a4fdab683b68dd8d512a270dd, c29affd44e6769e3073235d4b471d9b501fa8166, c6eb2d615210b80339548ab07c0230edaab9a6c7 |
| linux-kernel: Kernel | >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.151, >=6.7.0 <6.12.101, >=5.11.0 <6.1.189 | 6.18.42, 7.1.6, 6.6.151, 6.12.101, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket