INFO: task syz.1.108:7004 blocked for more than 143 seconds. Not tainted 6.15.0-rc2-syzkaller-00404-g8560697b23dc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.108 state:D stack:24616 pid:7004 tgid:7003 ppid:5828 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 io_schedule+0x8d/0x110 kernel/sched/core.c:7742 folio_wait_bit_common+0x83f/0xf00 mm/filemap.c:1317 folio_wait_writeback+0xb0/0x100 mm/page-writeback.c:3149 __filemap_fdatawait_range+0x17e/0x2b0 mm/filemap.c:539 filemap_fdatawait_keep_errors+0x31/0xd0 mm/filemap.c:633 wait_sb_inodes fs/fs-writeback.c:2714 [inline] sync_inodes_sb+0x8bf/0xb50 fs/fs-writeback.c:2836 iterate_supers+0xc6/0x190 fs/super.c:934 ksys_sync+0xc2/0x1d0 fs/sync.c:102 __do_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f472f38e169 RSP: 002b:00007f4730110038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f472f5b5fa0 RCX: 00007f472f38e169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f472f5b5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f472f5b5fa0 R15: 00007ffef20f11e8 Showing all locks held in the system: 3 locks held by kworker/u8:1/13: #0: ffff888030e57148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888030e57148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000127c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000127c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #2: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4735 1 lock held by khungtaskd/31: #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 5 locks held by kworker/1:1/54: #0: ffff8880b8739998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605 #1: ffff8880b8723b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987 #2: ffff8880b8725558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base kernel/time/timer.c:1046 [inline] #2: ffff8880b8725558 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x24c/0x10f0 kernel/time/timer.c:1127 #3: ffffffff9a998450 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x190/0x5c0 lib/debugobjects.c:818 #4: ffff8880b8639118 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x785/0x10a0 kernel/workqueue.c:-1 3 locks held by kworker/u8:5/1133: #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90003c77c60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003c77c60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 5 locks held by kworker/u8:6/1150: #0: ffff88801bef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801bef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90004047c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90004047c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900de790 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17c/0xd60 net/core/net_namespace.c:608 #3: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xde/0x880 net/core/dev.c:12524 #4: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #4: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998 1 lock held by dhcpcd/5496: #0: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_deladdr+0x1a3/0x7d0 net/ipv4/devinet.c:671 2 locks held by getty/5587: #0: ffff8880362220a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900033532f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 2 locks held by syz.0.82/6721: #0: ffff888033e587f8 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x247/0x310 fs/file.c:1213 #1: ffff88807f19a420 (sb_writers#18){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline] #1: ffff88807f19a420 (sb_writers#18){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 2 locks held by bch-copygc/loop/6751: 2 locks held by syz.1.108/7004: #0: ffff88807f19a0e0 (&type->s_umount_key#64){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807f19a0e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88807f19a948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2653 [inline] #1: ffff88807f19a948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x330/0xb50 fs/fs-writeback.c:2836 1 lock held by syz-executor/9063: #0: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff900eb2c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4064 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc2-syzkaller-00404-g8560697b23dc #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:274 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:437 kthread+0x7b7/0x940 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: 6751 Comm: bch-copygc/loop Not tainted 6.15.0-rc2-syzkaller-00404-g8560697b23dc #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:unwind_get_return_address+0x67/0x90 arch/x86/kernel/unwind_orc.c:370 Code: 48 89 df e8 ab cf bc 00 48 8b 3b e8 e3 9b 1e 00 85 c0 74 14 43 80 3c 37 00 74 08 48 89 df e8 90 cf bc 00 48 8b 03 eb 02 31 c0 <5b> 41 5e 41 5f c3 cc cc cc cc 89 d9 80 e1 07 80 c1 03 38 c1 7c a9 RSP: 0018:ffffc900048270c0 EFLAGS: 00000246 RAX: ffffffff816215cb RBX: ffffc90004827128 RCX: ffffffff91bda000 RDX: ffffffff91d94e01 RSI: ffffffff8e4c7ff2 RDI: ffffffff816215cb RBP: ffffc90004827170 R08: ffffc90004827f20 R09: 0000000000000000 R10: ffffc90004827130 R11: fffff52000904e28 R12: ffff888027d1bc00 R13: ffffffff81ae6180 R14: dffffc0000000000 R15: 1ffff92000904e25 FS: 0000000000000000(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557f2c55c8 CR3: 000000000eb38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xff/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x9d/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __kmalloc_cache_noprof+0x236/0x370 mm/slub.c:4372 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] move_bucket_in_flight_add fs/bcachefs/movinggc.c:47 [inline] bch2_copygc+0x2fd9/0x4db0 fs/bcachefs/movinggc.c:229 bch2_copygc_thread+0x705/0xc00 fs/bcachefs/movinggc.c:398 kthread+0x7b7/0x940 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