INFO: task kworker/1:4:3624 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:24896 pid: 3624 ppid: 2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 rfkill_global_led_trigger_worker+0x10/0xf0 net/rfkill/core.c:180 process_one_work+0x87f/0x1450 kernel/workqueue.c:2298 worker_thread+0x598/0x1040 kernel/workqueue.c:2445 kthread+0x3ab/0x480 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor.4:4079 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24024 pid: 4079 ppid: 1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 misc_open+0x50/0x410 drivers/char/misc.c:107 chrdev_open+0x20f/0x650 fs/char_dev.c:414 do_dentry_open+0x429/0x1040 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x9f8/0x22a0 fs/namei.c:3559 do_filp_open+0x199/0x3d0 fs/namei.c:3586 do_sys_openat2+0x11e/0x400 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_compat_sys_openat fs/open.c:1288 [inline] __se_compat_sys_openat fs/open.c:1286 [inline] __ia32_compat_sys_openat+0x11a/0x1d0 fs/open.c:1286 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7463549 RSP: 002b:00000000ffe8bab0 EFLAGS: 00000286 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f73a76c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f7452000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.0:4080 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23328 pid: 4080 ppid: 1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 rfkill_fop_open+0xee/0x6c0 net/rfkill/core.c:1148 misc_open+0x2f0/0x410 drivers/char/misc.c:141 chrdev_open+0x20f/0x650 fs/char_dev.c:414 do_dentry_open+0x429/0x1040 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x9f8/0x22a0 fs/namei.c:3559 do_filp_open+0x199/0x3d0 fs/namei.c:3586 do_sys_openat2+0x11e/0x400 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_compat_sys_openat fs/open.c:1288 [inline] __se_compat_sys_openat fs/open.c:1286 [inline] __ia32_compat_sys_openat+0x11a/0x1d0 fs/open.c:1286 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf741a549 RSP: 002b:00000000fff71530 EFLAGS: 00000282 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f735e6c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f7409000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:4081 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24024 pid: 4081 ppid: 1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 misc_open+0x50/0x410 drivers/char/misc.c:107 chrdev_open+0x20f/0x650 fs/char_dev.c:414 do_dentry_open+0x429/0x1040 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x9f8/0x22a0 fs/namei.c:3559 do_filp_open+0x199/0x3d0 fs/namei.c:3586 do_sys_openat2+0x11e/0x400 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_compat_sys_openat fs/open.c:1288 [inline] __se_compat_sys_openat fs/open.c:1286 [inline] __ia32_compat_sys_openat+0x11a/0x1d0 fs/open.c:1286 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf73d0549 RSP: 002b:00000000fff85cd0 EFLAGS: 00000286 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f73146c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f73bf000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.1:4087 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23664 pid: 4087 ppid: 1 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 misc_open+0x50/0x410 drivers/char/misc.c:107 chrdev_open+0x20f/0x650 fs/char_dev.c:414 do_dentry_open+0x429/0x1040 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x9f8/0x22a0 fs/namei.c:3559 do_filp_open+0x199/0x3d0 fs/namei.c:3586 do_sys_openat2+0x11e/0x400 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_compat_sys_openat fs/open.c:1288 [inline] __se_compat_sys_openat fs/open.c:1286 [inline] __ia32_compat_sys_openat+0x11a/0x1d0 fs/open.c:1286 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf749b549 RSP: 002b:00000000ff881080 EFLAGS: 00000286 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f73df6c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f748a000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.5:4088 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24024 pid: 4088 ppid: 1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 misc_open+0x50/0x410 drivers/char/misc.c:107 chrdev_open+0x20f/0x650 fs/char_dev.c:414 do_dentry_open+0x429/0x1040 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x9f8/0x22a0 fs/namei.c:3559 do_filp_open+0x199/0x3d0 fs/namei.c:3586 do_sys_openat2+0x11e/0x400 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_compat_sys_openat fs/open.c:1288 [inline] __se_compat_sys_openat fs/open.c:1286 [inline] __ia32_compat_sys_openat+0x11a/0x1d0 fs/open.c:1286 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7442549 RSP: 002b:00000000ff8baab0 EFLAGS: 00000286 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f73866c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f7431000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:4276 blocked for more than 145 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28144 pid: 4276 ppid: 4077 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 rfkill_unregister+0xc6/0x290 net/rfkill/core.c:1117 nfc_unregister_device+0x69/0x2b0 net/nfc/core.c:1166 virtual_ncidev_close+0x53/0x70 drivers/nfc/virtual_ncidev.c:163 __fput+0x204/0x8d0 fs/file_table.c:280 task_work_run+0xc0/0x160 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf73e6549 RSP: 002b:00000000fff35ed0 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f73d5000 RDI: 00000000000128f3 RBP: 00000000f74040c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:4277 blocked for more than 145 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26240 pid: 4277 ppid: 4077 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa5a/0x48f0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 device_lock include/linux/device.h:760 [inline] nfc_dev_down+0x1f/0x270 net/nfc/core.c:143 nfc_rfkill_set_block+0x15/0x90 net/nfc/core.c:179 rfkill_set_block+0x191/0x440 net/rfkill/core.c:344 rfkill_fop_write+0x1c7/0x3f0 net/rfkill/core.c:1268 vfs_write+0x1c4/0x900 fs/read_write.c:588 ksys_write+0x171/0x1d0 fs/read_write.c:643 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf73e6549 RSP: 002b:00000000f66865cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020000080 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b17ca80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3291: #0: ffff88802300e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900027a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x9e1/0xee0 drivers/tty/n_tty.c:2113 3 locks held by kworker/1:4/3624: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269 #1: ffffc900024dfdb8 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273 #2: ffffffff8ccb1e08 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x10/0xf0 net/rfkill/core.c:180 1 lock held by syz-executor.4/4079: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 2 locks held by syz-executor.0/4080: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 #1: ffffffff8ccb1e08 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0xee/0x6c0 net/rfkill/core.c:1148 1 lock held by syz-executor.3/4081: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.1/4087: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.5/4088: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 2 locks held by syz-executor.2/4276: #0: ffff88807b994190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff88807b994190 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x3d/0x2b0 net/nfc/core.c:1164 #1: ffffffff8ccb1e08 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xc6/0x290 net/rfkill/core.c:1117 2 locks held by syz-executor.2/4277: #0: ffffffff8ccb1e08 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0xb9/0x3f0 net/rfkill/core.c:1260 #1: ffff88807b994190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #1: ffff88807b994190 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x1f/0x270 net/nfc/core.c:143 1 lock held by syz-executor.2/4959: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.4/4965: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.3/4966: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.0/4967: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.1/4968: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.5/4969: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.2/4972: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.3/4976: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.4/4979: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.1/4980: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.5/4981: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 1 lock held by syz-executor.0/4982: #0: ffffffff8bb923a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x50/0x410 drivers/char/misc.c:107 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11a/0x160 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x88c/0xbf0 kernel/hung_task.c:295 kthread+0x3ab/0x480 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: kworker/u4:1 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_wait_context kernel/locking/lockdep.c:4725 [inline] RIP: 0010:__lock_acquire+0x64f/0x54a0 kernel/locking/lockdep.c:4977 Code: ff df 48 c1 e8 03 4c 8b 74 24 28 4c 01 f8 48 89 44 24 60 eb 66 48 8d 04 5b 48 c1 e0 06 48 05 a0 0e b8 8f 48 8d b8 b8 00 00 00 <48> 89 fa 48 c1 ea 03 42 0f b6 14 3a 84 d2 74 06 0f 8e 5f 2b 00 00 RSP: 0018:ffffc90000ce77d8 EFLAGS: 00000082 RAX: ffffffff8fb813e0 RBX: 0000000000000007 RCX: ffffffff8154846d RDX: fffffbfff1f70151 RSI: 0000000000000008 RDI: ffffffff8fb81498 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8fb80a87 R10: fffffbfff1f70150 R11: 0000000000000000 R12: 0000000000000002 R13: ffff888010e80000 R14: ffff888010e80a60 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54b69e0990 CR3: 000000000ae8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] __get_locked_pte+0x203/0x3c0 mm/memory.c:1722 get_locked_pte include/linux/mm.h:2160 [inline] __text_poke+0x1ae/0x8c0 arch/x86/kernel/alternative.c:1000 text_poke_bp_batch+0x2eb/0x560 arch/x86/kernel/alternative.c:1310 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_flush arch/x86/kernel/alternative.c:1448 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0x100/0x160 kernel/jump_label.c:207 static_key_disable+0x11/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:746 [inline] toggle_allocation_gate+0x154/0x310 mm/kfence/core.c:724 process_one_work+0x87f/0x1450 kernel/workqueue.c:2298 worker_thread+0x598/0x1040 kernel/workqueue.c:2445 kthread+0x3ab/0x480 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295