In the Linux kernel, the following vulnerability has been resolved: nvmet: avoid potential UAF in nvmetreqcomplete() An nvme target ->queueresponse() operation implementation may free the request passed as argument. Such implementation potentially could result in a use after free of the request pointer when percpurefput() is called in nvmetreqcomplete(). Avoid such problem by using a local variable to save the sq pointer before calling _nvmetreqcomplete(), thus avoiding dereferencing the req pointer after that function call.