INFO: task segctord:2279 blocked for more than 143 seconds. Not tainted 6.2.0-rc6-syzkaller-00003-g22b8077d0fce #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:24704 pid:2279 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 nilfs_transaction_lock+0x246/0x4b0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2486 [inline] nilfs_segctor_thread+0x593/0x11c0 fs/nilfs2/segment.c:2570 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task segctord:3397 blocked for more than 144 seconds. Not tainted 6.2.0-rc6-syzkaller-00003-g22b8077d0fce #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:24824 pid:3397 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 nilfs_transaction_lock+0x246/0x4b0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2486 [inline] nilfs_segctor_thread+0x593/0x11c0 fs/nilfs2/segment.c:2570 kthread+0x266/0x300 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/12: #0: ffffffff8d326f10 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327710 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 3 locks held by kworker/0:1/14: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90000137d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8d32c3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 1 lock held by khungtaskd/28: #0: ffffffff8d326d40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4753: #0: ffff88814a0d2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by kworker/1:16/6541: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90016de7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/u4:15/19778: 6 locks held by syz-executor.1/2284: 1 lock held by segctord/2279: #0: ffff88802d1c62a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x246/0x4b0 fs/nilfs2/segment.c:357 7 locks held by syz-executor.5/3391: 1 lock held by segctord/3397: #0: ffff888022c3d2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x246/0x4b0 fs/nilfs2/segment.c:357 2 locks held by syz-executor.0/9042: #0: ffff888030bd60e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffffffff8d32c3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8d32c3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.1/9046: #0: ffff8880846040e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc6-syzkaller-00003-g22b8077d0fce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/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: 4425 Comm: klogd Not tainted 6.2.0-rc6-syzkaller-00003-g22b8077d0fce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:kfence_unprotect+0x0/0x230 mm/kfence/core.c:238 Code: 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ae fe ff ff 48 89 df e8 b2 bf ff ff e9 a1 fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 00 RSP: 0018:ffffc90005dff3d8 EFLAGS: 00000093 RAX: ffffffff81e0b76f RBX: 0000000000000002 RCX: ffff88807d90ba80 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff88823bd9c000 RBP: ffffc90005dff4f0 R08: ffffffff81e0b765 R09: fffffbfff20fd833 R10: fffffbfff20fd833 R11: 1ffffffff20fd832 R12: ffff88823bd9c000 R13: ffffffff920886a8 R14: 00000000000000f0 R15: ffffffff92088710 FS: 00007f6cdff19800(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555a6d8c8 CR3: 000000001dc28000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kfence_guarded_alloc+0x3e7/0xb30 mm/kfence/core.c:399 __kfence_alloc+0x315/0x340 mm/kfence/core.c:1028 kfence_alloc include/linux/kfence.h:128 [inline] slab_alloc_node mm/slub.c:3438 [inline] kmem_cache_alloc_node+0x371/0x390 mm/slub.c:3497 __alloc_skb+0xd7/0x2c0 net/core/skbuff.c:552 alloc_skb include/linux/skbuff.h:1270 [inline] alloc_skb_with_frags+0xb4/0x780 net/core/skbuff.c:6195 sock_alloc_send_pskb+0x938/0xa70 net/core/sock.c:2741 unix_dgram_sendmsg+0x5b7/0x2130 net/unix/af_unix.c:1943 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x46e/0x5f0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6ce00b50ac Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10 RSP: 002b:00007ffe2f53fd88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6ce00b50ac RDX: 000000000000005e RSI: 000056022aad3370 RDI: 0000000000000003 RBP: 000056022aac9910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007f6ce023077d R15: 00007ffe2f53fe98