INFO: task syz-executor.5:5091 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller-02426-g97aeb877de7f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28592 pid: 5091 ppid: 3635 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x3e0/0x580 net/netlink/genetlink.c:790 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 __sys_sendto+0x21c/0x320 net/socket.c:2040 __do_sys_sendto net/socket.c:2052 [inline] __se_sys_sendto net/socket.c:2048 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2048 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f99ddc22e0c RSP: 002b:00007f99dc5e4000 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f99dc5e40f0 RCX: 00007f99ddc22e0c RDX: 0000000000000020 RSI: 00007f99dc5e4140 RDI: 0000000000000005 RBP: 0000000000000000 R08: 00007f99dc5e4054 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 00007f99dc5e40a8 R13: 00007f99dc5e4140 R14: 0000000000000005 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb84ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by kworker/u4:3/54: #0: ffff8880b9c39c58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffff8880b9c27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 2 locks held by kworker/u4:4/990: #0: ffff8880b9c39c58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffffc90005697db8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by getty/3272: #0: ffff88802387d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 2 locks held by syz-executor.2/5040: 2 locks held by syz-executor.5/5091: #0: ffffffff8d3cc470 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d3cc528 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8d3cc528 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x3e0/0x580 net/netlink/genetlink.c:790 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-02426-g97aeb877de7f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 990 Comm: kworker/u4:4 Not tainted 5.17.0-rc7-syzkaller-02426-g97aeb877de7f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:mark_lock.part.0+0xf6/0x1910 kernel/locking/lockdep.c:4583 Code: 66 81 e2 ff 1f 44 0f b7 f2 be 08 00 00 00 4c 89 f0 48 c1 f8 06 48 8d 3c c5 40 09 e0 8f e8 82 8f 63 00 4c 0f a3 35 1a fd 82 0e <0f> 83 cd 00 00 00 4b 8d 04 76 48 c1 e0 06 48 05 60 0d e0 8f 48 8d RSP: 0018:ffffc90005697850 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 1ffff92000ad2f11 RCX: ffffffff815d0c1e RDX: fffffbfff1fc0145 RSI: 0000000000000008 RDI: ffffffff8fe00a20 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff8fe00a27 R10: fffffbfff1fc0144 R11: 0000000000000000 R12: ffff88801c76c4b0 R13: 0000000000000008 R14: 0000000000000719 R15: ffff88801c76c4d0 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa6b9ef85e CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4569 [inline] mark_usage kernel/locking/lockdep.c:4526 [inline] __lock_acquire+0x8a8/0x56c0 kernel/locking/lockdep.c:4981 lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:720 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 66 81 e2 ff 1f and $0x1fff,%dx 5: 44 0f b7 f2 movzwl %dx,%r14d 9: be 08 00 00 00 mov $0x8,%esi e: 4c 89 f0 mov %r14,%rax 11: 48 c1 f8 06 sar $0x6,%rax 15: 48 8d 3c c5 40 09 e0 lea -0x701ff6c0(,%rax,8),%rdi 1c: 8f 1d: e8 82 8f 63 00 callq 0x638fa4 22: 4c 0f a3 35 1a fd 82 bt %r14,0xe82fd1a(%rip) # 0xe82fd44 29: 0e * 2a: 0f 83 cd 00 00 00 jae 0xfd <-- trapping instruction 30: 4b 8d 04 76 lea (%r14,%r14,2),%rax 34: 48 c1 e0 06 shl $0x6,%rax 38: 48 05 60 0d e0 8f add $0xffffffff8fe00d60,%rax 3e: 48 rex.W 3f: 8d .byte 0x8d