INFO: task kworker/u4:1:11 blocked for more than 143 seconds. Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:19552 pid:11 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5296 [inline] __schedule+0x1409/0x43f0 kernel/sched/core.c:6609 schedule+0xc3/0x190 kernel/sched/core.c:6685 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143 do_wait_for_common+0x449/0x5f0 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x4a/0x60 kernel/sched/completion.c:138 io_ring_exit_work+0x715/0x800 io_uring/io_uring.c:2912 process_one_work+0x8fa/0x1370 kernel/workqueue.c:2289 worker_thread+0xa63/0x1210 kernel/workqueue.c:2436 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90000107d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf25950 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf26150 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8cf25780 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4739: #0: ffff88802c10b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/5092: #0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x474/0x890 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.4/5098: #0: ffff88803bd280e0 (&type->s_umount_key#52){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:362 2 locks held by kworker/0:6/5157: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90004b6fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:7/5159: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90004b8fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/u4:6/5171: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90004c0fd20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:8/5195: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90004d4fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:10/5554: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc900064ffd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:11/5557: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc900080c7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:12/5558: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc900080d7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:14/5662: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc9000642fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:15/5664: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc9000645fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:19/9925: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc900064cfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/u4:15/11633: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc9000b5d7d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:2/21192: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90004bffd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 3 locks held by kworker/0:23/4022: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90018067d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 #2: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ab/0x890 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:26/4025: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90018097d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:30/4029: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90017f27d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:31/4030: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90017df7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 2 locks held by kworker/0:32/4031: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc900180d7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 3 locks held by kworker/1:32/5831: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc9001740fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 #2: ffffffff8e07e9c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:277 2 locks held by kworker/u4:3/13247: #0: ffff8880b993b1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:537 #1: ffff8880b9928748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x679/0xa30 kernel/sched/psi.c:976 3 locks held by syz-executor.3/18006: 1 lock held by segctord/18007: #0: ffff888020d942a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357 2 locks held by kworker/0:0/18307: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90005697d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 4 locks held by syz-executor.2/18909: 1 lock held by segctord/18913: #0: ffff88803cca62a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357 1 lock held by syz-executor.2/19071: #0: ffffffff8e07e9c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline] #0: ffffffff8e07e9c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x770/0xe90 net/core/rtnetlink.c:6138 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b4/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf70/0xfb0 kernel/hung_task.c:377 kthread+0x270/0x300 kernel/kthread.c:376 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: 18909 Comm: syz-executor.2 Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline] RIP: 0010:nilfs_test_transaction_flag fs/nilfs2/nilfs.h:169 [inline] RIP: 0010:nilfs_doing_gc fs/nilfs2/nilfs.h:178 [inline] RIP: 0010:nilfs_dat_translate+0xd5/0x560 fs/nilfs2/dat.c:402 Code: f6 31 d2 4c 89 e9 e8 9a 58 03 00 41 89 c6 31 ff 89 c6 e8 1e c9 3a fe 45 85 f6 0f 88 aa 00 00 00 44 89 74 24 14 48 89 5c 24 28 <65> 48 8b 05 d3 99 b2 7c 48 89 44 24 18 48 8d 98 c0 11 00 00 48 89 RSP: 0018:ffffc90016a37540 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 1ffff92002d46eb0 RCX: 0000000000000001 RDX: ffff888084583a80 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90016a37610 R08: ffffffff83510e52 R09: ffffed100fda921b R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002d46eb4 R13: ffffc90016a375a0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe3191f0700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83ba102300 CR3: 000000007a2c4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_lookup_at_level+0x1fe/0x370 fs/nilfs2/bmap.c:75 nilfs_bmap_lookup fs/nilfs2/bmap.h:170 [inline] nilfs_mdt_submit_block+0x2a4/0x8f0 fs/nilfs2/mdt.c:142 nilfs_mdt_read_block+0xeb/0x430 fs/nilfs2/mdt.c:176 nilfs_mdt_get_block+0x12d/0xbb0 fs/nilfs2/mdt.c:251 nilfs_palloc_get_block+0x142/0x240 fs/nilfs2/alloc.c:216 nilfs_palloc_get_bitmap_block fs/nilfs2/alloc.c:284 [inline] nilfs_palloc_prepare_free_entry+0x3b2/0x5e0 fs/nilfs2/alloc.c:691 nilfs_ifile_delete_inode+0xb7/0x3e0 fs/nilfs2/ifile.c:106 nilfs_evict_inode+0x210/0x420 fs/nilfs2/inode.c:937 evict+0x2a4/0x620 fs/inode.c:664 do_unlinkat+0x4f1/0x930 fs/namei.c:4327 __do_sys_unlink fs/namei.c:4368 [inline] __se_sys_unlink fs/namei.c:4366 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4366 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe31848c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe3191f0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fe3185abf80 RCX: 00007fe31848c0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 RBP: 00007fe3184e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffddba69e9f R14: 00007fe3191f0300 R15: 0000000000022000