INFO: task syz-executor:8842 blocked for more than 143 seconds. Not tainted 6.14.0-rc6-syzkaller-ga5618886fdab #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:8842 tgid:8842 ppid:1 task_flags:0x400140 flags:0x00000001 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5378 [inline] __schedule+0x1360/0x257c kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6857 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6914 __mutex_lock_common+0xd30/0x24b8 kernel/locking/mutex.c:662 __mutex_lock kernel/locking/mutex.c:730 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:782 new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x200/0x280 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x334/0x48c fs/kernfs/file.c:334 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x704/0xa9c fs/read_write.c:679 ksys_write+0x15c/0x26c fs/read_write.c:731 __do_sys_write fs/read_write.c:742 [inline] __se_sys_write fs/read_write.c:739 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:739 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008fda2620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 3 locks held by kworker/u8:3/45: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff8000993c7ba0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/u8:4/125: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff800099fe7ba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/u8:6/583: 4 locks held by kworker/u8:8/778: #0: ffff0000c187a148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff80009d847ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b65fd0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x148/0xa48 net/core/net_namespace.c:606 #3: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 4 locks held by udevd/6058: #0: ffff0000d0e192f0 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xac/0xc44 fs/seq_file.c:182 #1: ffff000125c65088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x58/0x384 fs/kernfs/file.c:154 #2: ffff0000d52304b8 (kn->active#4){.+.+}-{0:0}, at: kernfs_seq_start+0x74/0x384 fs/kernfs/file.c:155 #3: ffff0000de0100e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #3: ffff0000de0100e8 (&dev->mutex){....}-{4:4}, at: uevent_show+0x178/0x338 drivers/base/core.c:2730 2 locks held by getty/6195: #0: ffff0000d730a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bcae2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by kworker/u9:8/6463: #0: ffff000104c96948 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff8000a20c7ba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff00012471cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x194/0x34c net/bluetooth/hci_sync.c:331 3 locks held by kworker/1:4/6500: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff8000a1ea7ba0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 5 locks held by kworker/1:5/6502: 3 locks held by kworker/u8:10/6614: #0: ffff0000d20a5148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff8000a13a7ba0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.4.315/8015: 1 lock held by syz.5.347/8137: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.6.365/8271: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 7 locks held by syz-executor/8787: #0: ffff0000d8344420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline] #0: ffff0000d8344420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x248/0xa9c fs/read_write.c:675 #1: ffff00010af00888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbd47c38 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091cb7b68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 #4: ffff0000de0100e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #4: ffff0000de0100e8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x90/0x434 drivers/base/dd.c:1005 #5: ffff000107ea2250 (&devlink->lock_key#14){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 4 locks held by syz-executor/8842: #0: ffff0000d8344420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline] #0: ffff0000d8344420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x248/0xa9c fs/read_write.c:675 #1: ffff0000c9de5488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbd47c38 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091cb7b68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 4 locks held by syz-executor/8845: #0: ffff0000d8344420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline] #0: ffff0000d8344420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x248/0xa9c fs/read_write.c:675 #1: ffff0000d8972c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbd47c38 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091cb7b68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 1 lock held by syz.0.421/9003: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9026: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:335 [inline] #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xaf8/0x1844 net/core/rtnetlink.c:4021 1 lock held by syz-executor/9054: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9059: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9064: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9068: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9069: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9075: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9085: #0: ffff800092b72768 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 =============================================