In the Linux kernel, the following vulnerability has been resolved:
forcedeth: fix UAF of txrxstats in nvremove
nvremove() frees the per-CPU txrxstats before unregisternetdev(). Until unregister completes, ndogetstats64, the NAPI/xmit data path, and nvclose()/drain may still access txrx_stats, leading to a use-after-free.
Free the stats only after unregister_netdev().