INFO: task syz.1.84:4078 blocked for more than 144 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.84 state:D stack:28384 pid:4078 ppid:3639 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline] __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522 inode_lock_shared include/linux/fs.h:768 [inline] lookup_slow+0x45/0x70 fs/namei.c:1706 walk_component+0x2d0/0x400 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2479 filename_lookup+0x251/0x600 fs/namei.c:2508 user_path_at_empty+0x3e/0x60 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3391 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount+0x296/0x3c0 fs/namespace.c:3579 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff611f779f9 RSP: 002b:00007ff611d9c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff612106208 RCX: 00007ff611f779f9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000020000000 RBP: 00007ff611fe58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff612106208 R15: 00007ffcbaccfab8 INFO: task syz.1.84:4079 blocked for more than 144 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.84 state:D stack:28552 pid:4079 ppid:3639 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline] __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522 inode_lock_shared include/linux/fs.h:768 [inline] lookup_slow+0x45/0x70 fs/namei.c:1706 walk_component fs/namei.c:1998 [inline] link_path_walk+0x9d6/0xee0 fs/namei.c:2325 path_lookupat+0xa9/0x450 fs/namei.c:2478 filename_lookup+0x251/0x600 fs/namei.c:2508 user_path_at_empty+0x3e/0x60 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3391 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount+0x296/0x3c0 fs/namespace.c:3579 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff611f779f9 RSP: 002b:00007ff611d7b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff6121062e0 RCX: 00007ff611f779f9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000440 RBP: 00007ff611fe58ee R08: 0000000000000000 R09: 0000000000000000 R10: 00000000008b101a R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff6121062e0 R15: 00007ffcbaccfab8 Showing all locks held in the system: 3 locks held by kworker/0:0/7: #0: ffff88814ad81138 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900000c7d20 ( (work_completion)(&(&ifa->dad_work)->work) ){+.+.}-{0:0} , at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b190 ( rcu_tasks.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b990 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 3 locks held by kworker/0:1/14: #0: ffff888012870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000137d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 1 lock held by khungtaskd/28: #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by kworker/1:2/153: #0: ffff888012872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90002ddfd20 ( (work_completion)(&rew->rew_work) ){+.+.}-{0:0} , at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 1 lock held by dhcpcd/3305: #0: ffffffff8e4f7c28 ( rtnl_mutex ){+.+.}-{3:3} , at: devinet_ioctl+0x2a5/0x1b20 net/ipv4/devinet.c:1070 2 locks held by getty/3397: #0: ffff88802917d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 5 locks held by kworker/u4:11/3984: #0: ffff888012a1e938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000555fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4eb8d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:566 #3: ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0xc9/0x330 net/ipv4/ip_tunnel.c:1148 #4: ffffffff8d3305b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #4: ffffffff8d3305b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 2 locks held by syz.1.84/4077: 1 lock held by syz.1.84/4078: #0: ffff888059410198 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff888059410198 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706 1 lock held by syz.1.84/4079: #0: ffff888059410198 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff888059410198 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706 1 lock held by syz-executor/5369: #0: ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:74 [inline] , at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118 1 lock held by syz-executor/5388: #0: ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118 7 locks held by syz-executor/5449: #0: ffff88807e412460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x269/0xbc0 fs/read_write.c:580 #1: ffff8880704cbc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:325 #2: ffff88814437d830 ( kn->active #50 ){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8de21548 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xf8/0x480 drivers/net/netdevsim/bus.c:209 #4: ffff888023ac40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff888023ac40e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff888023ac40e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x880 drivers/base/dd.c:1283 #5: ffff888023ac52f8 (&devlink->lock_key#12){+.+.}-{3:3} , at: nsim_drv_remove+0x54/0x160 drivers/net/netdevsim/dev.c:1674 #6: ffffffff8e4f7c28 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3a/0x140 drivers/net/netdevsim/netdev.c:381 4 locks held by syz-executor/5454: #0: ffff88807e412460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x269/0xbc0 fs/read_write.c:580 #1: ffff888061a9a488 ( &of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:325 #2: ffff88814437d830 (kn->active#50){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8de21548 ( nsim_bus_dev_list_lock ){+.+.}-{3:3}, at: del_device_store+0xf8/0x480 drivers/net/netdevsim/bus.c:209 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4077 Comm: syz.1.84 Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__lock_acquire+0x465/0x1f80 kernel/locking/lockdep.c:4997 Code: 10 84 c0 0f 85 e5 12 00 00 44 8b b4 24 d8 00 00 00 48 8b 44 24 08 44 89 20 48 8b 44 24 20 48 8d 5c c6 24 48 89 d8 48 c1 e8 03 <0f> b6 04 10 84 c0 4c 8b 64 24 18 0f 85 e3 12 00 00 44 89 33 44 89 RSP: 0018:ffffc900001e0900 EFLAGS: 00000807 RAX: 1ffff1100468f522 RBX: ffff88802347a914 RCX: 0000000000080000 RDX: dffffc0000000000 RSI: ffff88802347a8a0 RDI: 0000000000002000 RBP: ffff88802347a884 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000c2000 R13: ffff888023479dc0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ff611dbd6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558373692300 CR3: 000000005acee000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x63/0x380 lib/debugobjects.c:752 debug_timer_deactivate kernel/time/timer.c:787 [inline] debug_deactivate kernel/time/timer.c:831 [inline] detach_timer+0x26/0x380 kernel/time/timer.c:878 expire_timers kernel/time/timer.c:1538 [inline] __run_timers+0x60c/0x890 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1948 [inline] RIP: 0010:vprintk_emit+0x4fa/0x740 kernel/printk/printk.c:2302 Code: 21 e3 0f 85 ad 01 00 00 e8 83 98 1c 00 44 8b 24 24 4d 85 ff 75 07 e8 75 98 1c 00 eb 06 e8 6e 98 1c 00 fb 48 c7 c7 e0 71 20 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 41 56 e8 7d RSP: 0018:ffffc90003216fa0 EFLAGS: 00000246 RAX: ffffffff816e0832 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b64c000 RSI: 000000000003ffff RDI: ffffffff8d2071e0 RBP: ffffc90003217090 R08: ffffffff816e080f R09: fffffbfff20e7269 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000057 R13: dffffc0000000000 R14: ffffffff816e0680 R15: 0000000000000200 _printk+0xd1/0x111 kernel/printk/printk.c:2328 _erofs_err+0x137/0x180 fs/erofs/super.c:35 z_erofs_pcluster_readmore+0x300/0x450 fs/erofs/zdata.c:1676 z_erofs_read_folio+0x30c/0x760 fs/erofs/zdata.c:1701 filemap_read_folio+0x199/0x780 mm/filemap.c:2461 do_read_cache_folio+0x2ee/0x810 mm/filemap.c:3598 erofs_bread+0x149/0x610 fs/erofs/data.c:46 find_target_block_classic fs/erofs/namei.c:108 [inline] erofs_namei+0x1ad/0xca0 fs/erofs/namei.c:184 erofs_lookup+0x1d6/0x4d0 fs/erofs/namei.c:212 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3552 [inline] path_openat+0x10fb/0x2e60 fs/namei.c:3782 do_filp_open+0x230/0x480 fs/namei.c:3812 do_sys_openat2+0x13b/0x4f0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff611f779f9 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:00007ff611dbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff612106130 RCX: 00007ff611f779f9 RDX: 000000000000275a RSI: 0000000020001280 RDI: 0000000000000008 RBP: 00007ff611fe58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff612106130 R15: 00007ffcbaccfab8