INFO: task syz.3.35:6154 blocked for more than 143 seconds. Not tainted 6.13.0-rc6-syzkaller-00231-g77a903cd8e5a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.35 state:D stack:22328 pid:6154 tgid:6154 ppid:5821 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 __bch2_two_state_lock+0x229/0x2c0 fs/bcachefs/two_state_shared_lock.c:7 bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline] bch2_page_mkwrite+0x41f/0x1020 fs/bcachefs/fs-io-pagecache.c:623 do_page_mkwrite+0x15c/0x350 mm/memory.c:3176 wp_page_shared mm/memory.c:3577 [inline] do_wp_page+0x23cd/0x49b0 mm/memory.c:3727 handle_pte_fault+0xfa5/0x5ed0 mm/memory.c:5817 __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:0x7f57b354da98 RSP: 002b:00007ffed439dc88 EFLAGS: 00010202 RAX: 0000000020000140 RBX: 0000000000000004 RCX: 706f6f6c2f766564 RDX: 0000000000000009 RSI: 6f6f6c2f7665642f RDI: 0000000020000140 RBP: 00007f57b3777ba0 R08: 00007f57b3400000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 0000000000015106 R13: 00007ffed439dd90 R14: 0000000000000032 R15: fffffffffffffffe INFO: task syz.3.35:6157 blocked for more than 144 seconds. Not tainted 6.13.0-rc6-syzkaller-00231-g77a903cd8e5a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.35 state:D stack:14368 pid:6157 tgid:6154 ppid:5821 flags:0x00004006 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_lock include/linux/pagemap.h:1151 [inline] invalidate_inode_pages2_range+0x440/0xe10 mm/truncate.c:627 bch2_write_invalidate_inode_pages_range+0xce/0x120 fs/bcachefs/fs-io-pagecache.c:68 bchfs_fcollapse_finsert+0x207/0x630 fs/bcachefs/fs-io.c:558 bch2_fallocate_dispatch+0x3c9/0x540 vfs_fallocate+0x569/0x6e0 fs/open.c:327 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:356 [inline] __se_sys_fallocate fs/open.c:354 [inline] __x64_sys_fallocate+0xbc/0x110 fs/open.c:354 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:0x7f57b3585d29 RSP: 002b:00007f57b42f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f57b3775fa0 RCX: 00007f57b3585d29 RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000009 RBP: 00007f57b3601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f57b3775fa0 R15: 00007ffed439db28 INFO: task syz.3.35:6210 blocked for more than 144 seconds. Not tainted 6.13.0-rc6-syzkaller-00231-g77a903cd8e5a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.35 state:D stack:12368 pid:6210 tgid:6154 ppid:5821 flags:0x00004006 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 __bch2_two_state_lock+0x229/0x2c0 fs/bcachefs/two_state_shared_lock.c:7 bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline] bch2_readahead+0x9a2/0x11e0 fs/bcachefs/fs-io-buffered.c:258 read_pages+0x176/0x750 mm/readahead.c:160 page_cache_ra_order+0x7e3/0xb60 mm/readahead.c:512 filemap_readahead mm/filemap.c:2509 [inline] filemap_get_pages+0x95f/0x2080 mm/filemap.c:2554 filemap_splice_read+0x68e/0xef0 mm/filemap.c:2913 do_splice_read fs/splice.c:985 [inline] splice_direct_to_actor+0x4af/0xc80 fs/splice.c:1089 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:0x7f57b3585d29 RSP: 002b:00007f57b42d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f57b3776080 RCX: 00007f57b3585d29 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000007 RBP: 00007f57b3601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f57b3776080 R15: 00007ffed439db28 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #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 rcu_exp_gp_kthr/19: 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/u8:11/3520: 3 locks held by kworker/u8:12/3578: #0: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffffc9000d14fd00 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000d14fd00 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88804d148768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: wiphy_lock include/net/cfg80211.h:6019 [inline] #2: ffff88804d148768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd9/0x480 net/wireless/core.c:426 2 locks held by dhcpcd/5491: #0: ffffffff8fc861c8 (vlan_ioctl_mutex){+.+.}-{4:4}, at: sock_ioctl+0x661/0x8e0 net/socket.c:1290 #1: ffffffff8fca0b08 (rtnl_mutex){+.+.}-{4:4}, at: vlan_ioctl_handler+0x112/0x9d0 net/8021q/vlan.c:553 2 locks held by getty/5579: #0: ffff888031e250a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz.3.35/6154: #0: ffff88802cef84a8 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:717 [inline] #0: ffff88802cef84a8 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff88806b7e6518 (sb_pagefaults#3){.+.+}-{0:0}, at: do_page_mkwrite+0x15c/0x350 mm/memory.c:3176 2 locks held by syz.3.35/6157: #0: ffff88806b7e6420 (sb_writers#14){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff88806b7e6420 (sb_writers#14){.+.+}-{0:0}, at: vfs_fallocate+0x4fe/0x6e0 fs/open.c:326 #1: ffff888077371048 (&sb->s_type->i_mutex_key#21){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888077371048 (&sb->s_type->i_mutex_key#21){++++}-{4:4}, at: bch2_fallocate_dispatch+0x1e2/0x540 fs/bcachefs/fs-io.c:771 1 lock held by syz.3.35/6210: #0: ffff8880773711e8 (mapping.invalidate_lock#4){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff8880773711e8 (mapping.invalidate_lock#4){.+.+}-{4:4}, at: page_cache_ra_order+0x326/0xb60 mm/readahead.c:488 2 locks held by syz-executor/8449: #0: ffff88804911e0e0 (&type->s_umount_key#72){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804911e0e0 (&type->s_umount_key#72){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804911e0e0 (&type->s_umount_key#72){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: 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/8713: #0: ffffffff8fca0b08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fca0b08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #0: ffffffff8fca0b08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc6-syzkaller-00231-g77a903cd8e5a #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 9035 Comm: syz.8.344 Not tainted 6.13.0-rc6-syzkaller-00231-g77a903cd8e5a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__min_vruntime_update kernel/sched/fair.c:811 [inline] RIP: 0010:min_vruntime_update kernel/sched/fair.c:836 [inline] RIP: 0010:min_vruntime_cb_rotate+0x15e/0x2d0 kernel/sched/fair.c:846 Code: 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 69 8f 90 00 4c 8b 23 4d 85 e4 74 70 48 b8 00 00 00 00 00 fc ff df 41 80 3c 06 00 <48> 8b 1c 24 74 08 48 89 df e8 44 8f 90 00 48 8b 2b 49 8d 5c 24 20 RSP: 0000:ffffc900046c7410 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff88801beedaa0 RCX: dffffc0000000000 RDX: ffffffff8172b9d0 RSI: ffff88802f479e90 RDI: ffff88801beeda90 RBP: ffff88801beedab0 R08: ffff888078d480a7 R09: 0000000000000000 R10: ffff888078d48098 R11: ffffffff8172b9d0 R12: ffff88805b565a90 R13: ffff88801beeda90 R14: 1ffff110037ddb56 R15: ffff88807a005a90 FS: 00007fb9b43c96c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb9a9080000 CR3: 000000002cde8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_entity+0x834/0x19a0 kernel/sched/fair.c:5438 enqueue_task_fair+0x28b/0xfd0 kernel/sched/fair.c:7037 enqueue_task+0x72/0x330 kernel/sched/core.c:2061 activate_task+0x61/0xc0 kernel/sched/core.c:2108 attach_task+0xee/0x190 kernel/sched/fair.c:9682 attach_tasks kernel/sched/fair.c:9717 [inline] sched_balance_rq+0x664a/0x8620 kernel/sched/fair.c:11794 sched_balance_domains+0x565/0xa90 kernel/sched/fair.c:12202 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+0x57/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0033:0x7fb9b3448c3d Code: 8d 34 04 49 8b 47 10 48 39 f0 72 6e 48 63 cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 48 39 f0 72 1b <4d> 8b 07 49 89 c1 49 29 f1 47 0f b6 0c 08 45 84 c9 74 08 45 88 0c RSP: 002b:00007fb9b43c84a0 EFLAGS: 00000206 RAX: 0000000000280b04 RBX: 00007fb9b43c8540 RCX: 0000000000000101 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fb9b43c85e0 RBP: 0000000000000102 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fb9b43c8550 R12: 0000000000000001 R13: 00007fb9b3619040 R14: 0000000000000000 R15: 00007fb9b43c85e0