INFO: task syz-executor.1:14367 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:21592 pid:14367 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 unregister_netdevice_notifier+0x92/0x400 net/core/dev.c:1759 devlink_free+0x279/0x430 net/devlink/core.c:269 nsim_drv_remove+0x139/0x160 drivers/net/netdevsim/dev.c:1687 device_remove drivers/base/dd.c:540 [inline] __device_release_driver drivers/base/dd.c:1240 [inline] device_release_driver_internal+0x4a5/0x7a0 drivers/base/dd.c:1263 bus_remove_device+0x341/0x410 drivers/base/bus.c:574 device_del+0x681/0xb10 drivers/base/core.c:3775 device_unregister+0x20/0xc0 drivers/base/core.c:3805 nsim_bus_dev_del drivers/net/netdevsim/bus.c:310 [inline] del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:219 kernfs_fop_write_iter+0x3a6/0x4f0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc17643deef RSP: 002b:00007ffc02cc2350 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc17643deef RDX: 0000000000000001 RSI: 00007ffc02cc23a0 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007ffc02cc22f0 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc1764e78b6 R13: 00007ffc02cc23a0 R14: 0000000000000000 R15: 00007ffc02cc2a70 INFO: task syz-executor.2:14388 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:21752 pid:14388 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 kernfs_fop_write_iter+0x3a6/0x4f0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2741c3deef RSP: 002b:00007ffc1725a7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f2741c3deef RDX: 0000000000000001 RSI: 00007ffc1725a7f0 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007ffc1725a740 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f2741ce78b6 R13: 00007ffc1725a7f0 R14: 0000000000000000 R15: 00007ffc1725aec0 INFO: task syz-executor.4:14392 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:21768 pid:14392 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 kernfs_fop_write_iter+0x3a6/0x4f0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f991fa3deef RSP: 002b:00007ffff23d17b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f991fa3deef RDX: 0000000000000001 RSI: 00007ffff23d1800 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007ffff23d1750 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f991fae78b6 R13: 00007ffff23d1800 R14: 0000000000000000 R15: 00007ffff23d1ed0 INFO: task syz-executor.3:14399 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:21768 pid:14399 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 kernfs_fop_write_iter+0x3a6/0x4f0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc00aa3deef RSP: 002b:00007ffe75f380c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc00aa3deef RDX: 0000000000000001 RSI: 00007ffe75f38110 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007ffe75f38060 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc00aae78b6 R13: 00007ffe75f38110 R14: 0000000000000000 R15: 00007ffe75f387e0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4742: #0: ffff88814a192098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:23/9563: #0: ffff888016612938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc9000dff7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 #2: ffffffff8e07ab50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb80 net/core/net_namespace.c:575 4 locks held by kworker/1:11/11807: #0: ffff8880b993be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 #1: ffff8880b9928788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:976 #2: ffff8880b9929360 (krc.lock){..-.}-{2:2}, at: kfree_rcu_monitor+0x7d7/0x1510 kernel/rcu/tree.c:3116 #3: ffffffff91d8ee68 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:984 [inline] #3: ffffffff91d8ee68 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xd6/0x650 lib/debugobjects.c:1027 6 locks held by syz-executor.1/14367: #0: ffff88802c8ce460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580 #1: ffff88801e0a6488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x4f0 fs/kernfs/file.c:325 #2: ffff888021098e88 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8d9fe988 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 #4: ffff888033ea60e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff888033ea60e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1063 [inline] #4: ffff888033ea60e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7a0 drivers/base/dd.c:1260 #5: ffffffff8e07ab50 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x92/0x400 net/core/dev.c:1759 4 locks held by syz-executor.2/14388: #0: ffff88802c8ce460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580 #1: ffff88802cdf8088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x4f0 fs/kernfs/file.c:325 #2: ffff888021098e88 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8d9fe988 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 4 locks held by syz-executor.4/14392: #0: ffff88802c8ce460 ( sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580 #1: ffff88802be43c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x4f0 fs/kernfs/file.c:325 #2: ffff888021098e88 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8d9fe988 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 4 locks held by syz-executor.3/14399: #0: ffff88802c8ce460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580 #1: ffff88802da1a888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x4f0 fs/kernfs/file.c:325 #2: ffff888021098e88 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x4f0 fs/kernfs/file.c:326 #3: ffffffff8d9fe988 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:209 1 lock held by syz-executor.1/15765: #0: ffffffff8e07ab50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4af/0x790 net/core/net_namespace.c:486 1 lock held by syz-executor.2/15768: #0: ffffffff8e07ab50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4af/0x790 net/core/net_namespace.c:486 1 lock held by syz-executor.3/15771: #0: ffffffff8e07ab50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4af/0x790 net/core/net_namespace.c:486 1 lock held by syz-executor.4/15774: #0: ffffffff8e07ab50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4af/0x790 net/core/net_namespace.c:486 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5523 Comm: kworker/u4:7 Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: phy15 ieee80211_iface_work RIP: 0010:__sanitizer_cov_trace_switch+0x7e/0x110 Code: 00 4d 85 d2 75 24 e9 a9 00 00 00 41 b8 01 00 00 00 4d 85 d2 75 14 e9 99 00 00 00 41 b8 05 00 00 00 4d 85 d2 0f 84 8a 00 00 00 <4c> 8b 4c 24 20 65 4c 8b 1d a5 35 79 7e 31 d2 eb 08 48 ff c2 49 39 RSP: 0018:ffffc90007cff258 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000020 RCX: ffff888035d6d7c0 RDX: 0000000000000000 RSI: ffffffff8e2efc50 RDI: 0000000000000001 RBP: ffffc90007cff650 R08: 0000000000000001 R09: fffff52000f9feb5 R10: 0000000000000028 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88807cc0037c R14: 0000000000000001 R15: ffff88807cc0037c FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c012671000 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _ieee802_11_parse_elems_full+0x691/0x3d90 net/mac80211/util.c:1018 ieee802_11_parse_elems_full+0xdbd/0x2a40 net/mac80211/util.c:1628 ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2265 [inline] ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2272 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0x513/0x2cf0 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0x7bd/0xd00 net/mac80211/iface.c:1637 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308