INFO: task syz-executor.4:8545 blocked for more than 143 seconds. Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27656 pid:8545 ppid:5085 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063 netlink_rcv_skb+0x1f0/0x470 net/netlink/af_netlink.c:2564 genl_rcv+0x24/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1932 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x46d/0x5f0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f67c8c3e0fc RSP: 002b:00007f67c9997000 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f67c99970f0 RCX: 00007f67c8c3e0fc RDX: 0000000000000020 RSI: 00007f67c9997140 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007f67c9997054 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 00007f67c99970a8 R13: 00007f67c9997140 R14: 0000000000000004 R15: 0000000000000000 INFO: task syz-executor.1:8557 blocked for more than 143 seconds. Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:20952 pid:8557 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063 netlink_rcv_skb+0x1f0/0x470 net/netlink/af_netlink.c:2564 genl_rcv+0x24/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1932 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x46d/0x5f0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd521c3e0fc RSP: 002b:00007fff109d3520 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fd5228d4620 RCX: 00007fd521c3e0fc RDX: 0000000000000020 RSI: 00007fd5228d4670 RDI: 0000000000000005 RBP: 0000000000000000 R08: 00007fff109d3574 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 00007fff109d35c8 R13: 00007fd5228d4670 R14: 0000000000000005 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d5239d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d5241d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d523800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by syslogd/4404: #0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff888078009560 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: psi_task_switch+0x682/0xa30 kernel/sched/psi.c:976 2 locks held by getty/4735: #0: ffff888027fbf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:12/5472: 2 locks held by syz-executor.1/8442: 2 locks held by syz-executor.4/8545: #0: ffffffff8e6cbad0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063 2 locks held by syz-executor.1/8557: #0: ffffffff8e6cbad0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063 2 locks held by syz-executor.1/8566: #0: ffffffff8e6cbad0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063 2 locks held by syz-executor.1/8582: #0: ffffffff8e6cbad0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8e6cb988 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5452 Comm: kworker/u4:11 Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x4/0x120 lib/smp_processor_id.c:13 Code: 40 05 5c 8d 48 89 de e8 2a 7a bf f9 e9 64 ff ff ff cc cc cc cc cc 48 c7 c7 20 7a 69 8b 48 c7 c6 60 7a 69 8b eb 00 41 57 41 56 <41> 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 RSP: 0018:ffffc900038ef9a8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 00000000013b3ff4 RCX: ffffffff92168003 RDX: dffffc0000000000 RSI: ffffffff8b0daae0 RDI: ffffffff8b697a80 RBP: ffffc900038efa70 R08: dffffc0000000000 R09: ffffed1005592039 R10: ffffed1005592039 R11: 1ffff11005592038 R12: 1ffff9200071df3c R13: ffff888079281d40 R14: ffff888079282744 R15: ffff888079282758 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c005529ac8 CR3: 000000000d28e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline] lockdep_softirqs_on+0x338/0x5a0 kernel/locking/lockdep.c:4469 __local_bh_enable_ip+0x11e/0x1f0 kernel/softirq.c:384 spin_unlock_bh include/linux/spinlock.h:395 [inline] batadv_nc_purge_paths+0x35f/0x3f0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x31e/0x5b0 net/batman-adv/network-coding.c:722 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308