In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix use-after-free of the firmware event workqueue The enqueue path reads the workqueue pointer before taking the event lock, while the remove path clears that pointer and destroys the workqueue while holding it. The enqueue can therefore reach queue_work() after the workqueue is gone. Move the check inside the lock.
https://git.kernel.org/stable/c/ec106dc1770ea0aa3ad9ef265f4ddf7d0e9744c0
https://git.kernel.org/stable/c/ea349c98f52037d2f73a27893096d41a0a8428b0
https://git.kernel.org/stable/c/c94c746e6c80439a4a9a0e1e20f2dae62a4d57ef
https://git.kernel.org/stable/c/b0ab03f7f53ad4d132f4699c35419eea0af02966
https://git.kernel.org/stable/c/776f05fca39bb355105d52f2a30f337c57fc82c3
https://git.kernel.org/stable/c/72c5c15bdd8c6e6604d5cd25f164ba6e017ef47e
https://git.kernel.org/stable/c/37adaa93a57fedd6d14895e75733dbdbce45bba5