In the Linux kernel, the following vulnerability has been resolved:
ref_tracker: implement use-after-free detection
Whenever reftrackerdirinit() is called, mark the struct reftracker_dir as dead.
Test the dead status from reftrackeralloc() and reftrackerfree()
This should detect buggy devput()/devhold() happening too late in netdevice dismantle process.