INFO: task syz-executor.2:9071 blocked for more than 143 seconds. Not tainted 6.2.0-rc2-syzkaller-00024-g512dee0c00ad #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24912 pid:9071 ppid:25324 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:0x7f9152c8c0c9 RSP: 002b:00007f9153a80168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9152dabf80 RCX: 00007f9152c8c0c9 RDX: 0000000020000040 RSI: 0000000040086e8b RDI: 0000000000000004 RBP: 00007f9152ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffebaae76ff R14: 00007f9153a80300 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 2 locks held by getty/4735: #0: ffff88814b526098 (&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 3 locks held by kworker/u4:92/16105: 2 locks held by syz-executor.2/9071: #0: ffff888031a3c460 (sb_writers#16){.+.+}-{0:0}, at: nilfs_ioctl_resize fs/nilfs2/ioctl.c:1025 [inline] #0: ffff888031a3c460 (sb_writers#16){.+.+}-{0:0}, at: nilfs_ioctl+0x1034/0x16f0 fs/nilfs2/ioctl.c:1301 #1: ffff88801cee5e70 (&mi->mi_sem){+.+.}-{3:3}, at: nilfs_sufile_set_alloc_range+0x4d/0x1d0 fs/nilfs2/sufile.c:272 4 locks held by syz-executor.2/9077: 2 locks held by syz-executor.0/9218: #0: ffff88803e602460 (sb_writers#16){.+.+}-{0:0}, at: nilfs_ioctl_resize fs/nilfs2/ioctl.c:1025 [inline] #0: ffff88803e602460 (sb_writers#16){.+.+}-{0:0}, at: nilfs_ioctl+0x1034/0x16f0 fs/nilfs2/ioctl.c:1301 #1: ffff8880793ec670 (&mi->mi_sem){+.+.}-{3:3}, at: nilfs_sufile_set_alloc_range+0x4d/0x1d0 fs/nilfs2/sufile.c:272 4 locks held by syz-executor.0/9227: 1 lock held by syz-executor.0/9529: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc2-syzkaller-00024-g512dee0c00ad #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15885 Comm: kworker/u4:53 Not tainted 6.2.0-rc2-syzkaller-00024-g512dee0c00ad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x1488/0x56d0 kernel/locking/lockdep.c:5051 Code: 81 c3 e0 ce 32 91 48 8d 7b 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 95 41 00 00 48 83 7b 40 00 <0f> 85 e5 f6 ff ff 0f 0b e9 de f6 ff ff 31 d2 4c 89 e6 4c 89 ef e8 RSP: 0018:ffffc9000ad77a28 EFLAGS: 00000086 RAX: dffffc0000000000 RBX: ffffffff9137f920 RCX: ffffffff8162c157 RDX: 1ffffffff226ff2c RSI: 0000000000000008 RDI: ffffffff9137f960 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff9132cb9f R10: fffffbfff2265973 R11: 0000000000000000 R12: ffff888040b00c08 R13: ffff888040b00180 R14: ffff888040b00bb8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020348030 CR3: 00000000a7e1a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 rcu_lock_acquire include/linux/rcupdate.h:325 [inline] rcu_read_lock include/linux/rcupdate.h:764 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x131/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308