INFO: task kworker/0:0:7 blocked for more than 143 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:27944 pid:7 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 rfkill_global_led_trigger_worker+0x1b/0x120 net/rfkill/core.c:181 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor370:3684 blocked for more than 143 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor370 state:D stack:27000 pid:3684 ppid:3639 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 rfkill_unregister+0xde/0x2c0 net/rfkill/core.c:1130 nfc_unregister_device+0x96/0x330 net/nfc/core.c:1167 virtual_ncidev_close+0x71/0x90 drivers/nfc/virtual_ncidev.c:166 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xb3d/0x2a30 kernel/exit.c:820 do_group_exit+0xd4/0x2a0 kernel/exit.c:950 __do_sys_exit_group kernel/exit.c:961 [inline] __se_sys_exit_group kernel/exit.c:959 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:959 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09da2cdaf9 RSP: 002b:00007ffce9d1cf38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f09da341330 RCX: 00007f09da2cdaf9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f09da341330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 INFO: task syz-executor370:3693 blocked for more than 143 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor370 state:D stack:28016 pid:3693 ppid:3640 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 rfkill_fop_open+0x149/0x760 net/rfkill/core.c:1163 misc_open+0x37a/0x4a0 drivers/char/misc.c:143 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bf6/0x2860 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09da2cee69 RSP: 002b:00007ffce9d1cf88 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f09da2cee69 RDX: 0000000000022002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000cd08 R13: 00007ffce9d1cf9c R14: 00007ffce9d1cfb0 R15: 00007ffce9d1cfa0 INFO: task syz-executor370:3694 blocked for more than 144 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor370 state:D stack:27904 pid:3694 ppid:3642 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 rfkill_fop_release+0x4b/0x300 net/rfkill/core.c:1312 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xb3d/0x2a30 kernel/exit.c:820 do_group_exit+0xd4/0x2a0 kernel/exit.c:950 __do_sys_exit_group kernel/exit.c:961 [inline] __se_sys_exit_group kernel/exit.c:959 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:959 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09da2cdaf9 RSP: 002b:00007ffce9d1cf38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f09da341330 RCX: 00007f09da2cdaf9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f09da341330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 INFO: task syz-executor370:3697 blocked for more than 144 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor370 state:D stack:28232 pid:3697 ppid:3643 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] nfc_dev_down+0x2d/0x2d0 net/nfc/core.c:143 nfc_rfkill_set_block+0x33/0xd0 net/nfc/core.c:179 rfkill_set_block+0x1f9/0x540 net/rfkill/core.c:345 rfkill_fop_write+0x2c7/0x570 net/rfkill/core.c:1286 vfs_write+0x2db/0xdd0 fs/read_write.c:582 ksys_write+0x1ec/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09da2cee69 RSP: 002b:00007ffce9d1cf88 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f09da2cee69 RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 000000000000cd07 R13: 00007ffce9d1cf9c R14: 00007ffce9d1cfb0 R15: 00007ffce9d1cfa0 INFO: task syz-executor370:3698 blocked for more than 144 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor370 state:D stack:28232 pid:3698 ppid:3645 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 misc_open+0x63/0x4a0 drivers/char/misc.c:107 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bf6/0x2860 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09da2cee69 RSP: 002b:00007ffce9d1cf88 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f09da2cee69 RDX: 0000000000000002 RSI: 0000000020002100 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffce9d1ca00 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000cd08 R13: 00007ffce9d1cf9c R14: 00007ffce9d1cfb0 R15: 00007ffce9d1cfa0 INFO: task syz-executor370:3700 blocked for more than 144 seconds. Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor370 state:D stack:28232 pid:3700 ppid:3637 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 misc_open+0x63/0x4a0 drivers/char/misc.c:107 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bf6/0x2860 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09da2cee69 RSP: 002b:00007ffce9d1cf88 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f09da2cee69 RDX: 0000000000000002 RSI: 0000000020002100 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffce9d1ca00 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000cd08 R13: 00007ffce9d1cf9c R14: 00007ffce9d1cfb0 R15: 00007ffce9d1cfa0 Showing all locks held in the system: 3 locks held by kworker/0:0/7: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900000c7da8 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8e2d00e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x1b/0x120 net/rfkill/core.c:181 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c58f0f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c58edf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c58fc40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 5 locks held by kworker/u4:2/40: 2 locks held by getty/3308: #0: ffff88814af96098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor370/3684: #0: ffff888017e02100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff888017e02100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x62/0x330 net/nfc/core.c:1165 #1: ffffffff8e2d00e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xde/0x2c0 net/rfkill/core.c:1130 2 locks held by syz-executor370/3693: #0: ffffffff8d03bea8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:107 #1: ffffffff8e2d00e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0x149/0x760 net/rfkill/core.c:1163 1 lock held by syz-executor370/3694: #0: ffffffff8e2d00e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_release+0x4b/0x300 net/rfkill/core.c:1312 2 locks held by syz-executor370/3697: #0: ffffffff8e2d00e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x160/0x570 net/rfkill/core.c:1278 #1: ffff888017e02100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #1: ffff888017e02100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x2d/0x2d0 net/nfc/core.c:143 1 lock held by syz-executor370/3698: #0: ffffffff8d03bea8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:107 1 lock held by syz-executor370/3700: #0: ffffffff8d03bea8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:107 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:572