INFO: task syz.9.5794:26980 blocked for more than 143 seconds. Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.5794 state:D stack:16136 pid:26980 tgid:26979 ppid:8163 task_flags:0x440140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x16e2/0x4cd0 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+0x17a/0x590 mm/readahead.c:160 page_cache_ra_order+0xa24/0xc70 mm/readahead.c:515 filemap_get_pages+0x43c/0x1eb0 mm/filemap.c:2591 filemap_splice_read+0x4fc/0xbc0 mm/filemap.c:2981 do_splice_read fs/splice.c:979 [inline] splice_direct_to_actor+0x4a9/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:1625 __do_sys_copy_file_range fs/read_write.c:1675 [inline] __se_sys_copy_file_range+0x319/0x460 fs/read_write.c:1642 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:0x7f6ae9d8e969 RSP: 002b:00007f6aeab80038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 00007f6ae9fb5fa0 RCX: 00007f6ae9d8e969 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f6ae9e10ab1 R08: 0000000000400000 R09: 0000000000000000 R10: 00002000000000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6ae9fb5fa0 R15: 00007ffd3a9913d8 INFO: task syz.9.5794:27002 blocked for more than 144 seconds. Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.5794 state:D stack:27320 pid:27002 tgid:26979 ppid:8163 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x16e2/0x4cd0 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] bch2_mark_pagecache_unallocated+0x3a2/0x920 fs/bcachefs/fs-io-pagecache.c:275 bch2_remap_file_range+0x92c/0xd10 fs/bcachefs/fs-io.c:933 vfs_copy_file_range+0xd56/0x1310 fs/read_write.c:1589 __do_sys_copy_file_range fs/read_write.c:1675 [inline] __se_sys_copy_file_range+0x319/0x460 fs/read_write.c:1642 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:0x7f6ae9d8e969 RSP: 002b:00007f6aeab5f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 00007f6ae9fb6080 RCX: 00007f6ae9d8e969 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 00007f6ae9e10ab1 R08: 0000000000400000 R09: 0000000000000000 R10: 00002000000000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6ae9fb6080 R15: 00007ffd3a9913d8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3dee0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3dee0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3dee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 6 locks held by kworker/u8:5/1131: #0: ffff88801aef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801aef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc90003aa7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003aa7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffffffff8f2edd10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x145/0xbd0 net/core/net_namespace.c:608 #3: ffff88803d0df0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff88803d0df0e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff88803d0df0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x10a/0x3d0 net/devlink/core.c:506 #4: ffff88803c04a250 (&devlink->lock_key#50){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff88803c04a250 (&devlink->lock_key#50){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff88803c04a250 (&devlink->lock_key#50){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x3d0 net/devlink/core.c:506 #5: ffffffff8df439b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #5: ffffffff8df439b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998 2 locks held by getty/5585: #0: ffff88803027f0a0 (&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 3 locks held by kworker/0:7/10469: #0: ffff88801a078d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a078d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc9000a86fc60 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000a86fc60 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffff88803d0da240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180 drivers/net/netdevsim/fib.c:1490 1 lock held by syz.9.5794/26980: #0: ffff8880377b28e0 (mapping.invalidate_lock#11){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:922 [inline] #0: ffff8880377b28e0 (mapping.invalidate_lock#11){.+.+}-{4:4}, at: page_cache_ra_order+0x445/0xc70 mm/readahead.c:491 2 locks held by syz.9.5794/27002: #0: ffff888054e6e420 (sb_writers#33){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline] #0: ffff888054e6e420 (sb_writers#33){.+.+}-{0:0}, at: vfs_copy_file_range+0x916/0x1310 fs/read_write.c:1577 #1: ffff8880377b2740 (&sb->s_type->i_mutex_key#38){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff8880377b2740 (&sb->s_type->i_mutex_key#38){++++}-{4:4}, at: lock_two_nondirectories+0xe7/0x180 fs/inode.c:1233 2 locks held by syz-executor/27670: #0: ffff888071290d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888071290d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x1fe/0x500 net/bluetooth/hci_core.c:2678 #1: ffff888071290078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5213 2 locks held by syz-executor/27913: #0: ffffffff8ea942a0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ea942a0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ea942a0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff8f2fa848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8f2fa848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff8f2fa848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4064 2 locks held by syz-executor/28014: #0: ffffffff8f2edd10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x317/0x590 net/core/net_namespace.c:514 #1: ffffffff8f2fa848 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2ab/0x800 net/ipv4/ip_tunnel.c:1160 2 locks held by syz.2.6035/28027: #0: ffff888056771408 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #0: ffff888056771408 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff888056771408 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1391 #1: ffffffff8df439b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #1: ffffffff8df439b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998 1 lock held by syz-executor/28033: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #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:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4e/0x80 arch/x86/kernel/process.c:153 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: 28007 Comm: syz-executor Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__folio_remove_rmap mm/rmap.c:1694 [inline] RIP: 0010:folio_remove_rmap_ptes+0x32/0xaf0 mm/rmap.c:1804 Code: 56 41 55 41 54 53 48 83 ec 58 49 89 cd 89 d5 49 89 f4 48 89 fb 49 bf 00 00 00 00 00 fc ff df e8 d4 9b af ff 48 89 df 4c 89 e6 <89> ea 31 c9 e8 d5 c2 00 00 4c 8d 73 08 4c 89 f0 48 c1 e8 03 48 89 RSP: 0018:ffffc9000a7d7390 EFLAGS: 00000293 RAX: ffffffff821055fc RBX: ffffea000197ca40 RCX: ffff88802efabc00 RDX: 0000000000000000 RSI: ffffea000197ca40 RDI: ffffea000197ca40 RBP: 0000000000000001 R08: ffffea000197ca47 R09: 1ffffd400032f948 R10: dffffc0000000000 R11: fffff9400032f949 R12: ffffea000197ca40 R13: ffff88807ce57280 R14: ffff888038378378 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881261c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000565051948000 CR3: 000000007e574000 CR4: 0000000000350ef0 Call Trace: zap_present_folio_ptes mm/memory.c:1525 [inline] zap_present_ptes mm/memory.c:1586 [inline] do_zap_pte_range mm/memory.c:1687 [inline] zap_pte_range mm/memory.c:1731 [inline] zap_pmd_range mm/memory.c:1823 [inline] zap_pud_range mm/memory.c:1852 [inline] zap_p4d_range mm/memory.c:1873 [inline] unmap_page_range+0x17f2/0x4210 mm/memory.c:1894 unmap_vmas+0x25d/0x3c0 mm/memory.c:1984 exit_mmap+0x245/0xba0 mm/mmap.c:1284 __mmput+0x118/0x420 kernel/fork.c:1380 exit_mm+0x1da/0x2c0 kernel/exit.c:589 do_exit+0x859/0x2550 kernel/exit.c:940 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102 get_signal+0x125e/0x1310 kernel/signal.c:3034 arch_do_signal_or_restart+0x95/0x780 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x8b/0x120 kernel/entry/common.c:218 do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faaf1184b93 Code: Unable to access opcode bytes at 0x7faaf1184b69. RSP: 002b:00007ffca09a4258 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000006d6e RCX: 00007faaf1184b93 RDX: 0000000040000000 RSI: 00007ffca09a426c RDI: 00000000ffffffff RBP: 00007ffca09a426c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000