INFO: task syz-executor.0:18902 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-next-20230420-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28856 pid:18902 ppid:5113 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5334 [inline] __schedule+0x1d23/0x5650 kernel/sched/core.c:6659 schedule+0xde/0x1a0 kernel/sched/core.c:6735 request_wait_answer+0x46d/0x850 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x504/0xd80 fs/fuse/dev.c:513 fuse_do_getattr+0x245/0xb60 fs/fuse/dir.c:1185 fuse_update_get_attr fs/fuse/dir.c:1223 [inline] fuse_getattr+0x42e/0x500 fs/fuse/dir.c:1992 vfs_getattr_nosec+0x2db/0x440 fs/stat.c:133 vfs_getattr fs/stat.c:170 [inline] vfs_statx+0x197/0x430 fs/stat.c:242 vfs_fstatat+0x90/0xb0 fs/stat.c:276 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446 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:0x7f711ac8c169 RSP: 002b:00007f711b95c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f711adac120 RCX: 00007f711ac8c169 RDX: 0000000000000000 RSI: 0000000020000540 RDI: ffffffffffffff9c RBP: 00007f711ace7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff882367ff R14: 00007f711b95c300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c7974b0 (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: ffffffff8c7971b0 (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: ffffffff8c7980c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by getty/4758: #0: ffff888026fe0098 (&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+0xef4/0x13e0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.1/19069: #0: ffff888033576460 (sb_writers#17){.+.+}-{0:0}, at: do_open fs/namei.c:3553 [inline] #0: ffff888033576460 (sb_writers#17){.+.+}-{0:0}, at: path_openat+0x19a4/0x2750 fs/namei.c:3715 1 lock held by syz-executor.3/19281: #0: ffff88807e78c460 (sb_writers#17){.+.+}-{0:0}, at: do_open fs/namei.c:3553 [inline] #0: ffff88807e78c460 (sb_writers#17){.+.+}-{0:0}, at: path_openat+0x19a4/0x2750 fs/namei.c:3715 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-next-20230420-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/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+0x33e/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: 5275 Comm: kworker/u4:7 Not tainted 6.3.0-rc7-next-20230420-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_release kernel/locking/lockdep.c:5349 [inline] RIP: 0010:lock_release+0x183/0x670 kernel/locking/lockdep.c:5711 Code: 93 ec a4 08 48 89 da 83 e3 07 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 c7 44 24 40 01 00 00 00 83 c3 03 65 ff 05 ad ea 9c 7e <0f> b6 04 02 65 4c 8b 3c 25 80 bb 03 00 38 c3 7c 08 84 c0 0f 85 43 RSP: 0018:ffffc90005d47b48 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 0000000000000003 RCX: ffffffff81659df5 RDX: 1ffffffff1cf2d06 RSI: 0000000000000201 RDI: 0000000000000000 RBP: 1ffff92000ba8f6b R08: 0000000000000001 R09: ffffffff8e793317 R10: fffffbfff1cf2662 R11: 0000000000000000 R12: ffff88802ed50398 R13: ffff88802ecd4c80 R14: ffff88801c518000 R15: ffffffff89d56570 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056216a0fb600 CR3: 000000000c571000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline] _raw_spin_unlock_bh+0x16/0x30 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:395 [inline] batadv_nc_purge_paths+0x1cc/0x3c0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x8fa/0xfe0 net/batman-adv/network-coding.c:720 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x33e/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308