INFO: task kworker/0:1:9 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:18728 pid:9 tgid:9 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz.3.3172:13713 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.3172 state:D stack:25648 pid:13713 tgid:13699 ppid:9117 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149 nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167 virtual_ncidev_close+0x59/0x90 drivers/nfc/virtual_ncidev.c:172 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:180 get_signal+0x15e6/0x1740 kernel/signal.c:2681 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x360 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc616975bd9 RSP: 002b:00007fc617714048 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffff2 RBX: 00007fc616b042c0 RCX: 00007fc616975bd9 RDX: 0000000000000064 RSI: 0000000020000500 RDI: 0000000000000003 RBP: 00007fc6169e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc616b042c0 R15: 00007ffd9eacf648 INFO: task syz.4.3180:13743 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.3180 state:D stack:23256 pid:13743 tgid:13742 ppid:9245 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 device_lock include/linux/device.h:1009 [inline] nfc_dev_down net/nfc/core.c:143 [inline] nfc_rfkill_set_block+0x50/0x310 net/nfc/core.c:179 rfkill_set_block+0x1f1/0x440 net/rfkill/core.c:346 rfkill_fop_write+0x5bb/0x790 net/rfkill/core.c:1305 vfs_write+0x2a2/0xc90 fs/read_write.c:588 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc7d6975bd9 RSP: 002b:00007fc7d7703048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc7d6b03f60 RCX: 00007fc7d6975bd9 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007fc7d69e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc7d6b03f60 R15: 00007ffd54a67a38 INFO: task syz-executor:13992 blocked for more than 144 seconds. Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:26816 pid:13992 tgid:13992 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 hci_register_dev+0x407/0x8b0 net/bluetooth/hci_core.c:2647 __vhci_create_device drivers/bluetooth/hci_vhci.c:430 [inline] vhci_create_device+0x389/0x6d0 drivers/bluetooth/hci_vhci.c:472 vhci_get_user drivers/bluetooth/hci_vhci.c:529 [inline] vhci_write+0x3cb/0x480 drivers/bluetooth/hci_vhci.c:609 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6c72774720 RSP: 002b:00007ffdb38a6868 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f6c72774720 RDX: 0000000000000002 RSI: 00007ffdb38a687a RDI: 00000000000000ca RBP: 00007f6c72904a18 R08: 0000000000000000 R09: 00007f6c7343d6c0 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009 INFO: task syz-executor:13998 blocked for more than 144 seconds. Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:26816 pid:13998 tgid:13998 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 hci_register_dev+0x407/0x8b0 net/bluetooth/hci_core.c:2647 __vhci_create_device drivers/bluetooth/hci_vhci.c:430 [inline] vhci_create_device+0x389/0x6d0 drivers/bluetooth/hci_vhci.c:472 vhci_get_user drivers/bluetooth/hci_vhci.c:529 [inline] vhci_write+0x3cb/0x480 drivers/bluetooth/hci_vhci.c:609 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4739774720 RSP: 002b:00007ffc283f8e18 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f4739774720 RDX: 0000000000000002 RSI: 00007ffc283f8e2a RDI: 00000000000000ca RBP: 00007f4739904a18 R08: 0000000000000000 R09: 00007f473a43d6c0 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc900000e7d00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc900000e7d00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 1 lock held by khungtaskd/30: #0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4835: #0: ffff88802f43a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/9257: #0: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149 1 lock held by syz-executor/9585: #0: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149 1 lock held by syz.2.1685/9817: #0: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149 2 locks held by syz.3.3172/13713: #0: ffff888066bcd100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #0: ffff888066bcd100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149 2 locks held by syz.4.3180/13743: #0: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a9/0x790 net/rfkill/core.c:1297 #1: ffff888066bcd100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #1: ffff888066bcd100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff888066bcd100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x50/0x310 net/nfc/core.c:179 2 locks held by syz-executor/13992: #0: ffff888022364918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/13998: #0: ffff88801e810118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14628: #0: ffff888015b45118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14630: #0: ffff888023dc5118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14632: #0: ffff88802f2c4118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14634: #0: ffff88805eb79918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14636: #0: ffff88805eb7b918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14642: #0: ffff88802c64f118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14644: #0: ffff88805f94f118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14646: #0: ffff888062a73118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14648: #0: ffff888061c1e918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 2 locks held by syz-executor/14650: #0: ffff888062059918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6d0 drivers/bluetooth/hci_vhci.c:471 #1: ffffffff8f8a9128 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 128 Comm: kworker/u8:5 Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_is_watching+0x67/0xb0 kernel/rcu/tree.c:725 Code: 89 f7 e8 bc 3e 7c 00 48 c7 c3 c8 7c 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 22 8b 03 65 ff 0d b1 80 87 7e <74> 10 83 e0 04 c1 e8 02 5b 41 5e 41 5f c3 cc cc cc cc e8 a2 62 84 RSP: 0018:ffffc90002d3fa00 EFLAGS: 00000286 RAX: 00000000003ebd64 RBX: ffff8880b9437cc8 RCX: ffffffff81728db0 RDX: 0000000000000000 RSI: ffffffff8c1f15e0 RDI: ffffffff8c1f15a0 RBP: ffffc90002d3fb48 R08: ffffffff8fac1d2f R09: 1ffffffff1f583a5 R10: dffffc0000000000 R11: fffffbfff1f583a6 R12: 1ffff920005a7f50 R13: ffffffff8b47cb3b R14: ffffffff8dda59e0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557d7f2ea220 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xbf/0x9f0 kernel/locking/lockdep.c:5765 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:812 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28b/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244