INFO: task syz.4.32:4209 blocked for more than 144 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.32 state:D stack: 0 pid: 4209 ppid: 4021 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 io_schedule+0x8c/0x194 kernel/sched/core.c:8481 bit_wait_io+0x1c/0xac kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xcc/0x1f0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x194/0x21c kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x80/0xc0 fs/buffer.c:69 lock_buffer include/linux/buffer_head.h:402 [inline] ext4_quota_write+0x378/0x564 fs/ext4/super.c:6581 qtree_write_dquot+0x1dc/0x488 fs/quota/quota_tree.c:422 v2_write_dquot+0xf4/0x188 fs/quota/quota_v2.c:358 dquot_commit+0x14c/0x240 fs/quota/dquot.c:514 ext4_write_dquot+0x1b4/0x314 fs/ext4/super.c:6172 ext4_mark_dquot_dirty+0xe8/0x140 fs/ext4/super.c:6232 mark_dquot_dirty fs/quota/dquot.c:372 [inline] mark_all_dquot_dirty+0x108/0x424 fs/quota/dquot.c:412 __dquot_free_space+0x878/0xce8 fs/quota/dquot.c:1941 dquot_free_space_nodirty include/linux/quotaops.h:376 [inline] ext4_xattr_inode_free_quota+0x11c/0x188 fs/ext4/xattr.c:899 ext4_xattr_set_entry+0xcc0/0x3118 fs/ext4/xattr.c:1705 ext4_xattr_block_set+0x55c/0x2dcc fs/ext4/xattr.c:1926 ext4_xattr_set_handle+0xcc8/0x12d8 fs/ext4/xattr.c:2386 ext4_xattr_set+0x1dc/0x350 fs/ext4/xattr.c:2513 ext4_xattr_trusted_set+0x4c/0x64 fs/ext4/xattr_trusted.c:38 __vfs_removexattr+0x370/0x38c fs/xattr.c:470 __vfs_removexattr_locked+0x1d8/0x380 fs/xattr.c:505 vfs_removexattr+0xe0/0x23c fs/xattr.c:527 removexattr fs/xattr.c:857 [inline] path_removexattr+0x1ec/0x2ec fs/xattr.c:871 __do_sys_removexattr fs/xattr.c:885 [inline] __se_sys_removexattr fs/xattr.c:882 [inline] __arm64_sys_removexattr+0x60/0x78 fs/xattr.c:882 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 4 locks held by kworker/1:0/21: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800018be7c00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0001b47e8918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:475 [inline] #2: ffff0001b47e8918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1326 [inline] #2: ffff0001b47e8918 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1621 [inline] #2: ffff0001b47e8918 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x328/0x1e48 kernel/sched/core.c:6287 #3: ffff0001b47d5c48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x438/0x66c kernel/sched/psi.c:891 1 lock held by khungtaskd/27: #0: ffff800014c917a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 3 locks held by kworker/u4:2/148: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001a5d7c00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 2 locks held by kworker/u4:3/153: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001aaa7c00 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 6 locks held by kworker/1:2/1960: #0: ffff0000c29ec138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800022117c00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000ce295220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff0000ce295220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b8/0x46b8 drivers/usb/core/hub.c:5769 #3: ffff0000ceb285d8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3125 [inline] #3: ffff0000ceb285d8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5351 [inline] #3: ffff0000ceb285d8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5595 [inline] #3: ffff0000ceb285d8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5741 [inline] #3: ffff0000ceb285d8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1ad0/0x46b8 drivers/usb/core/hub.c:5823 #4: ffff0000ce686268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5352 [inline] #4: ffff0000ce686268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5595 [inline] #4: ffff0000ce686268 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5741 [inline] #4: ffff0000ce686268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1af4/0x46b8 drivers/usb/core/hub.c:5823 #5: ffff8000161e6990 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: hub_port_reset+0x198/0x17dc drivers/usb/core/hub.c:2987 1 lock held by dhcpcd/3691: #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x108/0x6ec net/netlink/af_netlink.c:2347 2 locks held by getty/3791: #0: ffff0000d330d098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff800018fc62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 1 lock held by syz-executor/4020: #0: ffff0000d5a9e0e0 (&type->s_umount_key#30){++++}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 2 locks held by kworker/1:4/4068: 2 locks held by kworker/u4:8/4112: 3 locks held by kworker/0:8/4124: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cc87c00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 3 locks held by kworker/1:9/4189: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001ce67c00 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000d8f75400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x60/0x90c drivers/net/netdevsim/dev.c:757 6 locks held by syz.4.32/4209: #0: ffff0000e470c460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e6da83f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e6da83f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_removexattr+0xcc/0x23c fs/xattr.c:526 #2: ffff0000e6da80c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff0000e6da80c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x1e0/0x12d8 fs/ext4/xattr.c:2327 #3: ffff800014da8df8 (dquot_srcu){....}-{0:0}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #4: ffff0000e6d2c0a8 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x54/0x240 fs/quota/dquot.c:507 #5: ffff0000e470c208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x84/0x188 fs/quota/quota_v2.c:356 5 locks held by kworker/u4:18/4636: #0: ffff0000c03f4138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001db67c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016be8f90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:561 #3: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 #4: ffff800014c95da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #4: ffff800014c95da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 6 locks held by syz.3.214/4840: #0: ffff0000df364460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e6e4e7a0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e6e4e7a0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_removexattr+0xcc/0x23c fs/xattr.c:526 #2: ffff0000e6e4e478 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff0000e6e4e478 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x1e0/0x12d8 fs/ext4/xattr.c:2327 #3: ffff800014da8df8 (dquot_srcu){....}-{0:0}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #4: ffff0000e6d2c268 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x54/0x240 fs/quota/dquot.c:507 #5: ffff0000df364208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x84/0x188 fs/quota/quota_v2.c:356 1 lock held by syz-executor/4871: #0: ffff0000d4e980e0 (&type->s_umount_key#30){++++}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 3 locks held by kworker/u4:23/5249: 3 locks held by kworker/1:12/5283: 1 lock held by syz.2.415/5485: #0: ffff0000d5a9e0e0 (&type->s_umount_key#30){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:714 6 locks held by syz.0.449/5581: #0: ffff0000da198460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e6fc03f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e6fc03f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_removexattr+0xcc/0x23c fs/xattr.c:526 #2: ffff0000e6fc00c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff0000e6fc00c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x1e0/0x12d8 fs/ext4/xattr.c:2327 #3: ffff800014da8df8 (dquot_srcu){....}-{0:0}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #4: ffff0000cf5787a8 ( &dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x54/0x240 fs/quota/dquot.c:507 #5: ffff0000da198208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x84/0x188 fs/quota/quota_v2.c:356 7 locks held by syz-executor/6547: #0: ffff0000d4994460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x228/0xb44 fs/read_write.c:590 #1: ffff0000e5e4b888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:287 #2: ffff0000c798f0f0 (kn->active#230){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:288 #3: ffff8000161c2c68 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x3bc drivers/net/netdevsim/bus.c:344 #4: ffff0000d8f74178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff0000d8f74178 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #4: ffff0000d8f74178 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x6ac drivers/base/dd.c:1259 #5: ffff0000d8f75400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1359 [inline] #5: ffff0000d8f75400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0xfc/0x214 drivers/net/netdevsim/dev.c:1561 #6: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 1 lock held by syz.4.840/6638: #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5615 2 locks held by syz.3.845/6655: #0: ffff0000dc297410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff0000dc297410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff0000dc297410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x80/0x1fc net/socket.c:1336 #1: ffff800014c95da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffff800014c95da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2f0/0x660 kernel/rcu/tree_exp.h:845 1 lock held by syz.3.845/6658: #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5615 =============================================