INFO: task syz-executor.5:6510 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-00915-ge7c5433c5aaa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27016 pid:6510 ppid:5049 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 __pipe_lock fs/pipe.c:103 [inline] pipe_release+0x4d/0x310 fs/pipe.c:721 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f47f0c3e01b RSP: 002b:00007ffe0286a530 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f47f0c3e01b RDX: 0000001b2e420000 RSI: 0000001b2e422d1c RDI: 0000000000000004 RBP: 00007f47f0dad980 R08: 0000000000000000 R09: 0000000091352fd0 R10: 00007ffe0287f090 R11: 0000000000000293 R12: 0000000000094507 R13: 00007ffe0286a630 R14: 00007ffe0286a650 R15: 0000000000000032 Showing all locks held in the system: 3 locks held by kworker/u4:0/10: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c7984b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c7981b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c7990c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4758: #0: ffff88802cfaa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.5/6510: #0: ffff88804b738868 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff88804b738868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 2 locks held by syz-executor.5/6513: 2 locks held by kworker/u4:3/6560: 1 lock held by syz-executor.5/6650: #0: ffff8880228efc68 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff8880228efc68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 2 locks held by syz-executor.5/6651: 1 lock held by syz-executor.5/6697: #0: ffff88804b71e468 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff88804b71e468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 2 locks held by syz-executor.5/6698: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc5-syzkaller-00915-ge7c5433c5aaa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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:148 [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:379 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: 75 Comm: kworker/u4:4 Not tainted 6.4.0-rc5-syzkaller-00915-ge7c5433c5aaa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5444 [inline] RIP: 0010:lock_is_held_type+0x6f/0x140 kernel/locking/lockdep.c:5776 Code: 00 85 d2 0f 85 b1 00 00 00 48 89 fd 41 89 f6 9c 8f 04 24 fa 48 c7 c7 c0 6d 4c 8a 31 db e8 e9 14 00 00 41 8b 84 24 c0 0a 00 00 <4d> 8d ac 24 c8 0a 00 00 65 ff 05 a2 7d f1 75 85 c0 7f 12 e9 8a 00 RSP: 0018:ffffc90001587808 EFLAGS: 00000002 RAX: 0000000000000004 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffff8880b983c5d8 R08: ffff8880b983c680 R09: 0000000000000003 R10: 0000000000000001 R11: 0000000000000007 R12: ffff888019289dc0 R13: 00000000ffffffff R14: 00000000ffffffff R15: ffff888025060080 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561da8a50680 CR3: 000000000c571000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:288 [inline] lockdep_assert_rq_held kernel/sched/sched.h:1357 [inline] rq_clock_task kernel/sched/sched.h:1509 [inline] update_curr+0xdf/0x7c0 kernel/sched/fair.c:900 put_prev_entity+0xae/0x4c0 kernel/sched/fair.c:5141 pick_next_task_fair+0x93c/0x1290 kernel/sched/fair.c:8068 __pick_next_task kernel/sched/core.c:5972 [inline] pick_next_task kernel/sched/core.c:6047 [inline] __schedule+0x462/0x5880 kernel/sched/core.c:6633 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1f5/0x520 kernel/locking/lockdep.c:5673 Code: 97 9c 7e 83 f8 01 0f 85 b9 02 00 00 9c 58 f6 c4 02 0f 85 a4 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90001587ba0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920002b0f76 RCX: 4072acd3b9ba66a8 RDX: 1ffff11003251510 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff9152dd07 R10: fffffbfff22a5ba0 R11: 0000000000094001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8c7990c0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [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+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308