sctp: close UDP tunnel sockets during netns teardown
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.189, 6.6.151, 6.12.101, 6.18.42, 7.1.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 046c052b475e7119b6a30e3483e2888fc606a2f8 · fixed in c29affd44e6769e3073235d4b471d9b501fa8166; From 046c052b475e7119b6a30e3483e2888fc606a2f8 · fixed in c6eb2d615210b80339548ab07c0230edaab9a6c7; From 046c052b475e7119b6a30e3483e2888fc606a2f8 · fixed in 8ff78591d309c50a4fdab683b68dd8d512a270dd; From 046c052b475e7119b6a30e3483e2888fc606a2f8 · fixed in 3bf0e349cbb4f975f35eb22753acc346b89c66a0; From 046c052b475e7119b6a30e3483e2888fc606a2f8 · fixed in 37ff9794be48d0caa37687e04d09675f9c849121; From 046c052b475e7119b6a30e3483e2888fc606a2f8 · fixed in ffb2bd7ade36ec4da32c46a6eddbf4515316d08c
- Linux Linux
5.11
- KernelLinux
From 5.11.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.151; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6