INFO: task syz.6.265:8036 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.265 state:D stack:16712 pid:8036 tgid:8035 ppid:7350 task_flags:0x440140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16a2/0x4cb0 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 __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+0x17a/0x580 mm/readahead.c:160 page_cache_ra_order+0xa24/0xc70 mm/readahead.c:515 filemap_get_pages+0x43c/0x1ea0 mm/filemap.c:2602 filemap_splice_read+0x4fc/0xbc0 mm/filemap.c:2990 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 vfs_copy_file_range+0xabc/0x1310 fs/read_write.c:1627 __do_sys_copy_file_range fs/read_write.c:1677 [inline] __se_sys_copy_file_range+0x2fb/0x470 fs/read_write.c:1644 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd43418e929 RSP: 002b:00007fd434fdf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 00007fd4343b5fa0 RCX: 00007fd43418e929 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 00007fd434210b39 R08: 0000000000400000 R09: 0000000000000000 R10: 00002000000000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd4343b5fa0 R15: 00007ffcbb8ebae8 INFO: task syz.6.265:8084 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.265 state:D stack:26792 pid:8084 tgid:8035 ppid:7350 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16a2/0x4cb0 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 io_schedule+0x81/0xe0 kernel/sched/core.c:7723 folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317 folio_lock include/linux/pagemap.h:1114 [inline] invalidate_inode_pages2_range+0x557/0xa80 mm/truncate.c:690 bch2_write_invalidate_inode_pages_range+0xc5/0x110 fs/bcachefs/fs-io-pagecache.c:68 bch2_direct_write+0x2a62/0x2ce0 fs/bcachefs/fs-io-direct.c:662 bch2_write_iter+0x18f/0x2b90 fs/bcachefs/fs-io-buffered.c:1064 do_iter_readv_writev+0x56b/0x7f0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2+0x179/0x290 fs/read_write.c:1202 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd43418e929 RSP: 002b:00007fd434fbe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fd4343b6080 RCX: 00007fd43418e929 RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000006 RBP: 00007fd434210b39 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000007000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fd4343b6080 R15: 00007ffcbb8ebae8 Showing all locks held in the system: 4 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/13: #0: ffff88814c8d9948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88814c8d9948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90000127bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000127bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #2: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0 net/ipv6/addrconf.c:4198 1 lock held by khungtaskd/31: #0: ffffffff8e13eda0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13eda0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13eda0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/u8:7/2997: #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc9000b2afbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000b2afbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 1 lock held by dhcpcd/5489: #0: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x323/0x1b50 net/ipv4/devinet.c:1121 2 locks held by getty/5586: #0: ffff88814d6680a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/7806: #0: ffffffff8e1448b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8e1448b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by syz.6.265/8036: #0: ffff88805338a148 (mapping.invalidate_lock#6){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:934 [inline] #0: ffff88805338a148 (mapping.invalidate_lock#6){.+.+}-{4:4}, at: page_cache_ra_order+0x445/0xc70 mm/readahead.c:491 1 lock held by syz.6.265/8084: #0: ffff88807af10428 (sb_writers#19){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff88807af10428 (sb_writers#19){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 1 lock held by syz-executor/9992: #0: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20 net/ipv6/addrconf.c:5031 7 locks held by syz-executor/10174: #0: ffff8880306c0428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff8880306c0428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90 fs/read_write.c:682 #1: ffff888028951088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0 fs/kernfs/file.c:325 #2: ffff888027713c38 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8ed98ca8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360 drivers/net/netdevsim/bus.c:216 #4: ffff888028bad0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #4: ffff888028bad0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff888028bad0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x7c0 drivers/base/dd.c:1292 #5: ffff888028bae250 (&devlink->lock_key#2){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #6: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0 net/core/dev.c:2143 2 locks held by syz-executor/10404: #0: ffffffff8f4f1410 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:570 #1: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock_killable include/linux/rtnetlink.h:145 [inline] #1: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: register_netdev+0x18/0x60 net/core/dev.c:11218 1 lock held by syz.9.518/10428: #0: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:633 [inline] #0: ffffffff8f4fe008 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3396 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5183 Comm: klogd Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:x64_sys_call+0x176d/0x21c0 arch/x86/entry/syscall_64.c:37 Code: 00 81 fe 33 01 00 00 0f 84 40 d6 08 08 81 fe 34 01 00 00 0f 84 c4 23 5b 00 81 fe 35 01 00 00 0f 84 68 d3 56 00 e9 1a 0a 00 00 <83> fe 66 0f 84 0a 4f 56 00 83 fe 67 0f 84 81 79 6d 00 83 fe 68 0f RSP: 0018:ffffc900031b7ee8 EFLAGS: 00000297 RAX: 931d074998a15800 RBX: ffffc900031b7ef0 RCX: 931d074998a15800 RDX: 0000000000000000 RSI: 0000000000000067 RDI: ffffc900031b7f58 RBP: ffffc900031b7f48 R08: ffffffff8f9fe3f7 R09: 1ffffffff1f3fc7e R10: dffffc0000000000 R11: fffffbfff1f3fc7f R12: 0000000000000067 R13: 0000000000000067 R14: ffffc900031b7f58 R15: ffff88807e050000 FS: 00007fdffe773c80(0000) GS:ffff888125d85000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd739d1000 CR3: 00000000312f4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdffe93da37 Code: 73 01 c3 48 8b 0d c1 f3 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 91 f3 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc682b4d38 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: ffffffffffffffda RBX: 00007fdffeadd490 RCX: 00007fdffe93da37 RDX: 00000000000003ff RSI: 00007fdffeadd490 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000206 R12: 00007fdffeadd490 R13: 00007fdffeabadfe R14: 00007fdffeadd4cc R15: 00007fdffeadd4cc