INFO: task kworker/0:8:5188 blocked for more than 143 seconds.
Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:8 state:D stack:21392 pid:5188 tgid:5188 ppid:2 flags:0x00004000
Workqueue: events rfkill_global_led_trigger_worker
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182
process_one_work kernel/workqueue.c:3224 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305
worker_thread+0x86d/0xd40 kernel/workqueue.c:3383
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task syz.0.691:8322 blocked for more than 143 seconds.
Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.691 state:D stack:24672 pid:8322 tgid:8322 ppid:5097 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149
nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167
virtual_ncidev_close+0x59/0x90 drivers/nfc/virtual_ncidev.c:172
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:204
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6defd75bd9
RSP: 002b:00007ffd7c59a0a8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f6deff05a60 RCX: 00007f6defd75bd9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f6deff05a60 R08: 0000000000000006 R09: 000000197c59a3df
R10: 00000000005e87f4 R11: 0000000000000246 R12: 000000000005c9bf
R13: 0000000000000032 R14: 00007f6deff05a60 R15: 00007f6deff04110
INFO: task syz.4.698:8351 blocked for more than 143 seconds.
Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.698 state:D stack:24624 pid:8351 tgid:8345 ppid:7497 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
device_lock include/linux/device.h:1009 [inline]
nfc_dev_down net/nfc/core.c:143 [inline]
nfc_rfkill_set_block+0x50/0x310 net/nfc/core.c:179
rfkill_set_block+0x1f1/0x440 net/rfkill/core.c:346
rfkill_fop_write+0x5bb/0x790 net/rfkill/core.c:1305
vfs_write+0x2a2/0xc90 fs/read_write.c:588
ksys_write+0x1a0/0x2c0 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8487d75bd9
RSP: 002b:00007f8488a66048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f8487f04038 RCX: 00007f8487d75bd9
RDX: 0000000000000008 RSI: 00000000200004c0 RDI: 0000000000000005
RBP: 00007f8487de4aa1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f8487f04038 R15: 00007ffd0cb837b8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704
3 locks held by kworker/u8:3/52:
#0: ffff8880b943ea18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:568
#1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989
#2: ffff8880b942a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051
4 locks held by udevd/4548:
#0: ffff88806c118d58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182
#1: ffff88802489a088 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2: ffff8880296380f8 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff888063f91100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#3: ffff888063f91100 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743
2 locks held by getty/4854:
#0: ffff88802a95f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:8/5188:
#0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000435fd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000435fd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182
1 lock held by syz-executor/7490:
#0: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149
1 lock held by kworker/u8:6/8049:
2 locks held by syz.0.691/8322:
#0: ffff88802bce1100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#0: ffff88802bce1100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165
#1: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149
2 locks held by syz.4.698/8351:
#0: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a9/0x790 net/rfkill/core.c:1297
#1: ffff88802bce1100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#1: ffff88802bce1100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline]
#1: ffff88802bce1100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x50/0x310 net/nfc/core.c:179
1 lock held by syz.3.710/8392:
#0: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1149
2 locks held by syz-executor/8406:
#0: ffff88807d2b1118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:471
#1: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075
2 locks held by syz-executor/8418:
#0: ffff888067a93918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:471
#1: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075
3 locks held by syz.2.722/8432:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
#1: ffff888063f91100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#1: ffff888063f91100 (&dev->mutex){....}-{3:3}, at: nfc_register_device+0x9c/0x320 net/nfc/core.c:1128
#2: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075
2 locks held by syz-executor/8440:
#0: ffff888023986118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:471
#1: ffffffff8f8dae88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x8c0 net/rfkill/core.c:1075
1 lock held by syz-executor/8451:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8453:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8455:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8457:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8459:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8461:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8463:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8468:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8470:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8472:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
1 lock held by syz-executor/8474:
#0: ffffffff8eb3a788 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x390 drivers/char/misc.c:129
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 8049 Comm: kworker/u8:6 Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:text_poke_loc_init+0x35d/0x870 arch/x86/kernel/alternative.c:2426
Code: 70 5e 00 89 de 48 c7 c7 40 8a 16 8e e8 fc 13 b6 03 eb 92 e8 f5 6f 5e 00 eb 45 e8 ee 6f 5e 00 eb 3e 48 8d 44 24 60 48 8d 78 52 <48> 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 70 04 00 00 0f b6
RSP: 0018:ffffc900036278c0 EFLAGS: 00000287
RAX: ffffc90003627920 RBX: 000000000000000f RCX: ffff88801c799e00
RDX: 0000000000000003 RSI: ffffffff8e168c40 RDI: ffffc90003627972
RBP: ffffc90003627a10 R08: 0000000000000001 R09: ffffffff813512fd
R10: 0000000000000003 R11: ffff88801c799e00 R12: ffffffff929dbb00
R13: 000000000000000f R14: dffffc0000000000 R15: 0000000000000005
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4b149b8000 CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 000000000000000a DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_jump_label_transform_queue+0x8f/0x100 arch/x86/kernel/jump_label.c:138
__jump_label_update+0x177/0x3a0 kernel/jump_label.c:493
static_key_disable_cpuslocked+0xce/0x1c0 kernel/jump_label.c:240
static_key_disable+0x1a/0x20 kernel/jump_label.c:248
toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:838
process_one_work kernel/workqueue.c:3224 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305
worker_thread+0x86d/0xd40 kernel/workqueue.c:3383
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244