INFO: task syz-executor:6681 blocked for more than 143 seconds. Not tainted 6.16.0-rc5-syzkaller-gec4801305969 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6681 tgid:6681 ppid:6678 task_flags:0x400140 flags:0x00000000 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5401 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6790 __schedule_loop kernel/sched/core.c:6868 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6883 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6940 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 new_device_store+0x128/0x594 drivers/net/netdevsim/bus.c:166 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x1a8/0x23c fs/sysfs/file.c:145 kernfs_fop_write_iter+0x314/0x488 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x62c/0x97c fs/read_write.c:686 ksys_write+0x120/0x210 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:746 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 INFO: task syz-executor:6684 blocked for more than 143 seconds. Not tainted 6.16.0-rc5-syzkaller-gec4801305969 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6684 tgid:6684 ppid:6682 task_flags:0x400140 flags:0x00000010 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5401 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6790 __schedule_loop kernel/sched/core.c:6868 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6883 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6940 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 device_lock include/linux/device.h:884 [inline] device_del+0xa4/0x808 drivers/base/core.c:3843 device_unregister+0x2c/0xcc drivers/base/core.c:3922 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x27c/0x31c drivers/net/netdevsim/bus.c:226 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x1a8/0x23c fs/sysfs/file.c:145 kernfs_fop_write_iter+0x314/0x488 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x62c/0x97c fs/read_write.c:686 ksys_write+0x120/0x210 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:746 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/14: 1 lock held by khungtaskd/32: #0: ffff80008f8599c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 4 locks held by kworker/u8:2/41: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000990e7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928b6568 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000f4588768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6062 [inline] #3: ffff0000f4588768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_leave_invalid_chans net/wireless/reg.c:2471 [inline] #3: ffff0000f4588768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_check_chans_work+0x11c/0xd88 net/wireless/reg.c:2486 2 locks held by pr/ttyAMA0/43: 3 locks held by kworker/u8:4/137: #0: ffff0000d288d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009bb37bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928b6568 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/u8:5/241: 6 locks held by kworker/u8:8/1587: #0: ffff0000c18a2148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009ee27bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928a99d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x6c0 net/core/net_namespace.c:662 #3: ffff0000d6c3e0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #3: ffff0000d6c3e0e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff0000d6c3e0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0xe4/0x380 net/devlink/core.c:506 #4: ffff0000d6c39250 (&devlink->lock_key){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff0000d6c39250 (&devlink->lock_key){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff0000d6c39250 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0xf0/0x380 net/devlink/core.c:506 #5: ffff8000928b6568 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by klogd/6129: 3 locks held by udevd/6140: 1 lock held by dhcpcd/6194: 3 locks held by dhcpcd/6195: 2 locks held by getty/6291: #0: ffff0000cc8fd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009ba3b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 4 locks held by kworker/u9:3/6604: #0: ffff0000d530b948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a39a7bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000d90e0dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000d90e00b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1a0/0xb8c net/bluetooth/hci_sync.c:5670 1 lock held by syz-executor/6672: #0: ffff8000928b6568 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/6679: 4 locks held by syz-executor/6681: #0: ffff0000d815e428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff0000d815e428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #1: ffff0000c7c64c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000cb654968 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff80009190ac28 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x128/0x594 drivers/net/netdevsim/bus.c:166 5 locks held by syz-executor/6684: #0: ffff0000d815e428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff0000d815e428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #1: ffff0000dc211c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000cb654a58 (kn->active#54){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff80009190ac28 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:216 #4: ffff0000d6c3e0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #4: ffff0000d6c3e0e8 (&dev->mutex){....}-{4:4}, at: device_del+0xa4/0x808 drivers/base/core.c:3843 4 locks held by syz.0.23/6758: #0: ffff0000d4db8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline] #0: ffff0000d4db8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x1f8/0x4bc net/bluetooth/hci_core.c:2717 #1: ffff0000d4db80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x4c4/0x1154 net/bluetooth/hci_sync.c:5282 #2: ffff800092a1f068 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2068 [inline] #2: ffff800092a1f068 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xac/0x214 net/bluetooth/hci_conn.c:2560 #3: ffff0000db940338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x74/0x5f0 net/bluetooth/l2cap_core.c:1762 3 locks held by kworker/u8:11/6761: 6 locks held by kworker/u8:12/6763: 2 locks held by kworker/u8:13/6764: 3 locks held by kworker/u8:14/6765: 2 locks held by syz-executor/6767: =============================================