INFO: task syz.0.1105:10443 blocked for more than 143 seconds. Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1105 state:D stack:28552 pid:10443 tgid:10442 ppid:5847 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5351 [inline] __schedule+0x1737/0x4d30 kernel/sched/core.c:6954 __schedule_loop kernel/sched/core.c:7036 [inline] schedule+0x165/0x360 kernel/sched/core.c:7051 io_schedule+0x80/0xd0 kernel/sched/core.c:7896 folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317 folio_wait_writeback+0xb0/0x100 mm/page-writeback.c:3124 __filemap_fdatawait_range+0x147/0x230 mm/filemap.c:539 filemap_fdatawait_keep_errors+0x31/0xd0 mm/filemap.c:633 wait_sb_inodes fs/fs-writeback.c:2714 [inline] sync_inodes_sb+0x7a9/0xa10 fs/fs-writeback.c:2836 __iterate_supers+0x13d/0x290 fs/super.c:924 ksys_sync+0x94/0x150 fs/sync.c:102 __ia32_sys_sync+0xe/0x20 fs/sync.c:113 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:0x7f8adbd8e9a9 RSP: 002b:00007f8adcb15038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f8adbfb5fa0 RCX: 00007f8adbd8e9a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f8adbfb5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8adbfb5fa0 R15: 00007ffc2e3a4288 Showing all locks held in the system: 2 locks held by kworker/0:1/10: #0: ffff8880b8639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636 #1: ffffc900000f7bc0 ((debug_obj_work).work){+.+.}-{0:0}, at: psi_task_switch+0x53/0x880 kernel/sched/psi.c:937 1 lock held by khungtaskd/31: #0: ffffffff8e53d8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e53d8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e53d8a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by getty/5604: #0: ffff88814dd2b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036b62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/0:4/5849: #0: ffff88801a880d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801a880d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319 #1: ffffc90004217bc0 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90004217bc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319 #2: ffffffff8e543338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #2: ffffffff8e543338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:967 3 locks held by kworker/0:5/5850: 2 locks held by syz.2.3/5952: #0: ffff888028092428 (sb_writers#13){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline] #0: ffff888028092428 (sb_writers#13){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 #1: ffff88805eb10148 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: netfs_start_io_write+0xd8/0x100 fs/netfs/locking.c:112 3 locks held by syz.4.145/6377: #0: ffff88803391a428 (sb_writers#13){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline] #0: ffff88803391a428 (sb_writers#13){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 #1: ffff88805ea99498 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: netfs_start_io_write+0xd8/0x100 fs/netfs/locking.c:112 #2: ffff88805ea99850 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_begin_writethrough+0x65/0x140 fs/netfs/write_issue.c:626 3 locks held by kworker/0:7/9808: 2 locks held by syz.0.1105/10443: #0: ffff8880280920e0 (&type->s_umount_key#52){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff8880280920e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 #1: ffff888028092950 (&s->s_sync_lock){+.+.}-{4:4}, at: wait_sb_inodes fs/fs-writeback.c:2653 [inline] #1: ffff888028092950 (&s->s_sync_lock){+.+.}-{4:4}, at: sync_inodes_sb+0x255/0xa10 fs/fs-writeback.c:2836 1 lock held by syz.3.1275/11515: #0: ffffffff8e543200 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3815 1 lock held by syz.4.1515/12500: #0: ffff888027db0ca0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:412 [inline] #0: ffff888027db0ca0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mm+0xcc/0x2c0 kernel/exit.c:557 1 lock held by syz.4.1515/12502: 4 locks held by syz-executor/12929: #0: ffff888030294dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline] #0: ffff888030294dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2715 #1: ffff8880302940b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5282 #2: ffffffff8faa0e68 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2058 [inline] #2: ffffffff8faa0e68 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230 net/bluetooth/hci_conn.c:2561 #3: ffff88803237cb38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680 net/bluetooth/l2cap_core.c:1762 1 lock held by syz.3.1887/13837: #0: ffffffff8f938688 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:634 [inline] #0: ffffffff8f938688 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3435 2 locks held by dhcpcd/13873: #0: ffff888057fd4a08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #0: ffff888057fd4a08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:648 [inline] #0: ffff888057fd4a08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1439 #1: ffffffff8e543338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #1: ffffffff8e543338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:967 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] watchdog+0xf93/0xfe0 kernel/hung_task.c:491 kthread+0x70e/0x8a0 kernel/kthread.c:463 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: 12502 Comm: syz.4.1515 Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ma_data_end lib/maple_tree.c:1434 [inline] RIP: 0010:mas_next_node+0xa2a/0xd60 lib/maple_tree.c:4658 Code: b6 04 28 84 c0 0f 85 0c 03 00 00 41 0f b6 06 48 89 04 24 44 8d 68 ff 41 0f b6 c5 4c 8d 34 c3 4c 89 f0 48 c1 e8 03 80 3c 28 00 <74> 08 4c 89 f7 e8 cc 95 a9 f6 4d 8b 36 31 ff 4c 89 f6 e8 8f 4a 46 RSP: 0018:ffffc9001b65f280 EFLAGS: 00000246 RAX: 1ffff11005199ecf RBX: ffff888028ccf608 RCX: 000000008cdac601 RDX: ffffc9001eaa1000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: dffffc0000000000 R08: ffff88802e4fbc00 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000002 R12: ffff88807979ae00 R13: 000000000000000e R14: ffff888028ccf678 R15: ffff888028ccf600 FS: 00007f200c7486c0(0000) GS:ffff8881258ab000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557846416950 CR3: 000000002ee5e000 CR4: 00000000003526f0 DR0: 0000000000001880 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: mas_next_slot+0x407/0xcf0 lib/maple_tree.c:4729 mas_find+0xb0e/0xd30 lib/maple_tree.c:6062 vma_next include/linux/mm.h:864 [inline] validate_mm+0xe1/0x4b0 mm/vma.c:652 vma_link+0x366/0x450 mm/vma.c:1799 copy_vma+0x70c/0x940 mm/vma.c:1880 copy_vma_and_data mm/mremap.c:1184 [inline] move_vma+0x81f/0x1840 mm/mremap.c:1282 mremap_to+0x6d6/0x7a0 mm/mremap.c:1406 remap_move mm/mremap.c:1863 [inline] do_mremap mm/mremap.c:1906 [inline] __do_sys_mremap mm/mremap.c:1970 [inline] __se_sys_mremap+0xa0b/0xef0 mm/mremap.c:1938 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:0x7f200b98e9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f200c748038 EFLAGS: 00000246 ORIG_RAX: 0000000000000019 RAX: ffffffffffffffda RBX: 00007f200bbb5fa0 RCX: 00007f200b98e9a9 RDX: 0000000000003000 RSI: 0000000000003000 RDI: 0000200000006000 RBP: 00007f200ba10d69 R08: 0000200000ffd000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f200bbb5fa0 R15: 00007fffa6818178