INFO: task syz.0.9:5961 blocked for more than 143 seconds. Not tainted 6.15.0-rc4-syzkaller-00189-g2bfcee565c3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.9 state:D stack:16616 pid:5961 tgid:5960 ppid:5814 task_flags:0x440140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 __bch2_two_state_lock+0x1ea/0x370 fs/bcachefs/two_state_shared_lock.c:7 bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline] bch2_readahead+0x94f/0x1100 fs/bcachefs/fs-io-buffered.c:296 read_pages+0x177/0x590 mm/readahead.c:160 page_cache_ra_order+0xa24/0xc70 mm/readahead.c:515 filemap_readahead mm/filemap.c:2560 [inline] filemap_get_pages+0xb22/0x1eb0 mm/filemap.c:2605 filemap_splice_read+0x4fc/0xbc0 mm/filemap.c:2981 do_splice_read fs/splice.c:979 [inline] splice_direct_to_actor+0x4a6/0xcc0 fs/splice.c:1083 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7d0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa09978e969 RSP: 002b:00007fa09a6c6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fa0999b5fa0 RCX: 00007fa09978e969 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000007 RBP: 00007fa099810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa0999b5fa0 R15: 00007ffd35fa0dd8 INFO: task syz.0.9:5985 blocked for more than 144 seconds. Not tainted 6.15.0-rc4-syzkaller-00189-g2bfcee565c3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.9 state:D stack:25960 pid:5985 tgid:5960 ppid:5814 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 io_schedule+0x81/0xe0 kernel/sched/core.c:7742 folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317 folio_lock include/linux/pagemap.h:1137 [inline] truncate_inode_pages_range+0xa77/0xda0 mm/truncate.c:429 truncate_inode_pages mm/truncate.c:456 [inline] truncate_pagecache mm/truncate.c:765 [inline] truncate_setsize+0xcf/0xf0 mm/truncate.c:790 bchfs_truncate+0x637/0xcc0 fs/bcachefs/fs-io.c:486 notify_change+0xb33/0xe40 fs/attr.c:552 do_truncate+0x19a/0x220 fs/open.c:65 handle_truncate fs/namei.c:3501 [inline] do_open fs/namei.c:3884 [inline] path_openat+0x306c/0x3830 fs/namei.c:4039 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_open fs/open.c:1452 [inline] __se_sys_open fs/open.c:1448 [inline] __x64_sys_open+0x11e/0x150 fs/open.c:1448 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa09978e969 RSP: 002b:00007fa09a6a5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa0999b6080 RCX: 00007fa09978e969 RDX: 0000000000000002 RSI: 0000000000149a7e RDI: 0000200000000180 RBP: 00007fa099810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa0999b6080 R15: 00007ffd35fa0dd8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 4 locks held by kworker/u8:4/65: #0: ffff88801aef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801aef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc90001577c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90001577c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffffffff8f2d5690 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x145/0xbd0 net/core/net_namespace.c:608 #3: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: wg_destruct+0x25/0x2f0 drivers/net/wireguard/device.c:246 1 lock held by dhcpcd/5482: #0: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_deladdr+0x20f/0x330 net/ipv6/addrconf.c:4800 2 locks held by getty/5570: #0: ffff8880305f50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002ffe2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz.0.9/5961: #0: ffff8880574b0a80 (mapping.invalidate_lock#5){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:922 [inline] #0: ffff8880574b0a80 (mapping.invalidate_lock#5){.+.+}-{4:4}, at: page_cache_ra_order+0x445/0xc70 mm/readahead.c:491 2 locks held by syz.0.9/5985: #0: ffff88805ba36420 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff8880574b08e0 (&sb->s_type->i_mutex_key#25){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff8880574b08e0 (&sb->s_type->i_mutex_key#25){+.+.}-{4:4}, at: do_truncate+0x186/0x220 fs/open.c:63 3 locks held by syz-executor/6704: 4 locks held by kworker/u8:9/7383: #0: ffff88801a089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc90003e3fc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003e3fc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 #3: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #3: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f4/0x730 kernel/rcu/tree_exp.h:998 2 locks held by syz-executor/7567: #0: ffff888057f4a0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888057f4a0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888057f4a0e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8df41200 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3774 1 lock held by syz-executor/7993: #0: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff8f2e21c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4064 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00189-g2bfcee565c3a #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 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+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 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: 8234 Comm: dhcpcd-run-hook Not tainted 6.15.0-rc4-syzkaller-00189-g2bfcee565c3a #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:get_running_cputimer include/linux/sched/cputime.h:79 [inline] RIP: 0010:account_group_exec_runtime include/linux/sched/cputime.h:164 [inline] RIP: 0010:update_curr_task+0x99/0x330 kernel/sched/fair.c:1172 Code: f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 3d 4f 8c 00 4d 8b 2f 4d 8d bd 98 01 00 00 4c 89 f8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 93 01 00 00 41 83 3f 00 74 3c 4d 8d be 28 09 00 00 4c RSP: 0018:ffffc90000007c48 EFLAGS: 00000806 RAX: 0000000000000000 RBX: 0000000000007ef8 RCX: 65cabfeb73888900 RDX: 0000000000000000 RSI: ffffffff8bc0fd40 RDI: ffffffff8bc0fd00 RBP: 000000140af4b8db R08: ffffffff8f7dab77 R09: 1ffffffff1efb56e R10: dffffc0000000000 R11: fffffbfff1efb56f R12: dffffc0000000000 R13: ffff88802cff2f40 R14: ffff88802eb30000 R15: ffff88802cff30d8 FS: 00007f9b213a1380(0000) GS:ffff888126100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffea4c31fa8 CR3: 0000000079d8a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_curr+0x380/0x8b0 kernel/sched/fair.c:1247 check_preempt_wakeup_fair+0x5c9/0xe20 kernel/sched/fair.c:8818 wakeup_preempt+0xf1/0x280 kernel/sched/core.c:2196 ttwu_runnable kernel/sched/core.c:3803 [inline] try_to_wake_up+0x195/0x1290 kernel/sched/core.c:4242 autoremove_wake_function+0x17/0x100 kernel/sched/wait.c:384 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x134/0x1f0 kernel/sched/wait.c:106 irq_work_single+0xde/0x240 kernel/irq_work.c:221 irq_work_run_list kernel/irq_work.c:252 [inline] irq_work_run+0x155/0x2f0 kernel/irq_work.c:261 __sysvec_irq_work+0xa8/0x3d0 arch/x86/kernel/irq_work.c:22 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0x9e/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:149 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:256 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:212 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 f2 04 77 03 66 RSP: 0018:ffffc90003f1f678 EFLAGS: 00000246 RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f RBP: 0000000000000000 R08: ffffc90003f1f5e7 R09: 1ffff920007e3ebc R10: dffffc0000000000 R11: fffff520007e3ebd R12: 0000000000000001 R13: dffffc0000000000 R14: ffffffff8e059188 R15: 0000000000000020 __apic_send_IPI_self arch/x86/include/asm/apic.h:455 [inline] arch_irq_work_raise+0x6d/0x80 arch/x86/kernel/irq_work.c:31 irq_work_queue+0x99/0x140 kernel/irq_work.c:124 __kfence_alloc+0x27b/0x3b0 mm/kfence/core.c:1114 kfence_alloc include/linux/kfence.h:129 [inline] slab_alloc_node mm/slub.c:4180 [inline] kmem_cache_alloc_noprof+0x316/0x3c0 mm/slub.c:4203 alloc_pid+0x9f/0xab0 kernel/pid.c:182 copy_process+0x195b/0x3b80 kernel/fork.c:2445 kernel_clone+0x224/0x7f0 kernel/fork.c:2844 __do_sys_clone kernel/fork.c:2987 [inline] __se_sys_clone kernel/fork.c:2971 [inline] __x64_sys_clone+0x18b/0x1e0 kernel/fork.c:2971 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9b214dba12 Code: 41 5d 41 5e 41 5f c3 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 e7 43 0f 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffea4c315b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9b214dba12 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 000055a9c4ba3b70 R08: 0000000000000000 R09: 0000000000000200 R10: 00007f9b213a1650 R11: 0000000000000246 R12: 0000000000000084 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000024