INFO: task syz.0.811:13701 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-00189-g595523945be0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.811 state:D stack:23800 pid:13701 tgid:13640 ppid:12807 flags:0x00000004 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 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1299 folio_wait_writeback+0xb0/0x100 mm/page-writeback.c:3200 __filemap_fdatawait_range+0x17c/0x2b0 mm/filemap.c:523 filemap_write_and_wait_range+0x2d1/0x3a0 mm/filemap.c:684 bch2_write_invalidate_inode_pages_range+0x82/0x120 fs/bcachefs/fs-io-pagecache.c:61 bch2_direct_write+0x2ec9/0x31a0 fs/bcachefs/fs-io-direct.c:648 bch2_write_iter+0x194/0x2c10 fs/bcachefs/fs-io-buffered.c:1036 iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1164 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x564/0x8a0 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1424 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410 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:0x7fae7cd85d29 RSP: 002b:00007fae7db02038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fae7cf76080 RCX: 00007fae7cd85d29 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000006 RBP: 00007fae7ce01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000fffe83 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fae7cf76080 R15: 00007ffe67a61058 Showing all locks held in the system: 2 locks held by kworker/u8:1/12: #0: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 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 2 locks held by kworker/u8:2/35: 3 locks held by kworker/u8:12/3573: 2 locks held by getty/5577: #0: ffff8880317340a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:8/10438: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90002e67d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90002e67d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88807427d240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 1 lock held by syz.0.811/13641: #0: ffff8880345ec420 (sb_writers#15){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff8880345ec420 (sb_writers#15){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 1 lock held by syz.0.811/13701: #0: ffff8880345ec420 (sb_writers#15){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x220 fs/splice.c:1163 4 locks held by bch-reclaim/loo/13663: #0: ffff888053ccb0a8 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x167/0x560 fs/bcachefs/journal_reclaim.c:739 #1: ffff888053c84398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline] #1: ffff888053c84398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline] #1: ffff888053c84398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7e1/0xd30 fs/bcachefs/btree_iter.c:3228 #2: ffff888053c84740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x1b19/0x1cc0 fs/bcachefs/btree_write_buffer.c:516 #3: ffff888053ca66d0 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 fs/bcachefs/btree_update_interior.c:1197 2 locks held by syz.8.942/14800: #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2641 [inline] #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x32e/0xb50 fs/fs-writeback.c:2824 2 locks held by syz.6.978/15067: #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2641 [inline] #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x32e/0xb50 fs/fs-writeback.c:2824 2 locks held by syz.6.978/15069: #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2641 [inline] #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x32e/0xb50 fs/fs-writeback.c:2824 2 locks held by syz.6.978/15102: #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2641 [inline] #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x32e/0xb50 fs/fs-writeback.c:2824 2 locks held by syz.6.978/15104: #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2641 [inline] #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x32e/0xb50 fs/fs-writeback.c:2824 2 locks held by syz.6.978/15109: #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880345ec0e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2641 [inline] #1: ffff8880345ec948 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x32e/0xb50 fs/fs-writeback.c:2824 3 locks held by syz-executor/15881: #0: ffffffff8fd03730 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8fd035e8 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline] #1: ffffffff8fd035e8 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #1: ffffffff8fd035e8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x121/0xec0 net/netlink/genetlink.c:1209 #2: ffffffff8fca0d08 (rtnl_mutex){+.+.}-{4:4}, at: ieee80211_register_hw+0x2c4e/0x3e10 net/mac80211/main.c:1520 2 locks held by syz.1.1085/16376: 1 lock held by dhcpcd-run-hook/16411: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00189-g595523945be0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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: 16411 Comm: dhcpcd-run-hook Not tainted 6.13.0-rc7-syzkaller-00189-g595523945be0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:lock_acquire+0xc/0x550 kernel/locking/lockdep.c:5817 Code: c0 c3 cc cc cc cc 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 <41> 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 4c 89 4c 24 28 4c RSP: 0000:ffffc90000a18b98 EFLAGS: 00000046 RAX: 0000000000000102 RBX: 1ffff9200014317c RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888032ea1660 RBP: ffffc90000a18ba8 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff2030b4f R12: 0000000000000246 R13: 1ffff92000143178 R14: ffff888032ea1648 R15: dffffc0000000000 FS: 00007f7f5ec6b380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f5ee10dd0 CR3: 0000000067cca000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 skb_dequeue+0x2d/0x150 net/core/skbuff.c:3894 ieee80211_handle_queued_frames+0x4a/0x1e0 net/mac80211/main.c:434 tasklet_action_common+0x426/0x620 kernel/softirq.c:811 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/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:lock_release+0x658/0xa30 kernel/locking/lockdep.c:5874 Code: 3c 3b 00 74 08 4c 89 f7 e8 05 74 88 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0000:ffffc9000434f460 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000869e9e RCX: ffffc9000434f403 RDX: 0000000000000005 RSI: ffffffff8c0aaae0 RDI: ffffffff8c5edf20 RBP: ffffc9000434f5a0 R08: ffffffff90185a77 R09: 1ffffffff2030b4e R10: dffffc0000000000 R11: fffffbfff2030b4f R12: 1ffff92000869e98 R13: 0000000000000246 R14: ffffc9000434f4f0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] page_ext_put+0xa3/0xc0 mm/page_ext.c:550 __page_table_check_ptes_set+0x30f/0x410 mm/page_table_check.c:225 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:288 [inline] set_pte_range+0x724/0x750 mm/memory.c:5067 filemap_map_order0_folio mm/filemap.c:3615 [inline] filemap_map_pages+0x11c5/0x1900 mm/filemap.c:3669 do_fault_around mm/memory.c:5280 [inline] do_read_fault mm/memory.c:5313 [inline] do_fault mm/memory.c:5456 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault+0x3888/0x5ed0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8b0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f7f5ee10dd0 Code: 4c 89 c0 0f 01 d6 74 04 c5 fc 77 c3 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f bc c0 48 39 c6 0f 42 c6 eb dd 0f 1f 40 00 <66> 0f 6e fe 89 f8 c4 e2 7d 78 ff c5 f9 ef c0 c1 e0 14 3d 00 00 00 RSP: 002b:00007ffea6da3708 EFLAGS: 00010206 RAX: 00007f7f5eea21a0 RBX: 00007ffea6da37b8 RCX: 00007ffea6da37d0 RDX: 00007ffea6da37d0 RSI: 000000000000002f RDI: 00007ffea6da4e33 RBP: 00007ffea6da4e33 R08: 0000000000000000 R09: 000000000000000d R10: 00007ffea6da33f0 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffea6da37b8 R14: 00007ffea6da37d0 R15: 0000000000000000