A crash could be triggered in the Linux kernel by repeating certain commands, specifically modprobe tipc, tipc bearer enable media udp, and rmmod tipc. This issue occurs when the TIPC module is removed, and the UDP tunnel sock is delayed to release in a work queue. The work queue function cleanup beareri() code no longer exists when trying to invoke it, leading to a kernel crash. The patch introduces a member wq count in tipc net to track the numbers of work queues in schedule and waits for all work queues to be done in tipc exit net().