INFO: task syz-executor.4:9127 blocked for more than 144 seconds. Not tainted 6.2.0-rc2-syzkaller-00057-g41c03ba9beea #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25440 pid:9127 ppid:5097 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 nilfs_sufile_set_alloc_range+0x4d/0x1d0 fs/nilfs2/sufile.c:272 nilfs_resize_fs+0x927/0xeb0 fs/nilfs2/super.c:459 nilfs_ioctl_resize fs/nilfs2/ioctl.c:1033 [inline] nilfs_ioctl+0x10ad/0x16f0 fs/nilfs2/ioctl.c:1301 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 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:0x7fd4d428c0c9 RSP: 002b:00007fd4d4f02168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd4d43abf80 RCX: 00007fd4d428c0c9 RDX: 0000000020000040 RSI: 0000000040086e8b RDI: 0000000000000004 RBP: 00007fd4d42e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe758b7c6f R14: 00007fd4d4f02300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c78df70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffffffff8c78dc70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c78eac0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 3 locks held by syslogd/4404: #0: ffff8880b993b5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537 #1: ffffffff91c52080 (&meta->lock){..-.}-{2:2}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffffffff91c52080 (&meta->lock){..-.}-{2:2}, at: generic_file_write_iter+0x92/0x350 mm/filemap.c:3929 #2: ffffffff8c78eac0 (rcu_read_lock){....}-{1:2}, at: mapping_can_writeback include/linux/backing-dev.h:150 [inline] #2: ffffffff8c78eac0 (rcu_read_lock){....}-{1:2}, at: __filemap_get_folio+0xab/0xd80 mm/filemap.c:1957 2 locks held by getty/4738: #0: ffff888022224098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020282f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.4/9127: #0: ffff888031050460 (sb_writers#24){.+.+}-{0:0}, at: nilfs_ioctl_resize fs/nilfs2/ioctl.c:1025 [inline] #0: ffff888031050460 (sb_writers#24){.+.+}-{0:0}, at: nilfs_ioctl+0x1034/0x16f0 fs/nilfs2/ioctl.c:1301 #1: ffff88807d9a2c70 (&mi->mi_sem){+.+.}-{3:3}, at: nilfs_sufile_set_alloc_range+0x4d/0x1d0 fs/nilfs2/sufile.c:272 3 locks held by syz-executor.4/9129: 2 locks held by syz-executor.3/10248: #0: ffffffff8e0a0850 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f8/0x6b0 net/core/net_namespace.c:479 #1: ffffffff8c799640 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6d0 kernel/rcu/tree.c:3997 2 locks held by syz-executor.2/10254: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc2-syzkaller-00057-g41c03ba9beea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 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: 10254 Comm: syz-executor.2 Not tainted 6.2.0-rc2-syzkaller-00057-g41c03ba9beea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:lock_release+0x73/0x810 kernel/locking/lockdep.c:5676 Code: 20 a0 0f 63 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 f1 04 f2 c7 40 08 04 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 88 00 00 00 <31> c0 0f 1f 44 00 00 48 c7 c3 00 1a 72 8e 65 44 8b 35 23 9c a0 7e RSP: 0018:ffffc90003adf7d8 EFLAGS: 00000282 RAX: 608ef6a706a99b00 RBX: 0000000000000001 RCX: ffffc9000cddc000 RDX: 0000000000040000 RSI: ffffffff884ed1c0 RDI: ffffffff8c78eac0 RBP: 1ffff9200075befd R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffff1100f6acc8a R12: ffffffff8c78eac0 R13: ffffc90003adfa28 R14: dffffc0000000000 R15: 00000000000681b6 FS: 00007f44520c8700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556733848 CR3: 000000003adb7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:330 [inline] rcu_read_unlock include/linux/rcupdate.h:797 [inline] inet_twsk_purge+0x562/0x8a0 net/ipv4/inet_timewait_sock.c:312 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 setup_net+0x9bd/0xe60 net/core/net_namespace.c:356 copy_net_ns+0x31b/0x6b0 net/core/net_namespace.c:483 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3b3/0x4a0 kernel/nsproxy.c:179 copy_process+0x30d3/0x7520 kernel/fork.c:2269 kernel_clone+0xeb/0x990 kernel/fork.c:2681 __do_sys_clone+0xba/0x100 kernel/fork.c:2822 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:0x7f445128c0c9 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:00007f44520c8118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f44513abf80 RCX: 00007f445128c0c9 RDX: 0000000020001580 RSI: 0000000000000000 RDI: 0000000042100000 RBP: 00007f44512e7ae9 R08: 0000000020001600 R09: 0000000020001600 R10: 00000000200015c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007ffdda7c539f R14: 00007f44520c8300 R15: 0000000000022000