INFO: task syz-executor.2:7854 blocked for more than 143 seconds. Not tainted 6.8.0-rc6-syzkaller-00021-gcf1182944c7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26992 pid:7854 tgid:7845 ppid:5101 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1198/0x1b90 fs/fuse/dev.c:513 fuse_do_setattr+0x1178/0x1f80 fs/fuse/dir.c:1941 fuse_setattr+0x2b3/0x730 fs/fuse/dir.c:2054 notify_change+0xb9d/0xe70 fs/attr.c:499 chown_common+0x500/0x850 fs/open.c:788 do_fchownat+0x16d/0x250 fs/open.c:819 __do_sys_lchown fs/open.c:844 [inline] __se_sys_lchown fs/open.c:842 [inline] __x64_sys_lchown+0x85/0xa0 fs/open.c:842 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f9ec727dda9 RSP: 002b:00007f9ec7f940c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007f9ec73ac120 RCX: 00007f9ec727dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000240 RBP: 00007f9ec72ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9ec73ac120 R15: 00007ffe648437d8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4817: #0: ffff88802a36e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.1/12261: #0: ffffffff8e136578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8e136578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995 3 locks held by kworker/u4:2/15198: 2 locks held by syz-executor.2/7854: #0: ffff888078a08420 (sb_writers#39){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880772ebe10 (&type->i_mutex_dir_key#15){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff8880772ebe10 (&type->i_mutex_dir_key#15){+.+.}-{3:3}, at: chown_common+0x3e0/0x850 fs/open.c:778 2 locks held by kworker/1:6/8333: #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000ada7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000ada7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 1 lock held by syz-executor.4/10454: 2 locks held by syz-executor.2/10460: 3 locks held by syz-executor.3/10465: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc6-syzkaller-00021-gcf1182944c7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 621 Comm: kworker/u4:5 Not tainted 6.8.0-rc6-syzkaller-00021-gcf1182944c7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:58 [inline] RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline] RIP: 0010:deref_stack_reg+0xad/0x260 arch/x86/kernel/unwind_orc.c:403 Code: 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 06 84 c0 0f 85 77 01 00 00 8b 2b 31 ff 89 ee e8 65 f5 52 00 85 ed <48> 8b 2c 24 48 8b 4c 24 20 74 22 48 39 e9 77 1d 49 39 ef 76 18 48 RSP: 0018:ffffc900030fe8e8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc900030fea20 RCX: ffff88801ec13b80 RDX: ffff88801ec13b80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81407b2b R09: ffffffff814066c0 R10: 0000000000000003 R11: ffff88801ec13b80 R12: 1ffff9200061fd45 R13: 1ffff9200061fd46 R14: 1ffff9200061fd44 R15: ffffc90003100000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f7937cb000 CR3: 000000004b29a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x1ab9/0x29e0 arch/x86/kernel/unwind_orc.c:648 arch_stack_walk+0x150/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3813 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmem_cache_alloc+0x16f/0x340 mm/slub.c:3867 f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:2800 [inline] f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2810 [inline] add_free_nid+0xdd/0x830 fs/f2fs/node.c:2297 scan_free_nid_bits fs/f2fs/node.c:2448 [inline] __f2fs_build_free_nids fs/f2fs/node.c:2482 [inline] f2fs_build_free_nids+0x514/0x11e0 fs/f2fs/node.c:2547 f2fs_balance_fs_bg+0x167/0x950 fs/f2fs/segment.c:484 f2fs_write_node_pages+0x146/0x6a0 fs/f2fs/node.c:2118 do_writepages+0x3aa/0x680 mm/page-writeback.c:2553 __writeback_single_inode+0x155/0xfd0 fs/fs-writeback.c:1625 writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916 wb_writeback+0x44d/0xc80 fs/fs-writeback.c:2092 wb_do_writeback fs/fs-writeback.c:2239 [inline] wb_workfn+0x400/0xfb0 fs/fs-writeback.c:2279 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243