INFO: task syz.4.3152:12047 blocked for more than 143 seconds. Not tainted 6.11.0-rc5-syzkaller-00050-g3ec3f5fc4a91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.3152 state:D stack:23680 pid:12047 tgid:12046 ppid:5285 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116 disable_device+0x170/0x280 drivers/infiniband/core/device.c:1295 __ib_unregister_device+0x2b4/0x470 drivers/infiniband/core/device.c:1493 ib_unregister_device_and_put+0x5a/0x80 drivers/infiniband/core/device.c:1557 nldev_dellink+0x215/0x310 drivers/infiniband/core/nldev.c:1824 rdma_nl_rcv_msg+0x388/0x6e0 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb.constprop.0.isra.0+0x2e6/0x450 drivers/infiniband/core/netlink.c:239 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0xab5/0xc90 net/socket.c:2597 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2651 __sys_sendmsg+0x117/0x1f0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0bd1d79e79 RSP: 002b:00007f0bd2c35038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0bd1f15f80 RCX: 00007f0bd1d79e79 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 00007f0bd1de793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0bd1f15f80 R15: 00007fff895f5e18 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb5d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8ddb5d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8ddb5d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 2 locks held by getty/4970: #0: ffff88802aeec0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 1 lock held by udevd/5212: 1 lock held by syz-executor/5278: 2 locks held by syz-executor/5281: #0: ffffffff8fa238e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fa238e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x230 drivers/net/tun.c:3510 #1: ffffffff8ddc14b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 1 lock held by syz-executor/5284: 3 locks held by kworker/1:4/5326: #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc900040f7d80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffffffff8ddc14b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:296 2 locks held by kworker/u8:17/10391: 1 lock held by syz-executor/10652: 2 locks held by syz.4.3152/12047: #0: ffffffff9522c498 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv_msg+0x16a/0x6e0 drivers/infiniband/core/netlink.c:164 #1: ffff88802ecf46b0 (&device->unregistration_lock){+.+.}-{3:3}, at: __ib_unregister_device+0x23b/0x470 drivers/infiniband/core/device.c:1489 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller-00050-g3ec3f5fc4a91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 10652 Comm: syz-executor Not tainted 6.11.0-rc5-syzkaller-00050-g3ec3f5fc4a91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xc/0x70 kernel/kcov.c:216 Code: c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 e4 64 79 7e <65> 8b 05 e5 64 79 7e a9 00 01 ff 00 48 8b 34 24 74 1d f6 c4 01 74 RSP: 0018:ffffc90003357670 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc90003357740 RCX: ffffffff813cdd16 RDX: ffff88805e94da00 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc90003357ad0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90003357748 R13: ffffc90003357750 R14: ffffc90003350000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055be2a3fdd10 CR3: 000000004b016000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_stack arch/x86/include/asm/stacktrace.h:58 [inline] stack_access_ok+0xa0/0x270 arch/x86/kernel/unwind_orc.c:393 deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline] unwind_next_frame+0xd9b/0x23a0 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_page+0x64a/0xe40 mm/page_alloc.c:2612 vfree+0x181/0x7a0 mm/vmalloc.c:3364 kcov_put kernel/kcov.c:438 [inline] kcov_put+0x2a/0x40 kernel/kcov.c:434 kcov_close+0x10/0x20 kernel/kcov.c:534 __fput+0x408/0xbb0 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xaa3/0x2bb0 kernel/exit.c:882 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x25fd/0x2770 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f82c81abf65 Code: Unable to access opcode bytes at 0x7f82c81abf3b. RSP: 002b:00007ffe73d2acd0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00000000000002d9 RCX: 00007f82c81abf65 RDX: 00007ffe73d2ad10 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffe73d2ad6c R08: 0000000000000000 R09: 00007f82c8f25080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000948ef R14: 0000000000094672 R15: 00007ffe73d2adc0