INFO: task syz-executor.5:5753 blocked for more than 143 seconds. Not tainted 6.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28848 pid:5753 tgid:5752 ppid:5095 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747 genl_lock net/netlink/genetlink.c:33 [inline] genl_op_lock net/netlink/genetlink.c:58 [inline] genl_op_lock net/netlink/genetlink.c:55 [inline] genl_rcv_msg+0x57c/0x800 net/netlink/genetlink.c:1066 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xd5/0x180 net/socket.c:745 __sys_sendto+0x255/0x340 net/socket.c:2190 __do_sys_sendto net/socket.c:2202 [inline] __se_sys_sendto net/socket.c:2198 [inline] __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2198 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f40f7e7e89c RSP: 002b:00007f40f8b95f60 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f40f8b96050 RCX: 00007f40f7e7e89c RDX: 0000000000000020 RSI: 00007f40f8b960a0 RDI: 0000000000000005 RBP: 0000000000000000 R08: 00007f40f8b95fb4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f40f8b96008 R14: 00007f40f8b960a0 R15: 0000000000000000 INFO: task syz-executor.3:5766 blocked for more than 143 seconds. Not tainted 6.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23904 pid:5766 tgid:5766 ppid:1 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747 genl_lock net/netlink/genetlink.c:33 [inline] genl_op_lock net/netlink/genetlink.c:58 [inline] genl_op_lock net/netlink/genetlink.c:55 [inline] genl_rcv_msg+0x57c/0x800 net/netlink/genetlink.c:1066 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xd5/0x180 net/socket.c:745 __sys_sendto+0x255/0x340 net/socket.c:2190 __do_sys_sendto net/socket.c:2202 [inline] __se_sys_sendto net/socket.c:2198 [inline] __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2198 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fdef507e89c RSP: 002b:00007ffeae2d74e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fdef5cc4620 RCX: 00007fdef507e89c RDX: 0000000000000020 RSI: 00007fdef5cc4670 RDI: 0000000000000005 RBP: 0000000000000000 R08: 00007ffeae2d7534 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffeae2d7588 R14: 00007fdef5cc4670 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cfa82e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfa82e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfa82e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4813: #0: ffff88814af6e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020582f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.3/5682: 2 locks held by syz-executor.5/5753: #0: ffffffff8eb3e530 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:55 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x57c/0x800 net/netlink/genetlink.c:1066 2 locks held by syz-executor.3/5766: #0: ffffffff8eb3e530 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:55 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x57c/0x800 net/netlink/genetlink.c:1066 2 locks held by syz-executor.3/5775: #0: ffffffff8eb3e530 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:55 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x57c/0x800 net/netlink/genetlink.c:1066 2 locks held by syz-executor.3/5793: #0: ffffffff8eb3e530 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:55 [inline] #1: ffffffff8eb3e5e8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x57c/0x800 net/netlink/genetlink.c:1066 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2431 Comm: kworker/u4:9 Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4781 [inline] RIP: 0010:__lock_acquire+0x4b5/0x3b20 kernel/locking/lockdep.c:5087 Code: 0f b6 14 11 48 89 f9 83 e1 07 38 ca 7f 08 84 d2 0f 85 09 29 00 00 45 0f b6 7c 24 21 45 84 ff 0f 88 d6 0b 00 00 48 8b 74 24 38 <84> c0 48 ba 00 00 00 00 00 fc ff df 0f 44 c5 48 c1 ee 03 0f b6 14 RSP: 0018:ffffc90009917768 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000080000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff888026cb6b38 RDI: ffff888026cb6bb1 RBP: 0000000000000002 R08: 0000000000000000 R09: fffffbfff23e21d1 R10: ffffffff91f10e8f R11: 0000000000000002 R12: ffff888026cb6b90 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001fa9000 CR3: 000000000cd77000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162 lock_timer_base+0x5d/0x200 kernel/time/timer.c:999 __mod_timer+0x420/0xea0 kernel/time/timer.c:1080 add_timer+0x62/0x90 kernel/time/timer.c:1244 __queue_delayed_work+0x19d/0x270 kernel/workqueue.c:1958 queue_delayed_work_on+0x106/0x130 kernel/workqueue.c:1983 queue_delayed_work include/linux/workqueue.h:577 [inline] batadv_nc_start_timer net/batman-adv/network-coding.c:72 [inline] batadv_nc_worker+0xb6f/0x10e0 net/batman-adv/network-coding.c:741 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242