Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
RDMA/cxgb4: Cancel reg_work before freeing device on remove
In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: Cancel reg_work before freeing device on remove c4iw_uld_state_change() queues reg_work to register the RDMA device. c4iw_remove() can free ctx->dev while this work is pending or running, leaving c4iw_register_device() accessing the freed device. Cancel reg_work before removing the device. The registration work can tear down ctx->dev when registration fails, so do not unregister or deallocate it again in that case. This issue was found by an in-house static analysis tool.
References
Affected products
Linux
- <4.15
- <85f438382a865a4dc4c50e6b884310bb2b60fc4d
- <fe9c591026c576d8b1f72aab5e4cd67350530763
- <320e5258a53af0abc5abd9eb01519a48bab2dee8
- ==4.15
- <a7100601aa1a39f799a566acce10db20eaf4b7f2
- =<7.2.*
- =<6.18.*
- =<6.12.*
- =<*