In the Linux kernel, the following vulnerability has been resolved: net/packet: fix a race in packetsetring() and packetnotifier() When packetsetring() releases po->bindlock, another thread can run packetnotifier() and process an NETDEVUP event. This race and the fix are both similar to that of commit 15fe076edea7 ("net/packet: fix a race in packetbind() and packetnotifier()"). There too the packetnotifier NETDEVUP event managed to run while a po->bindlock critical section had to be temporarily released. And the fix was similarly to temporarily set po->num to zero to keep the socket unhooked until the lock is retaken. The po->bindlock in packetsetring and packet_notifier precede the introduction of git history.