INFO: task syz.5.358:8210 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.358 state:D stack:0 pid:8210 tgid:8209 ppid:7877 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7017 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:692 __mutex_lock kernel/locking/mutex.c:776 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:828 loop_reread_partitions drivers/block/loop.c:447 [inline] loop_set_status+0x7bc/0xaf4 drivers/block/loop.c:1277 loop_set_status64 drivers/block/loop.c:1373 [inline] lo_ioctl+0x720/0x177c drivers/block/loop.c:1559 blkdev_ioctl+0x62c/0xadc block/ioctl.c:791 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:583 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 4 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/13: #0: ffff0000d5863148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097d07be0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/1:1/26: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097de7be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000e22d8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6363 [inline] #3: ffff0000e22d8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0x98/0x1dc net/wireless/reg.c:3179 1 lock held by khungtaskd/32: #0: ffff80008fa5b520 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/41: 1 lock held by pr/ttyAMA-1/43: 5 locks held by kworker/u9:0/53: #0: ffff0000d82d0148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800099467be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000cfad8ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x38c net/bluetooth/hci_sync.c:331 #3: ffff0000cfad80c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5702 #4: ffff800092e50e48 (uevent_sock_mutex){+.+.}-{4:4}, at: uevent_net_broadcast_untagged lib/kobject_uevent.c:317 [inline] #4: ffff800092e50e48 (uevent_sock_mutex){+.+.}-{4:4}, at: kobject_uevent_net_broadcast+0x24c/0x548 lib/kobject_uevent.c:410 2 locks held by kworker/1:2/60: 3 locks held by kworker/u8:4/159: 3 locks held by kworker/u8:8/1565: 3 locks held by kworker/u8:10/2212: 2 locks held by kworker/u8:11/2333: 3 locks held by kworker/u8:12/3851: 3 locks held by kworker/u8:14/4446: 3 locks held by kworker/u8:15/4946: 1 lock held by dhcpcd/6264: 2 locks held by getty/6352: #0: ffff0000d5d0f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f1e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfc8 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/6558: 2 locks held by udevd/6560: 2 locks held by syz-executor/6568: 1 lock held by syz-executor/6571: #0: ffff800092e50e48 (uevent_sock_mutex){+.+.}-{4:4}, at: uevent_net_broadcast_untagged lib/kobject_uevent.c:317 [inline] #0: ffff800092e50e48 (uevent_sock_mutex){+.+.}-{4:4}, at: kobject_uevent_net_broadcast+0x24c/0x548 lib/kobject_uevent.c:410 2 locks held by syz-executor/6572: 3 locks held by udevd/6686: 2 locks held by udevd/7282: 3 locks held by kworker/u8:21/7885: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009eb17be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:23/7887: 3 locks held by kworker/u8:24/7888: 3 locks held by kworker/u8:25/7889: 2 locks held by kworker/u8:26/7890: 3 locks held by kworker/u8:28/7892: 3 locks held by kworker/u8:32/7896: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009ea67be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:33/7897: 3 locks held by kworker/u8:34/7898: 3 locks held by kworker/u8:35/7900: 1 lock held by syz.5.358/8210: #0: ffff0000cbb28358 (&disk->open_mutex){+.+.}-{4:4}, at: loop_reread_partitions drivers/block/loop.c:447 [inline] #0: ffff0000cbb28358 (&disk->open_mutex){+.+.}-{4:4}, at: loop_set_status+0x7bc/0xaf4 drivers/block/loop.c:1277 5 locks held by kworker/1:9/8237: 2 locks held by kworker/0:10/8241: 1 lock held by syz-executor/8243: 2 locks held by kworker/1:12/8244: =============================================