INFO: task syz-executor:6133 blocked for more than 143 seconds. Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20584 pid:6133 tgid:6133 ppid:1 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5366 [inline] __schedule+0x1ac3/0x5090 kernel/sched/core.c:6747 __schedule_loop kernel/sched/core.c:6824 [inline] schedule+0x163/0x360 kernel/sched/core.c:6839 schedule_timeout+0xb1/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x360/0x630 kernel/sched/completion.c:148 kthread_stop+0x1a1/0x640 kernel/kthread.c:791 bch2_copygc_stop+0x4f/0x150 fs/bcachefs/movinggc.c:413 __bch2_fs_read_only+0x47/0x450 fs/bcachefs/super.c:265 bch2_fs_read_only+0xc80/0x1360 fs/bcachefs/super.c:356 __bch2_fs_stop+0x107/0x5b0 fs/bcachefs/super.c:634 generic_shutdown_super+0x139/0x2d0 fs/super.c:642 bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2312 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x422/0x4c0 fs/namespace.c:1435 task_work_run+0x251/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdefd58e497 RSP: 002b:00007fffa8ef1668 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdefd60e08c RCX: 00007fdefd58e497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffa8ef1720 RBP: 00007fffa8ef1720 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffa8ef27b0 R13: 00007fdefd60e08c R14: 00000000000195ef R15: 00007fffa8ef27f0 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8eb3a260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8eb3a260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8eb3a260 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6761 3 locks held by udevd/5194: 2 locks held by getty/5577: #0: ffff88814d61a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000334b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x53d/0x16b0 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/6127: 1 lock held by udevd/6131: 2 locks held by syz-executor/6133: #0: ffff8880584d00e0 (&type->s_umount_key#64){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880584d00e0 (&type->s_umount_key#64){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880584d00e0 (&type->s_umount_key#64){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff888059d00278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xff/0x5b0 fs/bcachefs/super.c:633 3 locks held by kworker/0:4/6172: #0: ffff8880b8639998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:595 #1: ffff8880b8623b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987 #2: ffff8880b8641098 (&ACCESS_PRIVATE(sdp, lock)){....}-{3:3}, at: spin_lock_irq include/linux/spinlock.h:376 [inline] #2: ffff8880b8641098 (&ACCESS_PRIVATE(sdp, lock)){....}-{3:3}, at: srcu_invoke_callbacks+0x365/0x4a0 kernel/rcu/srcutree.c:1814 6 locks held by syz.1.1399/9804: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 9804 Comm: syz.1.1399 Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1089 [inline] RIP: 0010:debug_check_no_obj_freed+0x2cf/0x590 lib/debugobjects.c:1129 Code: ff c7 48 8b 44 24 38 48 85 c0 0f 84 a4 02 00 00 49 89 c4 49 89 c5 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 <74> 08 4c 89 e7 e8 77 72 2d fd 49 8b 04 24 48 89 44 24 38 49 8d 5c RSP: 0018:ffffc900000079c0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff888027307280 RCX: dffffc0000000000 RDX: ffff888025027698 RSI: ffffffff8c802160 RDI: ffffffff8c802120 RBP: ffffc90000007b18 R08: 0000000000000003 R09: fffff52000000f14 R10: dffffc0000000000 R11: fffff52000000f14 R12: ffff88801ebd47e0 R13: 1ffff11003d7a8fc R14: ffff888027998a58 R15: 0000000000000003 FS: 00007fa445fcb6c0(0000) GS:ffff888125243000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4451705a0 CR3: 0000000032d08000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: slab_free_hook mm/slub.c:2307 [inline] slab_free mm/slub.c:4633 [inline] kfree+0x11b/0x430 mm/slub.c:4832 slab_free_after_rcu_debug+0x62/0x280 mm/slub.c:4670 rcu_do_batch kernel/rcu/tree.c:2568 [inline] rcu_core+0xaac/0x17a0 kernel/rcu/tree.c:2824 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline] RIP: 0010:vprintk_emit+0x702/0xa10 kernel/printk/printk.c:2431 Code: 00 e8 c2 51 21 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 b0 51 21 00 eb 06 e8 a9 51 21 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 00 5e a1 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90004a0f6a0 EFLAGS: 00000287 RAX: ffffffff81a214b7 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000d8ab000 RSI: 000000000003db8a RDI: 000000000003db8b RBP: ffffc90004a0f7b0 R08: ffffffff81a21490 R09: 1ffffffff207810e R10: dffffc0000000000 R11: fffffbfff207810f R12: dffffc0000000000 R13: 1ffff92000941ed8 R14: ffffffff81a212f2 R15: ffffc90004a0f740 _printk+0xd5/0x120 kernel/printk/printk.c:2457 f2fs_printk+0x3ec/0x470 fs/f2fs/super.c:-1 f2fs_fill_super+0x41b5/0x6930 fs/f2fs/super.c:4640 mount_bdev+0x20c/0x2d0 fs/super.c:1693 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2b0 fs/super.c:1759 do_new_mount+0x2cf/0xb70 fs/namespace.c:3878 do_mount fs/namespace.c:4218 [inline] __do_sys_mount fs/namespace.c:4429 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4406 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa44518e90a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa445fcae68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa445fcaef0 RCX: 00007fa44518e90a RDX: 0000200000000180 RSI: 0000200000000040 RDI: 00007fa445fcaeb0 RBP: 0000200000000180 R08: 00007fa445fcaef0 R09: 000000000200881a R10: 000000000200881a R11: 0000000000000246 R12: 0000200000000040 R13: 00007fa445fcaeb0 R14: 0000000000005576 R15: 00002000000006c0