INFO: task syz-executor:7321 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-gfdd6064ff31c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:7321 tgid:7321 ppid:1 flags:0x00000001 Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6894 rwsem_down_write_slowpath+0xd10/0x14c8 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:791 [inline] vfs_unlink+0xd8/0x534 fs/namei.c:4332 do_unlinkat+0x4d0/0x700 fs/namei.c:4407 __do_sys_unlinkat fs/namei.c:4450 [inline] __se_sys_unlinkat fs/namei.c:4443 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4443 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 3 locks held by kworker/0:0/8: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800093fe7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff0000e0890240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 1 lock held by khungtaskd/31: #0: ffff80008f387960 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 3 locks held by kworker/u8:7/496: #0: ffff0000d1d2b948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000990e7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800091fbe868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/0:2/1741: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff80009c4f7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff0000d4c06240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 4 locks held by udevd/5901: #0: ffff0000cbdc22f0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xac/0xc44 fs/seq_file.c:182 #1: ffff0000d4fe4488 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x384 fs/kernfs/file.c:154 #2: ffff0000e53f85a8 (kn->active#4){++++}-{0:0}, at: kernfs_seq_start+0x74/0x384 fs/kernfs/file.c:155 #3: ffff0000ed4450e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff0000ed4450e8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17c/0x33c drivers/base/core.c:2743 2 locks held by dhcpcd/5954: #0: ffff800091fa4668 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x574/0x838 net/socket.c:1303 #1: ffff800091fbe868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6041: #0: ffff0000cc9470a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800097f9b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 7 locks held by kworker/u8:14/6756: #0: ffff0000c1819948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000a11f7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800091fb2610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff0000e5d5d0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff0000e5d5d0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff0000e5d5d0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x114/0x418 net/devlink/core.c:506 #4: ffff0000e5d5e250 (&devlink->lock_key#15){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff0000e5d5e250 (&devlink->lock_key#15){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff0000e5d5e250 (&devlink->lock_key#15){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x124/0x418 net/devlink/core.c:506 #5: ffff800091fbe868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #6: ffff80008f38ccb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #6: ffff80008f38ccb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x678 kernel/rcu/tree_exp.h:939 3 locks held by syz-executor/7321: #0: ffff0000d7360420 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:409 #1: ffff0000dd5a2dc0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:826 [inline] #1: ffff0000dd5a2dc0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: do_unlinkat+0x2dc/0x700 fs/namei.c:4394 #2: ffff0000dd5a3c90 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #2: ffff0000dd5a3c90 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x534 fs/namei.c:4332 3 locks held by bch-copygc/loop/8158: 4 locks held by syz.3.323/8166: #0: ffff0000dd5a3c90 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #0: ffff0000dd5a3c90 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 #1: ffff0000eb000ab8 (&c->snapshot_create_lock){.+.+}-{3:3}, at: bch2_truncate+0x134/0x274 fs/bcachefs/io_misc.c:290 #2: ffff0000eb0042d8 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:115 #3: ffff0000eb026750 (&c->gc_lock){.+.+}-{3:3}, at: bch2_btree_update_start+0x590/0x15a0 fs/bcachefs/btree_update_interior.c:1195 4 locks held by syz-executor/10922: #0: ffff0000d7dbc420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000d7dbc420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc78 fs/read_write.c:586 #1: ffff0000d9a49c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbeac2d8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091192ce8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/10926: #0: ffff0000d7dbc420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000d7dbc420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc78 fs/read_write.c:586 #1: ffff0000f78fb888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbeac2d8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091192ce8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 7 locks held by syz-executor/10925: #0: ffff0000d7dbc420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000d7dbc420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc78 fs/read_write.c:586 #1: ffff0000e8385088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbeac1e8 (kn->active#46){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091192ce8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 #4: ffff0000ed4450e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000ed4450e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x434 drivers/base/dd.c:1003 #5: ffff0000ed446250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800091fbe868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/10929: #0: ffff800091fbe868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800091fbe868 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xe64 net/core/rtnetlink.c:6632 1 lock held by syz.4.966/11006: #0: ffff0000dd43b410 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:801 [inline] #0: ffff0000dd43b410 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1708 1 lock held by syz.4.966/11008: #0: ffff0000dd43b410 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:801 [inline] #0: ffff0000dd43b410 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: open_last_lookups fs/namei.c:3573 [inline] #0: ffff0000dd43b410 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: path_openat+0x5e0/0x285c fs/namei.c:3804 =============================================