INFO: task kworker/0:6:5155 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:28896 pid:5155 ppid:2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_sync_work+0x1c/0xc0 net/rfkill/core.c:1040 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/0:8:5166 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:8 state:D stack:28912 pid:5166 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_global_led_trigger_worker+0x1b/0x120 net/rfkill/core.c:181 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor290:5180 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor290 state:D stack:27136 pid:5180 ppid:5033 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_fop_open+0x149/0x760 net/rfkill/core.c:1163 misc_open+0x383/0x4a0 drivers/char/misc.c:165 chrdev_open+0x273/0x780 fs/char_dev.c:414 do_dentry_open+0x6ce/0x17b0 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x1b65/0x2710 fs/namei.c:3793 do_filp_open+0x1ba/0x410 fs/namei.c:3820 do_sys_openat2+0x160/0x1c0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1433 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:0x7f12aaf44e79 RSP: 002b:00007ffc2995c5e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f12aaf44e79 RDX: 0000000000080602 RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000004b24a R13: 00007ffc2995c5fc R14: 00007ffc2995c610 R15: 00007ffc2995c600 INFO: task syz-executor290:5183 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor290 state:D stack:27080 pid:5183 ppid:5035 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 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+0x52/0xb0 drivers/nfc/virtual_ncidev.c:163 __fput+0x40c/0xad0 fs/file_table.c:378 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa9a/0x29a0 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1033 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:0x7f12aaf43b09 RSP: 002b:00007ffc2995c598 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f12aafb7330 RCX: 00007f12aaf43b09 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f12aafb7330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 INFO: task syz-executor290:5193 blocked for more than 144 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor290 state:D stack:27552 pid:5193 ppid:5029 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:837 [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+0x2af/0xda0 fs/read_write.c:582 ksys_write+0x1e3/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:0x7f12aaf44e79 RSP: 002b:00007ffc2995c5e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f12aaf44e79 RDX: 0000000000000008 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 000000000004b2aa R13: 00007ffc2995c5fc R14: 00007ffc2995c610 R15: 00007ffc2995c600 INFO: task syz-executor290:5205 blocked for more than 144 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor290 state:D stack:28128 pid:5205 ppid:5032 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 misc_open+0x63/0x4a0 drivers/char/misc.c:129 chrdev_open+0x273/0x780 fs/char_dev.c:414 do_dentry_open+0x6ce/0x17b0 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x1b65/0x2710 fs/namei.c:3793 do_filp_open+0x1ba/0x410 fs/namei.c:3820 do_sys_openat2+0x160/0x1c0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1433 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:0x7f12aaf44e79 RSP: 002b:00007ffc2995c5e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f12aaf44e79 RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffc2995c060 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000004b2d3 R13: 00007ffc2995c5fc R14: 00007ffc2995c610 R15: 00007ffc2995c600 INFO: task syz-executor290:5211 blocked for more than 144 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor290 state:D stack:28216 pid:5211 ppid:5028 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 misc_open+0x63/0x4a0 drivers/char/misc.c:129 chrdev_open+0x273/0x780 fs/char_dev.c:414 do_dentry_open+0x6ce/0x17b0 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x1b65/0x2710 fs/namei.c:3793 do_filp_open+0x1ba/0x410 fs/namei.c:3820 do_sys_openat2+0x160/0x1c0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1433 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:0x7f12aaf44e79 RSP: 002b:00007ffc2995c5e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f12aaf44e79 RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffc2995c060 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000004b2a7 R13: 00007ffc2995c5fc R14: 00007ffc2995c610 R15: 00007ffc2995c600 INFO: task syz-executor290:5215 blocked for more than 145 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor290 state:D stack:28216 pid:5215 ppid:5031 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 misc_open+0x63/0x4a0 drivers/char/misc.c:129 chrdev_open+0x273/0x780 fs/char_dev.c:414 do_dentry_open+0x6ce/0x17b0 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x1b65/0x2710 fs/namei.c:3793 do_filp_open+0x1ba/0x410 fs/namei.c:3820 do_sys_openat2+0x160/0x1c0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1433 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:0x7f12aaf44e79 RSP: 002b:00007ffc2995c5e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f12aaf44e79 RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffc2995c060 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000004b325 R13: 00007ffc2995c5fc R14: 00007ffc2995c610 R15: 00007ffc2995c600 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a1af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a17f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a2700 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4760: #0: ffff88802cfa2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176 3 locks held by kworker/0:6/5155: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc90003f7fdb0 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e8399a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x1c/0xc0 net/rfkill/core.c:1040 3 locks held by kworker/0:8/5166: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc90003cffdb0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e8399a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x1b/0x120 net/rfkill/core.c:181 2 locks held by syz-executor290/5180: #0: ffffffff8d4d05e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 #1: ffffffff8e8399a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0x149/0x760 net/rfkill/core.c:1163 2 locks held by syz-executor290/5183: #0: ffff888020b14100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #0: ffff888020b14100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x62/0x330 net/nfc/core.c:1165 #1: ffffffff8e8399a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xde/0x2c0 net/rfkill/core.c:1130 2 locks held by syz-executor290/5193: #0: ffffffff8e8399a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x160/0x570 net/rfkill/core.c:1278 #1: ffff888020b14100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #1: ffff888020b14100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x2d/0x2d0 net/nfc/core.c:143 1 lock held by syz-executor290/5205: #0: ffffffff8d4d05e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 1 lock held by syz-executor290/5211: #0: ffffffff8d4d05e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 1 lock held by syz-executor290/5215: #0: ffffffff8d4d05e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0