A Linux kernel vulnerability in the smbdirect component related to RDMA connection teardown has been resolved. The issue involved smbdirect_socket_destroy_sync() waiting indefinitely or for a long time for an RDMA disconnect event, which could cause delays or hangs during socket destruction. The fix changes the socket destruction logic to avoid waiting unnecessarily for the RDMA_CM_EVENT_DISCONNECTED event, improving reliability and preventing potential hangs.