INFO: task syz.3.799:9366 blocked for more than 142 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.799 state:D stack:28904 pid:9366 tgid:9351 ppid:5827 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1707 inode_lock_nested include/linux/fs.h:1108 [inline] lock_rename fs/namei.c:3360 [inline] do_renameat2+0x3b9/0xa50 fs/namei.c:5311 __do_sys_rename fs/namei.c:5411 [inline] __se_sys_rename fs/namei.c:5409 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4e5658efc9 RSP: 002b:00007f4e574d6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f4e567e6090 RCX: 00007f4e5658efc9 RDX: 0000000000000000 RSI: 0000200000000640 RDI: 00002000000000c0 RBP: 00007f4e56611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4e567e6128 R14: 00007f4e567e6090 R15: 00007fff777d3738 INFO: task syz.3.799:9369 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.799 state:D stack:28168 pid:9369 tgid:9351 ppid:5827 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:1063 [inline] open_last_lookups fs/namei.c:3892 [inline] path_openat+0x8da/0x3830 fs/namei.c:4131 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_creat fs/open.c:1530 [inline] __se_sys_creat fs/open.c:1524 [inline] __x64_sys_creat+0x8f/0xc0 fs/open.c:1524 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4e5658efc9 RSP: 002b:00007f4e574b5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4e567e6180 RCX: 00007f4e5658efc9 RDX: 0000000000000000 RSI: 000000000000007c RDI: 0000200000000540 RBP: 00007f4e56611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4e567e6218 R14: 00007f4e567e6180 R15: 00007fff777d3738 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3d8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3d8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8df3d8a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by dhcpcd/5492: #0: ffff8880765ef6f0 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xfe/0x7e0 net/netlink/af_netlink.c:2404 #1: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200 net/core/rtnetlink.c:6819 2 locks held by getty/5587: #0: ffff8880301a40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/5825: #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:634 [inline] #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3436 3 locks held by kworker/0:4/5899: #0: ffff88813fe55948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x841/0x15d0 kernel/workqueue.c:3242 #1: ffffc90004477ba0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x868/0x15d0 kernel/workqueue.c:3243 #2: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/u8:16/6153: #0: ffff88813fe69948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x841/0x15d0 kernel/workqueue.c:3242 #1: ffffc9000b1a7ba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x868/0x15d0 kernel/workqueue.c:3243 #2: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 5 locks held by kworker/u8:17/6156: #0: ffff88801badf148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x841/0x15d0 kernel/workqueue.c:3242 #1: ffffc9000da37ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x868/0x15d0 kernel/workqueue.c:3243 #2: ffffffff8f2c6ef0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x820 net/core/net_namespace.c:670 #3: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xdc/0x890 net/core/dev.c:12993 #4: ffffffff8df43338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #4: ffffffff8df43338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957 3 locks held by syz.3.799/9353: 2 locks held by syz.3.799/9366: #0: ffff888075d88420 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:498 #1: ffff888056bee988 (&type->i_mutex_dir_key#20/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1108 [inline] #1: ffff888056bee988 (&type->i_mutex_dir_key#20/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff888056bee988 (&type->i_mutex_dir_key#20/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 2 locks held by syz.3.799/9369: #0: ffff888075d88420 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:498 #1: ffff888056bee988 (&type->i_mutex_dir_key#20){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1063 [inline] #1: ffff888056bee988 (&type->i_mutex_dir_key#20){+.+.}-{4:4}, at: open_last_lookups fs/namei.c:3892 [inline] #1: ffff888056bee988 (&type->i_mutex_dir_key#20){+.+.}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4131 1 lock held by syz-executor/9988: #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:634 [inline] #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3436 1 lock held by syz-executor/10372: #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 2 locks held by syz-executor/10520: #0: ffffffff8f2c6ef0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210 net/ipv4/nexthop.c:3971 2 locks held by syz.2.1024/10587: #0: ffffffff8f7f3b68 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8f7f3b68 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8f7f3b68 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff8f2d4448 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/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:337 [inline] watchdog+0xfa9/0xff0 kernel/hung_task.c:500 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 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: 9353 Comm: syz.3.799 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:iput+0xe2/0x1050 fs/inode.c:1976 Code: 00 00 44 8b 35 5f 8c 3d 0d 31 ff 44 89 f6 e8 15 7d 80 ff 45 85 f6 74 2f 48 8b 7c 24 20 be ff ff ff ff e8 91 c9 14 09 41 89 c6 01 00 00 00 89 c6 e8 f2 7c 80 ff 41 83 fe 01 0f 84 09 03 00 00 RSP: 0018:ffffc90003cdfa48 EFLAGS: 00000282 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 01660fa2d2f48500 RDX: ffff88802e86bc80 RSI: ffffffff8d962046 RDI: ffffffff8bbf25c0 RBP: 1ffffffff1ed037f R08: ffffffff8dc16843 R09: 1ffffffff1b82d08 R10: dffffc0000000000 R11: fffffbfff1b82d09 R12: 1ffff1100ad7d08a R13: ffff888056be8450 R14: 0000000000000000 R15: 1ffffffff1efb2f2 FS: 00007f4e574f76c0(0000) GS:ffff888125ee5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec1a01108 CR3: 000000002a390000 CR4: 00000000003526f0 Call Trace: insert_inode_locked+0x32a/0x5d0 fs/inode.c:1872 ntfs_new_inode+0xc8/0x100 fs/ntfs3/fsntfs.c:1688 ntfs_create_inode+0x606/0x32a0 fs/ntfs3/inode.c:1308 ntfs_mkdir+0x3d/0x50 fs/ntfs3/namei.c:215 vfs_mkdir+0x306/0x510 fs/namei.c:4453 do_mkdirat+0x247/0x590 fs/namei.c:4486 __do_sys_mkdirat fs/namei.c:4503 [inline] __se_sys_mkdirat fs/namei.c:4501 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4501 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4e5658efc9 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:00007f4e574f7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f4e567e5fa0 RCX: 00007f4e5658efc9 RDX: 0000000000000000 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f4e56611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4e567e6038 R14: 00007f4e567e5fa0 R15: 00007fff777d3738