INFO: task syz.0.1072:10258 blocked for more than 143 seconds.
Not tainted 6.16.0-syzkaller-06574-gd9104cec3e8f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1072 state:D stack:23416 pid:10258 tgid:10256 ppid:5840 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5351 [inline]
__schedule+0x1737/0x4d30 kernel/sched/core.c:6954
__schedule_loop kernel/sched/core.c:7036 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7051
schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:100 [inline]
__wait_for_common kernel/sched/completion.c:121 [inline]
wait_for_common kernel/sched/completion.c:132 [inline]
wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153
disable_device+0x1c6/0x320 drivers/infiniband/core/device.c:1288
__ib_unregister_device+0x2cb/0x3f0 drivers/infiniband/core/device.c:1518
ib_unregister_device_and_put+0xb8/0xf0 drivers/infiniband/core/device.c:1583
nldev_dellink+0x2d1/0x320 drivers/infiniband/core/nldev.c:1826
rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline]
rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline]
rdma_nl_rcv+0x6ae/0x980 drivers/infiniband/core/netlink.c:259
netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
netlink_unicast+0x82c/0x9e0 net/netlink/af_netlink.c:1346
netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896
sock_sendmsg_nosec net/socket.c:714 [inline]
__sock_sendmsg+0x219/0x270 net/socket.c:729
____sys_sendmsg+0x505/0x830 net/socket.c:2614
___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668
__sys_sendmsg net/socket.c:2700 [inline]
__do_sys_sendmsg net/socket.c:2705 [inline]
__se_sys_sendmsg net/socket.c:2703 [inline]
__x64_sys_sendmsg+0x19b/0x260 net/socket.c:2703
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f857698eb69
RSP: 002b:00007f85777bf038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8576bb5fa0 RCX: 00007f857698eb69
RDX: 0000000000008044 RSI: 0000200000000200 RDI: 000000000000000a
RBP: 00007f8576a11df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8576bb5fa0 R15: 00007ffcc7d41ce8
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e13c4e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e13c4e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e13c4e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5603:
#0: ffff888034c920a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
3 locks held by kworker/u9:3/5847:
#0: ffff888095b47148 ((wq_completion)hci16){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888095b47148 ((wq_completion)hci16){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000420fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000420fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffff88807c1e8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0 net/bluetooth/hci_sync.c:331
2 locks held by syz.0.1072/10258:
#0: ffffffff99e12978 (&rdma_nl_types[idx].sem){.+.+}-{4:4}, at: rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:164 [inline]
#0: ffffffff99e12978 (&rdma_nl_types[idx].sem){.+.+}-{4:4}, at: rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline]
#0: ffffffff99e12978 (&rdma_nl_types[idx].sem){.+.+}-{4:4}, at: rdma_nl_rcv+0x302/0x980 drivers/infiniband/core/netlink.c:259
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0 drivers/infiniband/core/device.c:1514
4 locks held by kworker/u8:40/10358:
#0: ffff88801b2fe148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801b2fe148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000ea6fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000ea6fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800 net/core/net_namespace.c:658
#3: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.1.1211/10740:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.2.1273/10985:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.3.1296/11108:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.4.1465/11847:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.7.1557/12206:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.5.1572/12262:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.8.1610/12432:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.6.1650/12573:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.9.1710/12801:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.1.1728/12887:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.0.1749/12990:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
2 locks held by syz.7.1989/13983:
#0: ffffffff8f4fc190 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffff8880784106d0 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300 drivers/infiniband/core/device.c:1666
1 lock held by syz.5.2094/14366:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-syzkaller-06574-gd9104cec3e8f #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xf93/0xfe0 kernel/hung_task.c:470
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 14366 Comm: syz.5.2094 Not tainted 6.16.0-syzkaller-06574-gd9104cec3e8f #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:check_preemption_disabled+0x25/0x120 lib/smp_processor_id.c:16
Code: 90 90 90 90 90 55 41 57 41 56 53 48 83 ec 10 65 48 8b 05 be 1d 2a 07 48 89 44 24 08 65 8b 05 c6 1d 2a 07 65 8b 0d bb 1d 2a 07 c1 ff ff ff 7f 74 23 65 48 8b 0d 9b 1d 2a 07 48 3b 4c 24 08 0f
RSP: 0018:ffffc9003bd574e8 EFLAGS: 00000086
RAX: 0000000000000001 RBX: ffff8880443e9e00 RCX: 0000000080000001
RDX: 0000000000000000 RSI: ffffffff8db65e8b RDI: ffffffff8be30a00
RBP: ffffc9003bd575f0 R08: ffffffff8fa07af7 R09: 1ffffffff1f40f5e
R10: dffffc0000000000 R11: fffffbfff1f40f5f R12: dffffc0000000000
R13: 1ffff11004f24e2d R14: ffff888027927100 R15: 1ffff920077aaeac
FS: 00007f012d1676c0(0000) GS:ffff888125d80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000c3b030 CR3: 00000000463e6000 CR4: 00000000003526f0
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:470 [inline]
lockdep_hardirqs_on_prepare+0x1b4/0x2a0 kernel/locking/lockdep.c:4411
trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:78
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x85/0x110 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
__skb_try_recv_datagram+0x17c/0x4e0 net/core/datagram.c:267
__skb_recv_datagram net/core/datagram.c:297 [inline]
skb_recv_datagram+0xbe/0x190 net/core/datagram.c:317
netlink_recvmsg+0x101/0xa30 net/netlink/af_netlink.c:1918
sock_recvmsg_nosec+0x186/0x1c0 net/socket.c:1065
____sys_recvmsg+0x3aa/0x460 net/socket.c:2832
___sys_recvmsg+0x1b5/0x510 net/socket.c:2876
do_recvmmsg+0x307/0x770 net/socket.c:2971
__sys_recvmmsg net/socket.c:3045 [inline]
__do_sys_recvmmsg net/socket.c:3068 [inline]
__se_sys_recvmmsg net/socket.c:3061 [inline]
__x64_sys_recvmmsg+0x190/0x240 net/socket.c:3061
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f012c38eb69
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f012d167038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f012c5b5fa0 RCX: 00007f012c38eb69
RDX: 03ffffffffffff81 RSI: 0000200000000780 RDI: 0000000000000004
RBP: 00007f012c411df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f012c5b5fa0 R15: 00007fff8f141068