INFO: task syz.3.48:6319 blocked for more than 143 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.48 state:D stack:22992 pid:6319 tgid:6317 ppid:5825 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 __wait_on_freeing_inode+0x1a4/0x2f0 fs/inode.c:2502 find_inode+0x29e/0x480 fs/inode.c:1062 inode_insert5+0xfd/0x4c0 fs/inode.c:1333 insert_inode_locked4+0x5b/0xb0 fs/inode.c:1879 nilfs_insert_inode_locked fs/nilfs2/inode.c:291 [inline] nilfs_new_inode+0x59d/0x830 fs/nilfs2/inode.c:345 nilfs_mkdir+0x10d/0x340 fs/nilfs2/namei.c:234 vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4311 do_mkdirat+0x264/0x3a0 fs/namei.c:4334 __do_sys_mkdirat fs/namei.c:4349 [inline] __se_sys_mkdirat fs/namei.c:4347 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4347 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd68785d29 RSP: 002b:00007fdd695a9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fdd68975fa0 RCX: 00007fdd68785d29 RDX: 00000000000001c0 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fdd68801b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdd68975fa0 R15: 00007ffc7689a7a8 INFO: task segctord:6325 blocked for more than 143 seconds. Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:22736 pid:6325 tgid:6325 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2586 [inline] nilfs_segctor_thread+0x693/0xe80 fs/nilfs2/segment.c:2701 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 3 locks held by kworker/1:2/976: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90003a27d00 ((work_completion)(&sci->sc_iput_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003a27d00 ((work_completion)(&sci->sc_iput_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff888031a42610 (sb_internal#7){.+.+}-{0:0}, at: nilfs_evict_inode+0x167/0x500 fs/nilfs2/inode.c:861 2 locks held by kworker/u8:8/2942: #0: ffff888020289948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888020289948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000bdc7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000bdc7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 2 locks held by getty/5572: #0: ffff88803561a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 4 locks held by syz.3.48/6319: #0: ffff888031a42420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff8880782baf40 (&type->i_mutex_dir_key#16/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #1: ffff8880782baf40 (&type->i_mutex_dir_key#16/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080 #2: ffff888031a42610 (sb_internal#7){.+.+}-{0:0}, at: nilfs_mkdir+0xce/0x340 fs/nilfs2/namei.c:228 #3: ffff888021bac2a0 (&nilfs->ns_segctor_sem){++++}-{4:4}, at: nilfs_transaction_begin+0x320/0x6e0 fs/nilfs2/segment.c:223 1 lock held by segctord/6325: #0: ffff888021bac2a0 (&nilfs->ns_segctor_sem){++++}-{4:4}, at: nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357 2 locks held by syz.7.133/7143: #0: ffff888031a420e0 (&type->s_umount_key#83){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff888031a420e0 (&type->s_umount_key#83){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88814374a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff88814374a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x26e/0xb50 fs/fs-writeback.c:2819 2 locks held by syz.7.133/7145: #0: ffff888031a420e0 (&type->s_umount_key#83){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff888031a420e0 (&type->s_umount_key#83){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88814374a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff88814374a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x26e/0xb50 fs/fs-writeback.c:2819 2 locks held by syz.7.133/7146: #0: ffff888031a420e0 (&type->s_umount_key#83){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff888031a420e0 (&type->s_umount_key#83){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88814374a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff88814374a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x26e/0xb50 fs/fs-writeback.c:2819 1 lock held by syz-executor/7190: #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz-executor/8738: #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.8.367/9537: 2 locks held by syz.3.368/9540: 5 locks held by dhcpcd-run-hook/9543: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: xfs-cil/loop6 xlog_cil_push_work RIP: 0010:__cq_empty kernel/locking/lockdep.c:1484 [inline] RIP: 0010:__cq_dequeue kernel/locking/lockdep.c:1510 [inline] RIP: 0010:__bfs kernel/locking/lockdep.c:1748 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1856 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2827 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3165 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3280 [inline] RIP: 0010:validate_chain+0x1ceb/0x5920 kernel/locking/lockdep.c:3904 Code: f7 74 21 42 80 3c 23 00 74 0d 48 8d bc 24 20 01 00 00 e8 18 cd 87 00 4c 8b ac 24 20 01 00 00 4d 85 ed 75 5b 8b 1d c5 ba b0 14 <3b> 1d c3 ba b0 14 0f 84 f3 04 00 00 81 fb 00 10 00 00 0f 83 78 04 RSP: 0018:ffffc90000bc6c40 EFLAGS: 00000046 RAX: 1ffffffff2da1dbf RBX: 0000000000000416 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000bc6d60 RBP: ffffc90000bc6f40 R08: ffffffff94271887 R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: dffffc0000000000 R13: ffffffff96d0edf8 R14: ffffffff93c780b0 R15: ffffffff93c780b0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f503900f000 CR3: 0000000035322000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 seqcount_lockdep_reader_access+0xed/0x1e0 include/linux/seqlock.h:72 read_seqbegin include/linux/seqlock.h:813 [inline] zone_span_seqbegin include/linux/memory_hotplug.h:103 [inline] page_outside_zone_boundaries mm/page_alloc.c:437 [inline] bad_range+0x5f/0x270 mm/page_alloc.c:456 __free_one_page+0x176/0x9b0 mm/page_alloc.c:787 free_pcppages_bulk+0x3c7/0x5e0 mm/page_alloc.c:1220 free_unref_page_commit+0x582/0x1140 mm/page_alloc.c:2634 free_unref_page+0x70c/0x1000 mm/page_alloc.c:2682 discard_slab mm/slub.c:2688 [inline] __put_partials+0x160/0x1c0 mm/slub.c:3157 put_cpu_partial+0x17c/0x250 mm/slub.c:3232 __slab_free+0x290/0x380 mm/slub.c:4483 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] __kmalloc_cache_noprof+0x1d9/0x390 mm/slub.c:4324 kmalloc_noprof include/linux/slab.h:901 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] xlog_cil_ctx_alloc fs/xfs/xfs_log_cil.c:103 [inline] xlog_cil_push_work+0x21c/0x2d00 fs/xfs/xfs_log_cil.c:1312 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244