Syzkaller reports use-after-free for net_device's in 5.10 stable releases. The problem has been fixed by the following patch series and it can be cleanly applied to the 5.10 branch. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.