Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before e6e79e7be87c5ea92728060a3d7fb56890a91e45; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before 672ee1981db10569ec96030bddb322f18382ec04; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before 4681e731db07769846901cfabdd3e53f765eb9d3; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before 3265d558dfafab8f12f5fba06ebbf15cae9f3225; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before fe9c591026c576d8b1f72aab5e4cd67350530763; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before 85f438382a865a4dc4c50e6b884310bb2b60fc4d; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before 320e5258a53af0abc5abd9eb01519a48bab2dee8; affected 1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 before a7100601aa1a39f799a566acce10db20eaf4b7f2 |
| Linux / Linux | affected 4.15; unaffected 0 before 4.15; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e6e79e7be87c5ea92728060a3d7fb56890a91e45
- https://git.kernel.org/stable/c/672ee1981db10569ec96030bddb322f18382ec04
- https://git.kernel.org/stable/c/4681e731db07769846901cfabdd3e53f765eb9d3
- https://git.kernel.org/stable/c/3265d558dfafab8f12f5fba06ebbf15cae9f3225
- https://git.kernel.org/stable/c/fe9c591026c576d8b1f72aab5e4cd67350530763
- https://git.kernel.org/stable/c/85f438382a865a4dc4c50e6b884310bb2b60fc4d
- https://git.kernel.org/stable/c/320e5258a53af0abc5abd9eb01519a48bab2dee8
- https://git.kernel.org/stable/c/a7100601aa1a39f799a566acce10db20eaf4b7f2
ADP enrichment
No English description supplied.
No references supplied.