INFO: task syz-executor:5823 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:18840 pid:5823 tgid:5823 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 hci_unregister_dev+0x366/0x510 net/bluetooth/hci_core.c:2714 vhci_release+0x80/0xd0 drivers/bluetooth/hci_vhci.c:664 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 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:0x7f9d9457bf97 RSP: 002b:00007ffe98918840 EFLAGS: 00000293 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000000082 RCX: 00007f9d9457bf97 RDX: 0000000040000000 RSI: 00007ffe9891889c RDI: 00000000ffffffff RBP: 00007ffe9891889c R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000555560e91590 R14: 00007ffe989188f0 R15: 0000000000000024 INFO: task kworker/0:5:5880 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:5 state:D stack:23216 pid:5880 tgid:5880 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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.193:6648 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.193 state:D stack:22872 pid:6648 tgid:6647 ppid:5823 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167 virtual_ncidev_close+0x56/0x90 drivers/nfc/virtual_ncidev.c:172 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 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:0x7f9d94585d19 RSP: 002b:00007f9d954760e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f9d94775fa8 RCX: 00007f9d94585d19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9d94775fa8 RBP: 00007f9d94775fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9d94775fac R13: 0000000000000000 R14: 00007ffe989183f0 R15: 00007ffe989184d8 INFO: task syz.2.214:6726 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.214 state:D stack:23632 pid:6726 tgid:6725 ppid:5833 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 device_lock include/linux/device.h:1014 [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+0x5b8/0x790 net/rfkill/core.c:1301 vfs_write+0x2a3/0xd30 fs/read_write.c:677 ksys_write+0x18f/0x2b0 fs/read_write.c:731 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:0x7f75c4d85d19 RSP: 002b:00007f75c5b15038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f75c4f75fa0 RCX: 00007f75c4d85d19 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f75c4e01a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f75c4f75fa0 R15: 00007fff3e670078 INFO: task syz-executor:6950 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:25200 pid:6950 tgid:6950 ppid:1 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 hci_register_dev+0x407/0x8b0 net/bluetooth/hci_core.c:2616 __vhci_create_device drivers/bluetooth/hci_vhci.c:428 [inline] vhci_create_device+0x35b/0x6a0 drivers/bluetooth/hci_vhci.c:470 vhci_get_user drivers/bluetooth/hci_vhci.c:527 [inline] vhci_write+0x3cf/0x490 drivers/bluetooth/hci_vhci.c:607 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 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:0x7fb51bb84790 RSP: 002b:00007fffcc7a35f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fb51bb84790 RDX: 0000000000000002 RSI: 00007fffcc7a360a RDI: 00000000000000ca RBP: 00007fb51bd76738 R08: 0000000000000000 R09: 00007fb51c8ad6c0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by getty/5575: #0: ffff8880323c30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5823: #0: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 1 lock held by syz-executor/5824: #0: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 1 lock held by syz-executor/5833: #0: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 3 locks held by kworker/0:5/5880: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc900043dfd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900043dfd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 2 locks held by syz.3.193/6648: #0: ffff8880278dc100 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #0: ffff8880278dc100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 2 locks held by syz.2.214/6726: #0: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x1a6/0x790 net/rfkill/core.c:1293 #1: ffff8880278dc100 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #1: ffff8880278dc100 (&dev->mutex){....}-{4:4}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff8880278dc100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x310 net/nfc/core.c:179 1 lock held by syz.4.234/6854: #0: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145 2 locks held by syz-executor/6950: #0: ffff888063e9b118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/6977: #0: ffff8880610de118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7138: #0: ffff8880314ba118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7154: #0: ffff888062213918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7370: #0: ffff88805f7bf918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7404: #0: ffff8880314be918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7524: #0: ffff88805ca3e118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7541: #0: ffff888059e56918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 3 locks held by syz.1.484/7688: #0: ffffffff8fd02f10 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8fd02dc8 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline] #1: ffffffff8fd02dc8 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #1: ffffffff8fd02dc8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x121/0xec0 net/netlink/genetlink.c:1209 #2: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7693: #0: ffff88801254d118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7695: #0: ffff888029691118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 2 locks held by syz-executor/7698: #0: ffff888029eef118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6a0 drivers/bluetooth/hci_vhci.c:469 #1: ffffffff8ff68428 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1071 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 143 Comm: kworker/u8:5 Not tainted 6.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:395 [inline] RIP: 0010:__rcu_read_unlock+0x38/0x110 kernel/rcu/tree_plugin.h:434 Code: 49 bc 00 00 00 00 00 fc ff df 65 4c 8b 34 25 80 d4 03 00 4d 8d ae 44 04 00 00 4c 89 eb 48 c1 eb 03 42 0f b6 04 23 84 c0 75 6b <41> 8b 6d 00 ff cd 42 0f b6 04 23 84 c0 75 76 41 89 6d 00 85 ed 75 RSP: 0018:ffffc90002e67b20 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110041e2088 RCX: ffffc90002e67a03 RDX: 0000000000000002 RSI: ffffffff8c0aa8c0 RDI: ffffffff8c5ed760 RBP: 0000000000000000 R08: ffffffff90184ef7 R09: 1ffffffff20309de R10: dffffc0000000000 R11: fffffbfff20309df R12: dffffc0000000000 R13: ffff888020f10444 R14: ffff888020f10000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd358a7d60 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:882 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x290/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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