syscall: NetlinkRIB creates AF_NETLINK socket without SOCK_CLOEXEC #36053
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
syscall.NetlinkRIB
(which is used by net.InterfaceByName, etc.) creates an AF_NETLINK socket without setting SOCK_CLOEXEC. This means fork / exec will leak this socket to child processes.LsfSocket
andSetLsfPromisc
are also affected by this, but are marked as deprecated.What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Linux
The text was updated successfully, but these errors were encountered: