INFO: task syz-executor:6580 blocked for more than 158 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:22280 pid:6580 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 new_device_store+0x12d/0x670 drivers/net/netdevsim/bus.c:160 kernfs_fop_write_iter+0x3b6/0x520 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x43b/0x940 fs/read_write.c:584 ksys_write+0x147/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f721a38e1ff RSP: 002b:00007ffd0545f360 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f721a38e1ff RDX: 0000000000000003 RSI: 00007ffd0545f3b0 RDI: 0000000000000005 RBP: 00007f721a4152ef R08: 0000000000000000 R09: 00007ffd0545f1b7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 00007ffd0545f3b0 R14: 00007f721b114620 R15: 0000000000000003 Showing all locks held in the system: 3 locks held by kworker/u4:1/12: #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbc5c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286 1 lock held by khungtaskd/28: #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 3 locks held by kworker/1:1/42: 4 locks held by kworker/u5:0/51: #0: ffff88805e939938 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88805e939938 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90000bc7d00 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90000bc7d00 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff8880607b40b8 (&hdev->lock){+.+.}-{3:3}, at: hci_remote_features_evt+0x9c/0x8d0 net/bluetooth/hci_event.c:3688 #3: ffffffff8e1296c8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1996 [inline] #3: ffffffff8e1296c8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_remote_features_evt+0x517/0x8d0 net/bluetooth/hci_event.c:3722 4 locks held by kworker/u4:8/2915: 3 locks held by kworker/u4:9/3464: #0: ffff88814c4d0938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88814c4d0938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000d0d7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000d0d7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbc5c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4700 2 locks held by dhcpcd/5452: #0: ffff8880196bb690 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: netlink_dump+0xcc/0xde0 net/netlink/af_netlink.c:2200 #1: ffffffff8dfbc5c8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x71f/0xde0 net/netlink/af_netlink.c:2263 2 locks held by getty/5555: #0: ffff88814c7dc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 3 locks held by kworker/0:4/5876: #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90003247d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90003247d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbc5c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 7 locks held by syz-executor/6578: #0: ffff8880204d2418 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x20e/0x940 fs/read_write.c:580 #1: ffff88806882e088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x520 fs/kernfs/file.c:343 #2: ffff888141f594e0 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff888141f594e0 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x23a/0x520 fs/kernfs/file.c:344 #3: ffffffff8d898208 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x360 drivers/net/netdevsim/bus.c:209 #4: ffff88802f7810e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #4: ffff88802f7810e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88802f7810e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x7a0 drivers/base/dd.c:1292