INFO: task kworker/1:0:23 blocked for more than 430 seconds. Not tainted 6.15.0-rc2-syzkaller-00471-g119009db2674 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:0 pid:23 tgid:23 ppid:2 task_flags:0x4288060 flags:0x00000008 Workqueue: md_misc mddev_delayed_delete Call trace: __switch_to+0x204/0x4bc arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0xd34/0x3188 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xd0/0x344 kernel/sched/core.c:6860 schedule_timeout+0x1ec/0x224 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x1d0/0x3f8 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x20/0x2c kernel/sched/completion.c:148 devtmpfs_submit_req+0xac/0x114 drivers/base/devtmpfs.c:122 devtmpfs_delete_node+0xd8/0x128 drivers/base/devtmpfs.c:171 device_del+0x59c/0x7b4 drivers/base/core.c:3834 del_gendisk+0x3fc/0x87c block/genhd.c:734 md_kobj_release+0x84/0xd8 drivers/md/md.c:5749 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x17c/0x430 lib/kobject.c:737 mddev_delayed_delete+0x14/0x20 drivers/md/md.c:5828 process_one_work+0x7cc/0x18d4 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x734/0xb84 kernel/workqueue.c:3400 kthread+0x348/0x5fc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Showing all locks held in the system: 2 locks held by kworker/1:0/23: #0: ffff00000ef82948 ((wq_completion)md_misc){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3213 #1: ffff80008d5c7c80 ((work_completion)(&mddev->del_work)){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3213 2 locks held by kdevtmpfs/25: #0: ffff00000de30950 (&type->i_mutex_dir_key/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #0: ffff00000de30950 (&type->i_mutex_dir_key/1){+.+.}-{4:4}, at: __kern_path_locked+0xd4/0x1f8 fs/namei.c:2765 #1: ffff80008771a4e8 (major_names_lock){+.+.}-{4:4}, at: blk_probe_dev+0x30/0x168 block/genhd.c:820 3 locks held by pr/ttyAMA0/32: 1 lock held by khungtaskd/33: #0: ffff80008728da60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x18/0x1c4 kernel/locking/lockdep.c:6758 3 locks held by kworker/u8:5/154: #0: ffff00000d831148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3213 #1: ffff80008dce7c80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3213 #2: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x1c/0x28 net/core/rtnetlink.c:80 3 locks held by kworker/u8:7/172: #0: ffff000012f09948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3213 #1: ffff80008dc77c80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3213 #2: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x1c/0x28 net/core/rtnetlink.c:80 1 lock held by klogd/3110: 1 lock held by dhcpcd/3151: #0: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x1c/0x28 net/core/rtnetlink.c:80 2 locks held by getty/3241: #0: ffff0000175a80a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80008d50b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e4/0xdb4 drivers/tty/n_tty.c:2222 3 locks held by syz.0.322/4394: #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x3c4/0xb04 drivers/tty/tty_io.c:2129 #1: ffff0000173531c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_lock+0x48/0x90 drivers/tty/tty_mutex.c:18 #2: ffff80008719e340 (console_lock){+.+.}-{0:0}, at: con_install+0xa4/0x4c4 drivers/tty/vt/vt.c:3515 2 locks held by syz-executor/4412: #0: ffff800087091bb8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0xb8/0x218 net/core/rtnetlink.c:573 #1: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x4b8/0x1810 net/core/rtnetlink.c:4064 1 lock held by syz.1.337/4456: #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x3c4/0xb04 drivers/tty/tty_io.c:2129 1 lock held by syz.1.337/4460: #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x3c4/0xb04 drivers/tty/tty_io.c:2129 2 locks held by syz.1.337/4463: #0: ffff00000de52420 (sb_writers){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1783 [inline] #0: ffff00000de52420 (sb_writers){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1919 [inline] #0: ffff00000de52420 (sb_writers){.+.+}-{0:0}, at: mnt_want_write+0x3c/0xb0 fs/namespace.c:556 #1: ffff00000de30950 (&type->i_mutex_dir_key#2){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff00000de30950 (&type->i_mutex_dir_key#2){++++}-{4:4}, at: open_last_lookups fs/namei.c:3797 [inline] #1: ffff00000de30950 (&type->i_mutex_dir_key#2){++++}-{4:4}, at: path_openat+0xcbc/0x25e4 fs/namei.c:4036 1 lock held by syz.1.337/4465: #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffff800087a33cc8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x3c4/0xb04 drivers/tty/tty_io.c:2129 1 lock held by syz-executor/4468: #0: ffff8000887e3b68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x1c/0x28 net/core/rtnetlink.c:80 =============================================