Description
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.
Affected products and versions
Linux Linux13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 776f05fca39bb355105d52f2a30f337c57fc82c3 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < b0ab03f7f53ad4d132f4699c35419eea0af02966 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 72c5c15bdd8c6e6604d5cd25f164ba6e017ef47e · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 37adaa93a57fedd6d14895e75733dbdbce45bba5 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < ec106dc1770ea0aa3ad9ef265f4ddf7d0e9744c0 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < ea349c98f52037d2f73a27893096d41a0a8428b0 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < c94c746e6c80439a4a9a0e1e20f2dae62a4d57efFixed in: 776f05fca39bb355105d52f2a30f337c57fc82c3 · b0ab03f7f53ad4d132f4699c35419eea0af02966 · 72c5c15bdd8c6e6604d5cd25f164ba6e017ef47e · 37adaa93a57fedd6d14895e75733dbdbce45bba5 · ec106dc1770ea0aa3ad9ef265f4ddf7d0e9744c0 · ea349c98f52037d2f73a27893096d41a0a8428b0 · c94c746e6c80439a4a9a0e1e20f2dae62a4d57ef
Linux Linux5.14Fixed in: 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/776f05fca39bb355105d52f2a30f337c57fc82c3
- git.kernel.org/stable/c/b0ab03f7f53ad4d132f4699c35419eea0af02966
- git.kernel.org/stable/c/72c5c15bdd8c6e6604d5cd25f164ba6e017ef47e
- git.kernel.org/stable/c/37adaa93a57fedd6d14895e75733dbdbce45bba5
- git.kernel.org/stable/c/ec106dc1770ea0aa3ad9ef265f4ddf7d0e9744c0
- git.kernel.org/stable/c/ea349c98f52037d2f73a27893096d41a0a8428b0
- git.kernel.org/stable/c/c94c746e6c80439a4a9a0e1e20f2dae62a4d57ef
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.