INFO: task syz-executor.3:5098 blocked for more than 143 seconds.
Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24224 pid:5098 tgid:5098 ppid:1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf12/0x5c60 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe9/0x280 kernel/sched/core.c:6817
schedule_timeout+0x25b/0x2a0 kernel/time/timer.c:2159
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3e4/0x600 kernel/sched/completion.c:116
__flush_work+0x523/0xa20 kernel/workqueue.c:3410
__cancel_work_timer+0x3f3/0x590 kernel/workqueue.c:3497
hci_cmd_sync_clear+0x2b/0x2c0 net/bluetooth/hci_sync.c:573
hci_unregister_dev+0x188/0x600 net/bluetooth/hci_core.c:2733
vhci_release+0x7f/0x100 drivers/bluetooth/hci_vhci.c:674
__fput+0x270/0xb80 fs/file_table.c:376
task_work_run+0x14f/0x250 kernel/task_work.c:180
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa8a/0x2ad0 kernel/exit.c:871
do_group_exit+0xd4/0x2a0 kernel/exit.c:1020
__do_sys_exit_group kernel/exit.c:1031 [inline]
__se_sys_exit_group kernel/exit.c:1029 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1029
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f4a8327dda9
RSP: 002b:00007ffee79a2b18 EFLAGS: 00000246
ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4a8327dda9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043
RBP: 00007f4a832ca44b R08: 00007ffee79a08b6 R09: 00000000001125dd
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000001c
R13: 00000000001125dd R14: 0000000000112545 R15: 0000000000000002
Showing all locks held in the system:
2 locks held by kworker/u4:1/12:
1 lock held by khungtaskd/30:
#0: ffffffff8d7ad2e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7ad2e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7ad2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by getty/4818:
#0: ffff88802b0ff0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015e02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201
2 locks held by syz-executor.4/5101:
#0: ffff888029a66420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4381
#1: ffff888029a66610 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6c0 fs/inode.c:665
3 locks held by kworker/u5:5/5103:
#0: ffff888029957d38 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608
#1: ffffc9000368fd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609
#2: ffff888037981060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:305
4 locks held by syz-executor.2/8683:
1 lock held by udevd/21063:
#0: ffff88801d0942c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:859 [inline]
#0: ffff88801d0942c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x13a/0x5f0 mm/readahead.c:225
1 lock held by syz-executor.4/21078:
#0: ffff888029a66420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2433/0x2790 kernel/signal.c:2879
1 lock held by syz-executor.1/21311:
#0: ffff888029a66420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2433/0x2790 kernel/signal.c:2879
3 locks held by udevd/21953:
3 locks held by syz-executor.1/23282:
#0: ffff888029a66420 (sb_writers#5){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:3884
#1: ffff888091015e00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline]
#1: ffff888091015e00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x1c2/0x530 fs/namei.c:3891
#2: ffffe8ffffc64288 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x20c/0x900 kernel/sched/psi.c:976
2 locks held by syz-executor.2/23283:
#0: ffff888029a66420 (sb_writers#5){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:3884
#1: ffff888085413600 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline]
#1: ffff888085413600 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x1c2/0x530 fs/namei.c:3891
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/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+0x2c6/0x3b0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 79 Comm: kworker/u4:5 Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:68 [inline]
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
RIP: 0010:hlock_class+0x49/0x130 kernel/locking/lockdep.c:228
Code: 74 08 3c 03 0f 8e da 00 00 00 0f b7 5b 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 c0 bf d4 93 42 b5 7a 00 48 0f a3 1d 6a f0 6a 12 73 13 48 69 c3 c8 00 00 00
RSP: 0018:ffffc900015b7668 EFLAGS: 00000047
RAX: 0000000000000000 RBX: 0000000000000037 RCX: 00000000b001a14b
RDX: 1ffff11002fe217a RSI: 0000000000000008 RDI: ffffffff93d4bfc0
RBP: ffffffff93d4dda8 R08: 0000000000000000 R09: fffffbfff27a97f8
R10: ffffffff93d4bfc7 R11: 0000000000000006 R12: ffff888017f10bb0
R13: ffffed1002fe2157 R14: 0000000000000037 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf6cbae28 CR3: 000000000d57a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lookup_chain_cache_add kernel/locking/lockdep.c:3781 [inline]
validate_chain kernel/locking/lockdep.c:3837 [inline]
__lock_acquire+0x1506/0x3b40 kernel/locking/lockdep.c:5137
lock_acquire kernel/locking/lockdep.c:5754 [inline]
lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
__pte_offset_map_lock+0xf1/0x300 mm/pgtable-generic.c:373
pte_offset_map_lock include/linux/mm.h:2958 [inline]
__get_locked_pte+0x79/0xc0 mm/memory.c:1850
get_locked_pte include/linux/mm.h:2683 [inline]
__text_poke+0x224/0xcb0 arch/x86/kernel/alternative.c:1901
text_poke_bp_batch+0x1cd/0x760 arch/x86/kernel/alternative.c:2294
text_poke_flush arch/x86/kernel/alternative.c:2488 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2485 [inline]
text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2495
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1d7/0x400 kernel/jump_label.c:829
static_key_disable_cpuslocked+0x154/0x1c0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:831 [inline]
toggle_allocation_gate+0x143/0x250 mm/kfence/core.c:818
process_one_work+0x889/0x15e0 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2706 [inline]
worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787
kthread+0x2c6/0x3b0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242