In the Linux kernel, the following vulnerability has been resolved: macvlan: fix possible UAF in macvlanforwardsource() Add RCU protection on (struct macvlansourceentry)->vlan. Whenever macvlanhashdelsource() is called, we must clear entry->vlan pointer before RCU grace period starts. This allows macvlanforwardsource() to skip over entries queued for freeing. Note that macvlandev are already RCU protected, as they are embedded in a standard netdev (netdev_priv(ndev)). https: //lore.kernel.org/netdev/695fb1e8.050a0220.1c677c.039f.GAE@google.com/T/#u