RDMA/cxgb4: Cancel reg_work before freeing device on remove
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fe9c591026c576d8b1f72aab5e4cd67350530763, Kernel 320e5258a53af0abc5abd9eb01519a48bab2dee8, Kernel 3265d558dfafab8f12f5fba06ebbf15cae9f3225 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <fe9c591026c576d8b1f72aab5e4cd67350530763, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <320e5258a53af0abc5abd9eb01519a48bab2dee8, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <3265d558dfafab8f12f5fba06ebbf15cae9f3225, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <4681e731db07769846901cfabdd3e53f765eb9d3, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <672ee1981db10569ec96030bddb322f18382ec04, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <85f438382a865a4dc4c50e6b884310bb2b60fc4d, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <a7100601aa1a39f799a566acce10db20eaf4b7f2, >=1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5 <e6e79e7be87c5ea92728060a3d7fb56890a91e45, =4.15 | fe9c591026c576d8b1f72aab5e4cd67350530763, 320e5258a53af0abc5abd9eb01519a48bab2dee8, 3265d558dfafab8f12f5fba06ebbf15cae9f3225, 4681e731db07769846901cfabdd3e53f765eb9d3, 672ee1981db10569ec96030bddb322f18382ec04, 85f438382a865a4dc4c50e6b884310bb2b60fc4d, a7100601aa1a39f799a566acce10db20eaf4b7f2, e6e79e7be87c5ea92728060a3d7fb56890a91e45 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=4.15.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket