INFO: task hung in rdma_dev_exit_net

Status: upstream: reported on 2026/10/15 02:19
Reported-by: syzbot+78f4296869b73f68534f@syzkaller.appspotmail.com
First crash: 49d, last: 27d
▶ ▼ Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in rdma_dev_exit_net (2) rdma 1 6 2122d 2256d 0/30 auto-closed as invalid on 2021/05/10 22:49
upstream INFO: task hung in rdma_dev_exit_net (3) rdma 1 5 1870d 1905d 0/30 auto-closed as invalid on 2022/01/17 19:05
upstream INFO: task hung in rdma_dev_exit_net rdma 1 1 2415d 2415d 0/30 auto-closed as invalid on 2020/07/21 12:21
upstream INFO: task hung in rdma_dev_exit_net (5) rdma 1 4 1046d 1061d 0/30 auto-obsoleted due to no activity on 2024/04/21 00:36
linux-5.15 INFO: task hung in rdma_dev_exit_net 1 1 435d 435d 0/3 auto-obsoleted due to no activity on 2026/01/02 06:39
upstream INFO: task hung in rdma_dev_exit_net (4) rdma 1 7 1244d 1406d 0/30 auto-obsoleted due to no activity on 2023/10/05 19:47
upstream INFO: task hung in rdma_dev_exit_net (6) prio:high rdma 1 524 22h18m 712d 0/30 upstream: reported on 2024/12/20 08:21

Sample crash report:
INFO: task syz-executor:16582 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:24264 pid:16582 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5393 [inline]
 __schedule+0x156f/0x4720 kernel/sched/core.c:6722
 schedule+0xbd/0x170 kernel/sched/core.c:6796
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6855
 rwsem_down_write_slowpath+0xc41/0x1070 kernel/locking/rwsem.c:1178
 __down_write_common kernel/locking/rwsem.c:1306 [inline]
 __down_write kernel/locking/rwsem.c:1315 [inline]
 down_write+0x1b9/0x200 kernel/locking/rwsem.c:1574
 rdma_dev_exit_net+0x90/0x340 drivers/infiniband/core/device.c:1133
 ops_exit_list net/core/net_namespace.c:173 [inline]
 setup_net+0x7e5/0xa20 net/core/net_namespace.c:375
 copy_net_ns+0x361/0x530 net/core/net_namespace.c:524
 create_new_namespaces+0x3ce/0x700 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0x11a/0x160 kernel/nsproxy.c:228
 ksys_unshare+0x4fa/0x8f0 kernel/fork.c:3447
 __do_sys_unshare kernel/fork.c:3521 [inline]
 __se_sys_unshare kernel/fork.c:3519 [inline]
 __x64_sys_unshare+0x38/0x40 kernel/fork.c:3519
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe958da0de7
RSP: 002b:00007fffbdd77fb8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fe959025f40 RCX: 00007fe958da0de7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007fe9590267b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000008
R13: 0000000000000003 R14: 00007fffbdd781f8 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669
4 locks held by kworker/u4:2/42:
2 locks held by kworker/0:2/789:
 #0: ffff8880b8c3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:570
 #1: ffff8880b8c28a00 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
 #1: ffff8880b8c28a00 (psi_seq){-.-.}-{0:0}, at: __schedule+0x21fc/0x4720 kernel/sched/core.c:6717
4 locks held by kworker/u4:7/1134:
2 locks held by kworker/0:3/2204:
 #0: ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900050dfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900050dfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
2 locks held by dhcpcd/5448:
 #0: ffff88807c521690 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0xf4/0x7a0 net/netlink/af_netlink.c:2345
 #1: ffffffff8f3e83c8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x77c/0xec0 net/netlink/af_netlink.c:2272
2 locks held by getty/8216:
 #0: ffff88802ea0b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000487b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x43a/0x1400 drivers/tty/n_tty.c:2217
3 locks held by kworker/0:8/14791:
6 locks held by kworker/u4:11/16556:
 #0: ffff888140049138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888140049138 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc9000bd27d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc9000bd27d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x140/0xb00 net/core/net_namespace.c:610
 #3: ffff888078002250 (&devlink->lock_key#11){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:60 [inline]
 #3: ffff888078002250 (&devlink->lock_key#11){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xee/0x360 net/devlink/core.c:285
 #4: ffffffff8f3e83c8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3f/0x180 drivers/net/netdevsim/netdev.c:417
 #5: ffffffff8e137cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
 #5: ffffffff8e137cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004
2 locks held by syz-executor/16577:
 #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
 #1: ffff888031bfcf80 (&device->compat_devs_mutex){+.+.}-{3:3}, at: remove_one_compat_dev drivers/infiniband/core/device.c:1008 [inline]
 #1: ffff888031bfcf80 (&device->compat_devs_mutex){+.+.}-{3:3}, at: rdma_dev_exit_net+0x1ad/0x340 drivers/infiniband/core/device.c:1150
2 locks held by syz-executor/16582:
 #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
 #1: ffffffff8f18e6b0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x90/0x340 drivers/infiniband/core/device.c:1133
4 locks held by syz-executor/16589:
 #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
 #1: ffffffff8f18e4f0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1a3/0x280 drivers/infiniband/core/device.c:1189
 #2: ffffffff8f18e6b0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1db/0x280 drivers/infiniband/core/device.c:1194
 #3: ffff888031bfcf80 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:953
3 locks held by syz-executor/16628:
 #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
 #1: ffffffff8f18e4f0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1a3/0x280 drivers/infiniband/core/device.c:1189
 #2: 
ffffffff8f18e6b0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1db/0x280 drivers/infiniband/core/device.c:1194
2 locks held by syz-executor/16634:
 #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
 #1: ffffffff8f3e83c8 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1c/0x1c0 drivers/net/wireguard/device.c:421
6 locks held by syz-executor/16638:
 #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
 #1: ffffffff8f18e4f0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1a3/0x280 drivers/infiniband/core/device.c:1189

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/05 08:45 linux-6.6.y b5a1dc3ad482 2ee8459f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rdma_dev_exit_net
2026/11/03 19:02 linux-6.6.y b5a1dc3ad482 e2d35131 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rdma_dev_exit_net
2026/10/21 21:42 linux-6.6.y 0aebf2870d53 4ba27f85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rdma_dev_exit_net
2026/10/21 08:06 linux-6.6.y cecd39af8a1a 61c200c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rdma_dev_exit_net
2026/10/17 06:42 linux-6.6.y cecd39af8a1a 432c0077 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rdma_dev_exit_net
2026/10/15 02:18 linux-6.6.y a91a6aa9253c 8fb0ae89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rdma_dev_exit_net
* Struck through repros no longer work on HEAD.