INFO: task syz-executor.4:4705 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28456 pid:4705 ppid:5045 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:0x7f354ec8c389 RSP: 002b:00007f354fac4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007f354edabf80 RCX: 00007f354ec8c389 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f354ecd7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5c2cffdf R14: 00007f354fac4300 R15: 0000000000022000 Showing all locks held in the system: 5 locks held by kworker/u4:0/10: #0: ffff8880b993c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558 #1: ffff8880b9928848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:995 #2: ffff8880b9929718 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x69c/0xe80 kernel/time/timer.c:1112 #3: ffffffff92346b98 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x186/0x4f0 lib/debugobjects.c:717 #4: ffffffff8c864808 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x12/0x30 arch/x86/kernel/jump_label.c:145 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a1af0 (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/14: #0: ffffffff8c9a17f0 (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/28: #0: ffffffff8c9a2700 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4748: #0: ffff88802890c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #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: 26755 Comm: kworker/u4:4 Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__this_cpu_preempt_check+0x5/0x20 lib/smp_processor_id.c:65 Code: 0f 1f 44 00 00 f3 0f 1e fa 0f 1f 44 00 00 48 c7 c6 80 7c c7 8a 48 c7 c7 c0 7c c7 8a e9 74 fe ff ff 0f 1f 40 00 f3 0f 1e fa 55 <48> 89 fd 0f 1f 44 00 00 48 89 ee 5d 48 c7 c7 00 7d c7 8a e9 53 fe RSP: 0018:ffffc90014417bb8 EFLAGS: 00000046 RAX: 0000000000000002 RBX: a65eda0355dbdd01 RCX: ffffc90014417c18 RDX: 1ffff11004ba8157 RSI: 0000000000000000 RDI: ffffffff8a6c6f00 RBP: 1ffff92002882f7b R08: 0000000000000001 R09: fffffbfff1d53042 R10: ffffffff8ea98217 R11: 0000000000000001 R12: 0000000000000002 R13: ffff888025d40ac0 R14: 0000000000000003 R15: ffff888025d40000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563a5dbe7008 CR3: 000000000c775000 CR4: 0000000000350ee0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_release+0x3be/0x670 kernel/locking/lockdep.c:5783 rcu_lock_release include/linux/rcupdate.h:307 [inline] rcu_read_unlock include/linux/rcupdate.h:781 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x86c/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