INFO: task kworker/1:2:54 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:23008 pid:54 ppid:2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: 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 rfkill_sync_work+0x1c/0xc0 net/rfkill/core.c:1040 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 INFO: task kworker/1:6:5143 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:21808 pid:5143 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: 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 rfkill_global_led_trigger_worker+0x1b/0x160 net/rfkill/core.c:181 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 INFO: task syz-executor.5:11517 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28048 pid:11517 ppid:5079 flags:0x00004006 Call Trace: 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 device_lock include/linux/device.h:992 [inline] nfc_dev_down+0x2d/0x2d0 net/nfc/core.c:143 nfc_rfkill_set_block+0x39/0xd0 net/nfc/core.c:179 rfkill_set_block+0x200/0x550 net/rfkill/core.c:345 rfkill_fop_write+0x2d4/0x570 net/rfkill/core.c:1286 vfs_write+0x2a4/0xe40 fs/read_write.c:582 ksys_write+0x1f0/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:0x7f1d34e7cae9 RSP: 002b:00007f1d339fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1d34f9bf80 RCX: 00007f1d34e7cae9 RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f1d34ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1d34f9bf80 R15: 00007f1d350bfa48 INFO: task syz-executor.0:11512 blocked for more than 144 seconds. Not tainted 6.6.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26800 pid:11512 ppid:5094 flags:0x00004006 Call Trace: 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_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_work+0x523/0xa10 kernel/workqueue.c:3407 __cancel_work_timer+0x3ef/0x580 kernel/workqueue.c:3494 rfkill_unregister+0x95/0x2c0 net/rfkill/core.c:1124 nfc_unregister_device+0x94/0x330 net/nfc/core.c:1167 virtual_ncidev_close+0x51/0xa0 drivers/nfc/virtual_ncidev.c:163 __fput+0x3f7/0xa70 fs/file_table.c:384 __fput_sync+0x47/0x50 fs/file_table.c:465 __do_sys_close fs/open.c:1572 [inline] __se_sys_close fs/open.c:1557 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1557 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:0x7f5c0967b9da RSP: 002b:00007f5c098bfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f5c0967b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f5c0979d980 R08: 0000001b30a60000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000177907 R13: ffffffffffffffff R14: 00007f5c09200000 R15: 00000000001775c6 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 3 locks held by kworker/1:2/54: #0: ffff888012c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90000bf7d80 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8ea7e828 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x1c/0xc0 net/rfkill/core.c:1040 2 locks held by getty/4799: #0: ffff8880265270a0 (&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/0:4/5137: 3 locks held by kworker/1:6/5143: #0: ffff888012c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90004617d80 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8ea7e828 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x1b/0x160 net/rfkill/core.c:181 2 locks held by syz-executor.5/11517: #0: ffffffff8ea7e828 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x16e/0x570 net/rfkill/core.c:1278 #1: ffff88801f4f1100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #1: ffff88801f4f1100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x2d/0x2d0 net/nfc/core.c:143 1 lock held by syz-executor.0/11512: #0: ffff88801f4f1100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff88801f4f1100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x60/0x330 net/nfc/core.c:1165 2 locks held by syz-executor.5/11646: #0: ffff888094736918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:474 [inline] #0: ffff888094736918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_get_user drivers/bluetooth/hci_vhci.c:532 [inline] #0: ffff888094736918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_write+0x2bb/0x470 drivers/bluetooth/hci_vhci.c:612 #1: ffffffff8ea7e828 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x3a/0xb00 net/rfkill/core.c:1057 2 locks held by syz-executor.0/11647: #0: ffff888094730118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:474 [inline] #0: ffff888094730118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_get_user drivers/bluetooth/hci_vhci.c:532 [inline] #0: ffff888094730118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_write+0x2bb/0x470 drivers/bluetooth/hci_vhci.c:612 #1: ffffffff8ea7e828 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x3a/0xb00 net/rfkill/core.c:1057 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12687 Comm: kworker/u4:12 Not tainted 6.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x64/0x190 mm/kasan/generic.c:187 Code: 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 49 c1 e9 03 48 01 c5 49 01 c1 48 89 e8 49 8d 59 01 48 89 da 48 29 ea <48> 83 fa 10 0f 8e 89 00 00 00 41 89 eb 41 83 e3 07 0f 85 96 00 00 RSP: 0018:ffffc900148d7900 EFLAGS: 00000202 RAX: fffffbfff1d9ca7a RBX: fffffbfff1d9ca7b RCX: ffffffff817c4293 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8ece53d0 RBP: fffffbfff1d9ca7a R08: 0000000000000000 R09: fffffbfff1d9ca7a R10: ffffffff8ece53d7 R11: 0000000000000000 R12: ffffffff817c4d30 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9941a68 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001da33c8 CR3: 000000000c976000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_csd_queue_cpu include/trace/events/csd.h:10 [inline] smp_call_function_many_cond+0xbd3/0x1570 kernel/smp.c:811 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1993 [inline] text_poke_bp_batch+0x83a/0x960 arch/x86/kernel/alternative.c:2203 text_poke_flush arch/x86/kernel/alternative.c:2394 [inline] text_poke_flush arch/x86/kernel/alternative.c:2391 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2401 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x154/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:835 [inline] toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:822 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