INFO: task segctord:12669 blocked for more than 143 seconds. Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:29632 pid:12669 ppid:2 flags:0x00004000 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_transaction_lock+0x266/0x410 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2486 [inline] nilfs_segctor_thread+0xa58/0xf30 fs/nilfs2/segment.c:2570 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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 1 lock held by udevd/4420: 2 locks held by getty/4739: #0: ffff88814aad0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020182f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:0/5086: 3 locks held by syz-executor.0/12661: 4 locks held by syz-executor.0/12671: 1 lock held by segctord/12669: #0: ffff88801e0072a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x266/0x410 fs/nilfs2/segment.c:357 2 locks held by syz-executor.5/15640: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #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: 10636 Comm: kworker/0:12 Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events nsim_dev_trap_report_work RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:lock_release+0x40a/0x810 kernel/locking/lockdep.c:5691 Code: 00 0f 85 9e 02 00 00 48 c7 c7 00 40 4c 8a e8 2d d6 a2 08 b8 ff ff ff ff 65 0f c1 05 68 75 9f 7e 83 f8 01 0f 85 02 02 00 00 9c <58> f6 c4 02 0f 85 ed 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 RSP: 0018:ffffc90004fdf9f8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: dad7e930103a0e48 RCX: ffffc90004fdfa50 RDX: 1ffff11010770145 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff920009fbf42 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000040df662a R12: 0000000000000004 R13: 0000000000000005 R14: ffff888083b80a30 R15: ffff888083b80000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe974785058 CR3: 000000007cc0b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: local_lock_release include/linux/local_lock_internal.h:38 [inline] crng_make_state+0x28d/0x6c0 drivers/char/random.c:372 _get_random_bytes.part.0+0x95/0x1a0 drivers/char/random.c:385 _get_random_bytes drivers/char/random.c:381 [inline] get_random_bytes+0x31/0x40 drivers/char/random.c:417 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:779 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:808 [inline] nsim_dev_trap_report_work+0x75b/0xc80 drivers/net/netdevsim/dev.c:853 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