INFO: task kworker/1:5:5132 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:27448 pid:5132 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rfkill_global_led_trigger_worker+0x1b/0xf0 net/rfkill/core.c:181 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor417:5405 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:25496 pid:5405 ppid:5059 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rfkill_unregister+0xcb/0x220 net/rfkill/core.c:1130 nfc_unregister_device+0xba/0x290 net/nfc/core.c:1167 virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:163 __fput+0x3ba/0x880 fs/file_table.c:320 task_work_run+0x243/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x644/0x2150 kernel/exit.c:867 do_group_exit+0x1fd/0x2b0 kernel/exit.c:1010 __do_sys_exit_group kernel/exit.c:1021 [inline] __se_sys_exit_group kernel/exit.c:1019 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1019 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f7467cb19 RSP: 002b:00007ffe46f9ea88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f5f746f0330 RCX: 00007f5f7467cb19 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f5f746f0330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 INFO: task syz-executor417:5409 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:26152 pid:5409 ppid:5066 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rfkill_unregister+0xcb/0x220 net/rfkill/core.c:1130 nfc_unregister_device+0xba/0x290 net/nfc/core.c:1167 virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:163 __fput+0x3ba/0x880 fs/file_table.c:320 task_work_run+0x243/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x644/0x2150 kernel/exit.c:867 do_group_exit+0x1fd/0x2b0 kernel/exit.c:1010 __do_sys_exit_group kernel/exit.c:1021 [inline] __se_sys_exit_group kernel/exit.c:1019 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1019 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f7467cb19 RSP: 002b:00007ffe46f9ea88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f5f746f0330 RCX: 00007f5f7467cb19 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f5f746f0330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 INFO: task syz-executor417:5420 blocked for more than 144 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:24592 pid:5420 ppid:5061 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 device_lock include/linux/device.h:831 [inline] nfc_dev_down+0x33/0x260 net/nfc/core.c:143 nfc_rfkill_set_block+0x28/0xc0 net/nfc/core.c:179 rfkill_set_block+0x1e7/0x430 net/rfkill/core.c:345 rfkill_fop_write+0x5fb/0x7b0 net/rfkill/core.c:1286 vfs_write+0x2e5/0xbb0 fs/read_write.c:582 ksys_write+0x19b/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f7467de89 RSP: 002b:00007ffe46f9ead8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f5f7467de89 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 000000000000d531 R13: 00007ffe46f9eaec R14: 00007ffe46f9eb00 R15: 00007ffe46f9eaf0 INFO: task syz-executor417:5428 blocked for more than 144 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:26040 pid:5428 ppid:5058 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rfkill_register+0x30/0x880 net/rfkill/core.c:1057 nfc_register_device+0x13f/0x320 net/nfc/core.c:1132 nci_register_device+0x7c7/0x900 net/nfc/nci/core.c:1257 virtual_ncidev_open+0x138/0x1b0 drivers/nfc/virtual_ncidev.c:148 misc_open+0x346/0x3c0 drivers/char/misc.c:165 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x85f/0x11b0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x25cc/0x2de0 fs/namei.c:3714 do_filp_open+0x275/0x500 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f7467de89 RSP: 002b:00007ffe46f9ead8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f5f7467de89 RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffe46f9e550 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000d55f R13: 00007ffe46f9eaec R14: 00007ffe46f9eb00 R15: 00007ffe46f9eaf0 INFO: task syz-executor417:5432 blocked for more than 144 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:25944 pid:5432 ppid:5064 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 misc_open+0x57/0x3c0 drivers/char/misc.c:129 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x85f/0x11b0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x25cc/0x2de0 fs/namei.c:3714 do_filp_open+0x275/0x500 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f7467de89 RSP: 002b:00007ffe46f9ead8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f5f7467de89 RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffe46f9e550 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000d577 R13: 00007ffe46f9eaec R14: 00007ffe46f9eb00 R15: 00007ffe46f9eaf0 INFO: task syz-executor417:5433 blocked for more than 145 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor417 state:D stack:26936 pid:5433 ppid:5063 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 misc_open+0x57/0x3c0 drivers/char/misc.c:129 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x85f/0x11b0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x25cc/0x2de0 fs/namei.c:3714 do_filp_open+0x275/0x500 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f7467de89 RSP: 002b:00007ffe46f9ead8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f5f7467de89 RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 00007ffe46f9e550 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000d579 R13: 00007ffe46f9eaec R14: 00007ffe46f9eb00 R15: 00007ffe46f9eaf0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d523910 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d524110 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 5 locks held by kworker/u4:2/41: 2 locks held by getty/4739: #0: ffff88814b550098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 3 locks held by kworker/1:5/5132: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90003f0fd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffffffff8e9148c8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x1b/0xf0 net/rfkill/core.c:181 2 locks held by syz-executor417/5405: #0: ffff888077827100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #0: ffff888077827100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x87/0x290 net/nfc/core.c:1165 #1: ffffffff8e9148c8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xcb/0x220 net/rfkill/core.c:1130 2 locks held by syz-executor417/5409: #0: ffff88807c243100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #0: ffff88807c243100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x87/0x290 net/nfc/core.c:1165 #1: ffffffff8e9148c8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xcb/0x220 net/rfkill/core.c:1130 2 locks held by syz-executor417/5420: #0: ffffffff8e9148c8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1c2/0x7b0 net/rfkill/core.c:1278 #1: ffff88807c243100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #1: ffff88807c243100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x33/0x260 net/nfc/core.c:143 3 locks held by syz-executor417/5428: #0: ffffffff8dc48208 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129 #1: ffff88801dc97100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #1: ffff88801dc97100 (&dev->mutex){....}-{3:3}, at: nfc_register_device+0x93/0x320 net/nfc/core.c:1128 #2: ffffffff8e9148c8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 1 lock held by syz-executor417/5432: #0: ffffffff8dc48208 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129 1 lock held by syz-executor417/5433: #0: ffffffff8dc48208 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:129 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #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+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 41 Comm: kworker/u4:2 Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:resched_offsets_ok kernel/sched/core.c:9934 [inline] RIP: 0010:__might_resched+0x138/0x6a0 kernel/sched/core.c:9949 Code: 8b e8 6c d4 0a 00 65 8b 1d 7d 7d a1 7e 81 e3 ff ff ff 7f 65 48 8b 14 25 40 98 03 00 48 8d ba 3c 04 00 00 48 89 f8 48 c1 e8 03 <48> 89 44 24 38 42 8a 04 30 84 c0 48 89 7c 24 20 0f 85 fb 03 00 00 RSP: 0018:ffffc90000b277e0 EFLAGS: 00000a07 RAX: 1ffff1100254a087 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888012a50000 RSI: ffffffff8b0da9e0 RDI: ffff888012a5043c RBP: ffffc90000b278f0 R08: dffffc0000000000 R09: ffffc90000b279c0 R10: fffff52000164f3d R11: 1ffff92000164f38 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000164f04 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559f2e01d680 CR3: 000000000d28e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock_common+0xd2/0x26c0 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 arch_jump_label_transform_queue+0x3f/0xd0 arch/x86/kernel/jump_label.c:136 __jump_label_update+0x19b/0x3b0 kernel/jump_label.c:475 static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:235 static_key_disable+0x16/0x20 kernel/jump_label.c:243 toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:804 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308