ci starts bisection 2023-04-23 17:30:48.939691281 +0000 UTC m=+285643.722351387 bisecting fixing commit since 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8 building syzkaller on c692fab1c2ff0de2554c5940f77ac8c168e729b2 ensuring issue is reproducible on original commit 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8 testing commit 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 48e89413954cedb6bca1792b2361b10e5efe3b307a46d80abd2b4d77b371664d run #0: crashed: INFO: rcu detected stall in corrupted run #1: crashed: INFO: rcu detected stall in corrupted run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: INFO: rcu detected stall in corrupted run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #11: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #12: crashed: INFO: task hung in rfkill_sync_work run #13: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #14: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #15: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #16: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #17: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #18: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #19: crashed: INFO: task hung in rfkill_global_led_trigger_worker testing current HEAD 0da6e5fd6c3726723e275603426e09178940dace testing commit 0da6e5fd6c3726723e275603426e09178940dace gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c3ce7049137afc534225e7288439f91ae409c3b7f56fc20b8b4339699c9006cb run #0: crashed: INFO: task hung in rfkill_sync_work run #1: crashed: INFO: task hung in rfkill_sync_work run #2: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #3: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #4: crashed: INFO: task hung in rfkill_unregister run #5: crashed: INFO: task hung in rfkill_sync_work run #6: crashed: INFO: task hung in rfkill_sync_work run #7: crashed: INFO: task hung in rfkill_unregister run #8: crashed: INFO: task hung in rfkill_global_led_trigger_worker run #9: crashed: INFO: task hung in rfkill_global_led_trigger_worker revisions tested: 2, total time: 31m53.676787272s (build: 18m14.154299821s, test: 13m0.631333218s) the crash still happens on HEAD commit msg: gcc: disable '-Warray-bounds' for gcc-13 too crash: INFO: task hung in rfkill_global_led_trigger_worker INFO: task kworker/1:1:26 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:27128 pid:26 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_global_led_trigger_worker+0x14/0xf0 net/rfkill/core.c:181 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:3:4634 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:26088 pid:4634 ppid:2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_sync_work+0x1e/0xc0 net/rfkill/core.c:1040 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.5:5880 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24568 pid:5880 ppid:1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 misc_open+0x5e/0x410 drivers/char/misc.c:129 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_compat_sys_openat fs/open.c:1424 [inline] __se_compat_sys_openat fs/open.c:1422 [inline] __ia32_compat_sys_openat+0x11e/0x1d0 fs/open.c:1422 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+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f8a579 RSP: 002b:00000000ffa7b730 EFLAGS: 00000282 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f72a26c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f734d000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:5893 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24520 pid:5893 ppid:1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 misc_open+0x5e/0x410 drivers/char/misc.c:129 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_compat_sys_openat fs/open.c:1424 [inline] __se_compat_sys_openat fs/open.c:1422 [inline] __ia32_compat_sys_openat+0x11e/0x1d0 fs/open.c:1422 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+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f13579 RSP: 002b:00000000ff96ca10 EFLAGS: 00000286 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f72a26c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f734d000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.1:5922 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23536 pid:5922 ppid:1 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 misc_open+0x5e/0x410 drivers/char/misc.c:129 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_compat_sys_openat fs/open.c:1424 [inline] __se_compat_sys_openat fs/open.c:1422 [inline] __ia32_compat_sys_openat+0x11e/0x1d0 fs/open.c:1422 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+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f4e579 RSP: 002b:00000000ffb1c350 EFLAGS: 00000282 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f72a26c4 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f734d000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:6150 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27400 pid:6150 ppid:5519 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_unregister+0xca/0x290 net/rfkill/core.c:1130 nfc_unregister_device+0x6c/0x2d0 net/nfc/core.c:1167 virtual_ncidev_close+0x4e/0xb0 drivers/nfc/virtual_ncidev.c:163 __fput+0x1fa/0x9a0 fs/file_table.c:321 task_work_run+0x12f/0x220 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f96579 RSP: 002b:00000000ffe39420 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734d000 RDI: 0000000000015152 RBP: 00000000f737c0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:6151 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26904 pid:6151 ppid:5519 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rfkill_fop_open+0x127/0x700 net/rfkill/core.c:1163 misc_open+0x2f9/0x410 drivers/char/misc.c:165 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_compat_sys_openat fs/open.c:1424 [inline] __se_compat_sys_openat fs/open.c:1422 [inline] __ia32_compat_sys_openat+0x11e/0x1d0 fs/open.c:1422 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+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f96579 RSP: 002b:00000000f7f915cc EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 0000000020000040 RDX: 0000000000000801 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.4:6153 blocked for more than 145 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28184 pid:6153 ppid:5867 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_timeout+0x22d/0x270 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 __flush_work+0x4d7/0xab0 kernel/workqueue.c:3174 __cancel_work_timer+0x315/0x460 kernel/workqueue.c:3261 rfkill_unregister+0x81/0x290 net/rfkill/core.c:1124 nfc_unregister_device+0x6c/0x2d0 net/nfc/core.c:1167 virtual_ncidev_close+0x4e/0xb0 drivers/nfc/virtual_ncidev.c:163 __fput+0x1fa/0x9a0 fs/file_table.c:321 task_work_run+0x12f/0x220 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f5d579 RSP: 002b:00000000ff9eeda0 EFLAGS: 00000282 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734d000 RDI: 0000000000015160 RBP: 00000000f737c0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.4:6154 blocked for more than 145 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27560 pid:6154 ppid:5867 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:832 [inline] nfc_dev_down+0x23/0x270 net/nfc/core.c:143 nfc_rfkill_set_block+0x19/0xa0 net/nfc/core.c:179 rfkill_set_block+0x191/0x440 net/rfkill/core.c:345 rfkill_fop_write+0x237/0x480 net/rfkill/core.c:1286 vfs_write+0x209/0xd80 fs/read_write.c:582 ksys_write+0x16f/0x1c0 fs/read_write.c:637 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+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f5d579 RSP: 002b:00000000f7f585cc 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: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8b78c170 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8b78be70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 3 locks held by kworker/1:1/26: #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90000a1fdb8 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffffffff8d4106e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x14/0xf0 net/rfkill/core.c:181 1 lock held by khungtaskd/28: #0: ffffffff8b78ccc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 3 locks held by kworker/1:3/4634: #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888011470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc900030efdb8 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffffffff8d4106e8 (rfkill_global_mutex){+.+.}-{3:3} , at: rfkill_sync_work+0x1e/0xc0 net/rfkill/core.c:1040 2 locks held by getty/4752: #0: ffff88802a37c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/5880: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.3/5893: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.1/5922: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 2 locks held by syz-executor.2/6150: #0: ffff888078b77100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #0: ffff888078b77100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x40/0x2d0 net/nfc/core.c:1165 #1: ffffffff8d4106e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xca/0x290 net/rfkill/core.c:1130 2 locks held by syz-executor.2/6151: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 #1: ffffffff8d4106e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0x127/0x700 net/rfkill/core.c:1163 1 lock held by syz-executor.4/6153: #0: ffff88806a991100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #0: ffff88806a991100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x40/0x2d0 net/nfc/core.c:1165 2 locks held by syz-executor.4/6154: #0: ffffffff8d4106e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x11d/0x480 net/rfkill/core.c:1278 #1: ffff888078b77100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #1: ffff888078b77100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x23/0x270 net/nfc/core.c:143 1 lock held by syz-executor.5/6557: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.3/6559: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.1/6561: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.5/6563: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.3/6565: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 1 lock held by syz-executor.1/6567: #0: ffffffff8c20f0e8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5e/0x410 drivers/char/misc.c:129 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x175/0x200 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1bc/0x200 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x9f9/0xcf0 kernel/hung_task.c:379 kthread+0x298/0x340 kernel/kthread.c:376 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 CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:mark_lock.part.0+0xb2/0x1970 kernel/locking/lockdep.c:4613 Code: c0 41 83 fd 08 0f 84 f9 00 00 00 bd 01 00 00 00 44 89 e9 d3 e5 48 63 ed 4d 8d 7c 24 20 48 b8 00 00 00 00 00 fc ff df 4c 89 fa <48> c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 91 08 00 00 41 0f RSP: 0018:ffffc900000e7618 EFLAGS: 00000006 RAX: dffffc0000000000 RBX: 1ffff9200001ceca RCX: 0000000000000008 RDX: ffff888015690b20 RSI: ffff888015690b00 RDI: ffff888015690b22 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff9038eb87 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888015690b00 R13: 0000000000000008 R14: ffff888015690a38 R15: ffff888015690b20 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff0ebf4680 CR3: 000000000b56c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4599 [inline] mark_usage kernel/locking/lockdep.c:4556 [inline] __lock_acquire+0x8a8/0x5d40 kernel/locking/lockdep.c:5010 lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] __get_locked_pte+0x109/0x210 mm/memory.c:1783 get_locked_pte include/linux/mm.h:2448 [inline] __text_poke+0x1b3/0x8e0 arch/x86/kernel/alternative.c:1584 text_poke arch/x86/kernel/alternative.c:1669 [inline] text_poke_bp_batch+0x4d3/0x770 arch/x86/kernel/alternative.c:2048 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x163/0x220 kernel/jump_label.c:205 static_key_enable+0x15/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:803 [inline] toggle_allocation_gate+0xdb/0x1e0 mm/kfence/core.c:795 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308