INFO: task syz-executor:2885 blocked for more than 143 seconds.
Not tainted 6.5.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D
stack:12736 pid:2885 ppid:1 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x3b4/0xa10 kernel/sched/core.c:6710
schedule+0x59/0xb0 kernel/sched/core.c:6786
schedule_timeout+0x137/0x150 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x85/0x160 kernel/sched/completion.c:138
__flush_work+0x2e1/0x3e0 kernel/workqueue.c:3389
hci_dev_close_sync+0xd0/0x590 net/bluetooth/hci_sync.c:5001
hci_dev_do_close+0x24/0x60 net/bluetooth/hci_core.c:554
hci_unregister_dev+0xb8/0x1d0 net/bluetooth/hci_core.c:2731
vhci_release+0x3a/0x70 drivers/bluetooth/hci_vhci.c:669
__fput+0xe8/0x290 fs/file_table.c:384
task_work_run+0x55/0x90 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0x350/0xb80 kernel/exit.c:874
do_group_exit+0x32/0xa0 kernel/exit.c:1024
get_signal+0xac4/0xad0 kernel/signal.c:2881
arch_do_signal_or_restart+0x39/0x290 arch/x86/kernel/signal.c:308
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0xc3/0x150 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x17/0x40 kernel/entry/common.c:297
do_syscall_64+0x4c/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x74/0xde
RIP: 0033:0x7f2e1857d15c
RSP: 002b:00007ffedc236090 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffe00 RBX: 0000000000000003 RCX: 00007f2e1857d15c
RDX: 0000000000000028 RSI: 00007ffedc236140 RDI: 00000000000000f9
RBP: 00007ffedc2360ec R08: 0000000000000000 R09: 00007ffedc235e07
R10: 00007ffedc235a50 R11: 0000000000000246 R12: 00007f2e18706f68
R13: 000000000000eb92 R14: 000000000000eb92 R15: 00007ffedc236140
Showing all locks held in the system:
3 locks held by kworker/0:0/7:
#0: ffff88810006c738 ((wq_completion)events){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff88810006c738 ((wq_completion)events){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90000043e58 ((linkwatch_work).work){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90000043e58 ((linkwatch_work).work){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffffffff83b17348 (rtnl_mutex){....}-{3:3}, at: linkwatch_event+0xd/0x40 net/core/link_watch.c:277
3 locks held by kworker/0:1/9:
#0: ffff8881026a5338 ((wq_completion)ipv6_addrconf){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff8881026a5338 ((wq_completion)ipv6_addrconf){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90000053e58 ((work_completion)(&(&ifa->dad_work)->work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90000053e58 ((work_completion)(&(&ifa->dad_work)->work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffffffff83b17348 (rtnl_mutex){....}-{3:3}, at: addrconf_dad_work+0x55/0x510 net/ipv6/addrconf.c:4125
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff83983e10 (rcu_tasks.tasks_gp_mutex){....}-{3:3}, at: rcu_tasks_one_gp+0x26/0x3d0 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff83983b50 (rcu_tasks_trace.tasks_gp_mutex){....}-{3:3}, at: rcu_tasks_one_gp+0x26/0x3d0 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x12/0x120 kernel/locking/lockdep.c:6615
5 locks held by kworker/u4:2/39:
#0: ffff888101255938 ((wq_completion)netns){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888101255938 ((wq_completion)netns){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90000363e58 (net_cleanup_work){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90000363e58 (net_cleanup_work){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffffffff83b15ed0 (pernet_ops_rwsem){....}-{3:3}, at: cleanup_net+0x46/0x3e0 net/core/net_namespace.c:576
#3: ffffffff83b17348 (rtnl_mutex){....}-{3:3}, at: default_device_exit_batch+0x33/0x2c0 net/core/dev.c:11431
#4: ffffffff839850b8 (rcu_state.exp_mutex){....}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#4: ffffffff839850b8 (rcu_state.exp_mutex){....}-{3:3}, at: synchronize_rcu_expedited+0x329/0x450 kernel/rcu/tree_exp.h:992
4 locks held by kworker/u5:1/1352:
#0: ffff888106f30d38 ((wq_completion)hci0#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888106f30d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90002cafe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90002cafe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffff88810532c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x300 net/bluetooth/hci_event.c:6947
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline]
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x300 net/bluetooth/hci_event.c:6943
2 locks held by getty/1454:
#0: ffff88810c2c2098 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x60 drivers/tty/tty_ldisc.c:243
#1: ffffc90002cc32f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x524/0x650 drivers/tty/n_tty.c:2187
2 locks held by kworker/0:3/1612:
#0: ffff88810006d338 ((wq_completion)rcu_gp){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff88810006d338 ((wq_completion)rcu_gp){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc9000125fe58 ((work_completion)(&rew->rew_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc9000125fe58 ((work_completion)(&rew->rew_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
4 locks held by kworker/u5:2/1950:
#0: ffff888109397938 ((wq_completion)hci1#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888109397938 ((wq_completion)hci1#2){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90001b4fe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90001b4fe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffff88810f68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x300 net/bluetooth/hci_event.c:6947
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline]
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x300 net/bluetooth/hci_event.c:6943
4 locks held by kworker/u5:3/1951:
#0: ffff888105331138 ((wq_completion)hci2#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888105331138 ((wq_completion)hci2#2){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90001affe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90001affe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffff88810afb8078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x300 net/bluetooth/hci_event.c:6947
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline]
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x300 net/bluetooth/hci_event.c:6943
3 locks held by kworker/1:4/2221:
#0: ffff8881026a5338 ((wq_completion)ipv6_addrconf){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff8881026a5338 ((wq_completion)ipv6_addrconf){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90002027e58 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90002027e58 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffffffff83b17348 (rtnl_mutex){....}-{3:3}, at: addrconf_verify_work+0xd/0x20 net/ipv6/addrconf.c:4667
1 lock held by syz-executor/2885:
#0: ffff88810532d0b8 (&hdev->req_lock){....}-{3:3}, at: hci_dev_do_close+0x1c/0x60 net/bluetooth/hci_core.c:552
1 lock held by syz-executor/4485:
#0: ffff88810f68d0b8 (&hdev->req_lock){....}-{3:3}, at: hci_dev_do_close+0x1c/0x60 net/bluetooth/hci_core.c:552
1 lock held by syz-executor/6087:
#0: ffff88810afb90b8 (&hdev->req_lock){....}-{3:3}, at: hci_dev_do_close+0x1c/0x60 net/bluetooth/hci_core.c:552
4 locks held by kworker/u5:4/6089:
#0: ffff888102358938 ((wq_completion)hci3#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888102358938 ((wq_completion)hci3#2){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc900025bfe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc900025bfe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffff88810eb04078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x300 net/bluetooth/hci_event.c:6947
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline]
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x300 net/bluetooth/hci_event.c:6943
1 lock held by syz-executor/7689:
#0: ffff88810eb050b8 (&hdev->req_lock){....}-{3:3}, at: hci_dev_do_close+0x1c/0x60 net/bluetooth/hci_core.c:552
4 locks held by kworker/u5:5/7690:
#0: ffff888109b47538 ((wq_completion)hci4#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888109b47538 ((wq_completion)hci4#2){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc900049bfe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc900049bfe58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffff888108310078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x300 net/bluetooth/hci_event.c:6947
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline]
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x300 net/bluetooth/hci_event.c:6943
1 lock held by syz-executor/9293:
#0: ffff8881083110b8 (&hdev->req_lock){....}-{3:3}, at: hci_dev_do_close+0x1c/0x60 net/bluetooth/hci_core.c:552
1 lock held by syz-executor/10895:
#0: ffff8881720b50b8 (&hdev->req_lock){....}-{3:3}, at: hci_dev_do_close+0x1c/0x60 net/bluetooth/hci_core.c:552
4 locks held by kworker/u5:7/10896:
#0: ffff888109796538 ((wq_completion)hci5#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#0: ffff888109796538 ((wq_completion)hci5#2){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#1: ffffc90004a87e58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:901 [inline]
#1: ffffc90004a87e58 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x204/0x4f0 kernel/workqueue.c:2562
#2: ffff8881720b4078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x300 net/bluetooth/hci_event.c:6947
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline]
#3: ffffffff839844c0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x300 net/bluetooth/hci_event.c:6943
1 lock held by syz-executor/12499:
#0: ffffffff83b17348 (rtnl_mutex){....}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff83b17348 (rtnl_mutex){....}-{3:3}, at: rtnetlink_rcv_msg+0x142/0x440 net/core/rtnetlink.c:6424
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x3d/0x70 lib/dump_stack.c:106
nmi_cpu_backtrace+0xd4/0x110 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x11c/0x140 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+0x593/0x5c0 kernel/hung_task.c:379
kthread+0xde/0x110 kernel/kthread.c:389
ret_from_fork+0x2c/0x50 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5879 Comm: kworker/u4:5 Not tainted 6.5.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline]
RIP: 0010:smp_call_function_many_cond+0x2a0/0x690 kernel/smp.c:835
Code: 74 52 f3 48 0f bc c0 83 f8 07 41 89 c4 77 45 48 98 48 8b 2b 48 03 2c c5 00 39 5e 83 0f 1f 44 00 00 8b 45 08 a8 01 74 09 f3 90 <8b> 45 08 a8 01 75 f7 41 8d 4c 24 01 48 63 c1 48 83 f8 07 77 15 48
RSP: 0018:ffffc90002093cb0 EFLAGS: 00000202
RAX: 0000000000000011 RBX: ffff888237c30100 RCX: 0000000000000002
RDX: 00000000000008fb RSI: ffffffff833da261 RDI: ffffffff833dd7e3
RBP: ffff888237d35740 R08: ffff888237d35740 R09: 0000000000008524
R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559f53d71a48 CR3: 0000000003848000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x3b/0x70 kernel/smp.c:1003
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2001 [inline]
text_poke_bp_batch+0x2ec/0x310 arch/x86/kernel/alternative.c:2294
text_poke_flush arch/x86/kernel/alternative.c:2402 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked kernel/jump_label.c:235 [inline]
static_key_disable_cpuslocked+0x4e/0x60 kernel/jump_label.c:223
static_key_disable+0x15/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:836 [inline]
toggle_allocation_gate+0x71/0x130 mm/kfence/core.c:823
process_one_work+0x29d/0x4f0 kernel/workqueue.c:2600
worker_thread+0x4e/0x340 kernel/workqueue.c:2751
kthread+0xde/0x110 kernel/kthread.c:389
ret_from_fork+0x2c/0x50 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304