INFO: task syz-executor.0:14287 blocked for more than 143 seconds.
Not tainted 6.6.0-rc2-syzkaller-00743-g35766690d675 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24736 pid:14287 ppid:1 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x5a10 kernel/sched/core.c:6695
schedule+0xe7/0x1b0 kernel/sched/core.c:6771
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747
nsim_destroy+0x39/0x190 drivers/net/netdevsim/netdev.c:411
__nsim_dev_port_del+0x189/0x240 drivers/net/netdevsim/dev.c:1425
nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline]
nsim_dev_reload_destroy+0x172/0x560 drivers/net/netdevsim/dev.c:1658
nsim_drv_remove+0x52/0x1d0 drivers/net/netdevsim/dev.c:1673
device_remove+0xc8/0x170 drivers/base/dd.c:567
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1295
bus_remove_device+0x22c/0x420 drivers/base/bus.c:574
device_del+0x39a/0xa50 drivers/base/core.c:3813
device_unregister+0x1d/0xc0 drivers/base/core.c:3854
nsim_bus_dev_del drivers/net/netdevsim/bus.c:310 [inline]
del_device_store+0x346/0x4b0 drivers/net/netdevsim/bus.c:219
bus_attr_store+0x76/0xa0 drivers/base/bus.c:170
sysfs_kf_write+0x117/0x170 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x3ff/0x610 fs/kernfs/file.c:334
call_write_iter include/linux/fs.h:1956 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x650/0xe40 fs/read_write.c:584
ksys_write+0x12f/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f79e147b82f
RSP: 002b:00007fffe8e773f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f79e147b82f
RDX: 0000000000000001 RSI: 00007fffe8e77440 RDI: 0000000000000005
RBP: 00007f79e14c8021 R08: 0000000000000000 R09: 00007fffe8e77247
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007fffe8e77440 R14: 00007f79e20c4620 R15: 0000000000000003
</TASK>
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8cbb6c78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8cbb6c78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992
1 lock held by khungtaskd/29:
#0: ffffffff8cbab3a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#0: ffffffff8cbab3a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#0: ffffffff8cbab3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
2 locks held by getty/4805:
#0: ffff8880263de0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206
3 locks held by kworker/1:14/30000:
#0: ffff888012c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc9000499fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:277
2 locks held by kworker/u4:10/8966:
4 locks held by kworker/u4:12/8968:
#0: ffff888012c73d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc9000a8efd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8e5ed210 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:576
#3: ffffffff8cbb6b40 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4001
2 locks held by kworker/0:6/9753:
#0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc90004d17d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
4 locks held by kworker/0:10/14190:
1 lock held by syz-executor.3/14280:
#0: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:697 [inline]
#0: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x240 drivers/net/tun.c:3496
7 locks held by syz-executor.0/14287:
#0: ffff8880260ba410 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x250 fs/read_write.c:637
#1: ffff888097293488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x610 fs/kernfs/file.c:325
#2: ffff888140fd31d8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x610 fs/kernfs/file.c:326
#3: ffffffff8dca4ae8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:209
#4: ffff88807b8400e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
#4: ffff88807b8400e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff88807b8400e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292
#5: ffff88807b841250 (&devlink->lock_key#5){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1672
#6: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x39/0x190 drivers/net/netdevsim/netdev.c:411
4 locks held by syz-executor.3/14336:
#0: ffff88809dd210b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x70 net/bluetooth/hci_core.c:552
#1: ffff88809dd20078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x345/0x10f0 net/bluetooth/hci_sync.c:5013
#2: ffffffff8e85cb68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1947 [inline]
#2: ffffffff8e85cb68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x230 net/bluetooth/hci_conn.c:2551
#3: ffffffff8cbb6c78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#3: ffffffff8cbb6c78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992
3 locks held by syz-executor.1/14342:
#0: ffff88809daad0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x70 net/bluetooth/hci_core.c:552
#1: ffff88809daac078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x345/0x10f0 net/bluetooth/hci_sync.c:5013
#2: ffffffff8e85cb68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1947 [inline]
#2: ffffffff8e85cb68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x230 net/bluetooth/hci_conn.c:2551
3 locks held by syz-executor.0/14344:
#0: ffff88809e8a10b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x70 net/bluetooth/hci_core.c:552
#1: ffff88809e8a0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x345/0x10f0 net/bluetooth/hci_sync.c:5013
#2: ffffffff8e85cb68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1947 [inline]
#2: ffffffff8e85cb68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x230 net/bluetooth/hci_conn.c:2551
2 locks held by syz-executor.3/14353:
#0: ffffffff8e5ed210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
#1: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x225/0x5e0 net/ipv4/ip_tunnel.c:1090
2 locks held by syz-executor.1/14358:
#0: ffffffff8e5ed210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
#1: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10286
2 locks held by syz-executor.0/14360:
#0: ffffffff8e5ed210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
#1: ffffffff8e602528 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x225/0x5e0 net/ipv4/ip_tunnel.c:1090
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-00743-g35766690d675 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf87/0x1210 kernel/hung_task.c:379
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 14189 Comm: kworker/0:9 Not tainted 6.6.0-rc2-syzkaller-00743-g35766690d675 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: events cfg80211_wiphy_work
RIP: 0010:mark_lock+0x2f/0x1950 kernel/locking/lockdep.c:4638
Code: 57 41 56 41 55 41 89 d5 48 ba 00 00 00 00 00 fc ff df 41 54 53 48 83 e4 f0 48 81 ec 40 01 00 00 48 8d 44 24 40 48 89 7c 24 30 <48> c7 44 24 40 b3 8a b5 41 48 c1 e8 03 48 c7 44 24 48 60 d8 38 8c
RSP: 0018:ffffc9000eef7ac0 EFLAGS: 00000086
RAX: ffffc9000eef7b00 RBX: 0000000000000002 RCX: 1ffffffff234a8ba
RDX: dffffc0000000000 RSI: ffff888029eb8b18 RDI: ffff888029eb8000
RBP: ffffc9000eef7c30 R08: 0000000000000000 R09: fffffbfff233e1ee
R10: ffffffff919f0f77 R11: 0000000000000000 R12: ffff888029eb8000
R13: 0000000000000006 R14: ffff888029eb8ac8 R15: ffff88807d8d06a8
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb8d79395a0 CR3: 000000000c976000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<TASK>
mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4273
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4299 [inline]
lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4358 [inline]
lockdep_hardirqs_on_prepare+0x28f/0x410 kernel/locking/lockdep.c:4310
trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61
__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
_raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202
spin_unlock_irq include/linux/spinlock.h:401 [inline]
cfg80211_wiphy_work+0x22a/0x330 net/wireless/core.c:433
process_one_work+0x884/0x15c0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
</TASK>