INFO: task syz-executor.2:9380 blocked for more than 145 seconds. Not tainted 5.15.136-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26680 pid: 9380 ppid: 6463 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 request_wait_answer fs/fuse/dev.c:411 [inline] __fuse_request_send fs/fuse/dev.c:430 [inline] fuse_simple_request+0x112f/0x1a00 fs/fuse/dev.c:515 fuse_flush+0x5d2/0x800 fs/fuse/file.c:517 filp_close+0xad/0x150 fs/open.c:1319 close_files fs/file.c:432 [inline] put_files_struct+0x1b2/0x350 fs/file.c:447 do_exit+0x684/0x2480 kernel/exit.c:867 do_group_exit+0x144/0x310 kernel/exit.c:994 get_signal+0xc66/0x14e0 kernel/signal.c:2889 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ffa96c35ae9 RSP: 002b:00007ffcea068b38 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffff92 RBX: 00000000000807d8 RCX: 00007ffa96c35ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ffa96d54f8c RBP: 0000000000000032 R08: 00007ffa96d54f8c R09: 00007ffa96d5505c R10: 00007ffcea068c70 R11: 0000000000000246 R12: 00007ffa96d54f8c R13: 000000000008080a R14: 00007ffcea068c90 R15: 00007ffcea068c70 Showing all locks held in the system: 2 locks held by kworker/1:0/21: #0: ffff8880b9b39718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffffffff8c91f020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:268 1 lock held by khungtaskd/27: #0: ffffffff8c91f020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by udevd/2962: 2 locks held by getty/3257: #0: ffff88814b26d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor.4/6467: #0: ffff88801b5b0918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by udevd/9995: #0: ffff88801b5b0918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888147638468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.136-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3587 Comm: kworker/u4:4 Not tainted 5.15.136-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4708 [inline] RIP: 0010:__lock_acquire+0x72e/0x1ff0 kernel/locking/lockdep.c:4961 Code: 41 0f 94 c7 45 00 ff 41 80 c7 02 48 8b 44 24 40 0f b6 04 10 84 c0 0f 85 19 13 00 00 48 8b 44 24 30 44 3b 20 0f 8d 6c 02 00 00 <4d> 63 f4 4b 8d 04 b6 48 8b 4c 24 18 4c 8d ac c1 10 0b 00 00 48 c7 RSP: 0018:ffffc9000351f9a0 EFLAGS: 00000093 RAX: ffff8880193e28a8 RBX: 0000000000060779 RCX: ffff8880193e28b0 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880193e2894 RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff1f79a21 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880193e28a8 R14: 1ffff1100327c524 R15: ffff8880193e2904 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555a99978 CR3: 00000000645d3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269 rcu_read_lock include/linux/rcupdate.h:696 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298