INFO: task syz-executor.4:6627 blocked for more than 144 seconds. Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29824 pid:6627 ppid:5062 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 init_module_from_file+0x300/0x6a0 kernel/module/main.c:3125 __do_sys_finit_module kernel/module/main.c:3171 [inline] __se_sys_finit_module kernel/module/main.c:3154 [inline] __x64_sys_finit_module+0xfd/0x190 kernel/module/main.c:3154 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc1ae08c389 RSP: 002b:00007fc1acbdd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007fc1ae1ac050 RCX: 00007fc1ae08c389 RDX: 0000000000000003 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007fc1ae0d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdfe1acf6f R14: 00007fc1acbdd300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/0:1/8: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c99eab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c99e7b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/27: #0: ffffffff8c99f6c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 4 locks held by kworker/u4:5/1034: 1 lock held by klogd/4450: 2 locks held by getty/4767: #0: ffff8880193d6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020482f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187 1 lock held by syz-executor.1/5042: 2 locks held by kworker/0:5/5107: #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88801287a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc900035dfdb0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 2 locks held by syz-executor.5/9143: #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421 #1: ffffffff8c9aab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c9aab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.3/9146: #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1012 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1001 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_handle_ioctl+0x24c/0x290 net/wireless/wext-core.c:1074 1 lock held by syz-executor.2/9151: 1 lock held by syz-executor.4/9155: #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1012 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1001 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_handle_ioctl+0x24c/0x290 net/wireless/wext-core.c:1074 1 lock held by syz-executor.0/9158: #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421 1 lock held by syz-executor.0/9168: #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1012 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1001 [inline] #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wext_handle_ioctl+0x24c/0x290 net/wireless/wext-core.c:1074 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1034 Comm: kworker/u4:5 Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_smp_processor_id+0x10/0x20 lib/smp_processor_id.c:60 Code: 36 71 ec ff 0f 1f 44 00 00 65 ff 0d 12 cf e5 75 e9 ca fe ff ff 0f 1f 44 00 00 f3 0f 1e fa 0f 1f 44 00 00 48 c7 c6 60 68 c7 8a <48> c7 c7 a0 68 c7 8a e9 74 fe ff ff 0f 1f 40 00 f3 0f 1e fa 55 48 RSP: 0018:ffffc90004d5fb80 EFLAGS: 00000283 RAX: 0000000000000001 RBX: 1ffff920009abf76 RCX: ffffffff81656a0c RDX: 0000000000000001 RSI: ffffffff8ac76860 RDI: ffffffff8ea92c50 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff1d5258a R10: ffffffff8ea92c57 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8c99f6c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4d22d56be CR3: 000000007e9a7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x12/0xb0 kernel/rcu/tree.c:695 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x470/0x520 kernel/locking/lockdep.c:5732 rcu_lock_acquire include/linux/rcupdate.h:302 [inline] rcu_read_lock include/linux/rcupdate.h:748 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x131/0xfe0 net/batman-adv/network-coding.c:719 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308