CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's RDMA subsystem, specifically in the handling of device registration and removal processes. If a device is removed while its registration work is still pending, it can lead to access violations by attempting to interact with a freed device, potentially causing system instability or crashes. Organizations utilizing Linux systems with RDMA capabilities should prioritize addressing this issue to ensure the reliability and security of their environments.
Original NVD Description
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.