INFO: task kworker/u4:15:5699 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:15 state:D stack:23008 pid:5699 ppid:2 flags:0x00004000
Workqueue: nfc2_nci_rx_wq nci_rx_work
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_targets_found+0x273/0x590 net/nfc/core.c:778
nci_rf_discover_ntf_packet+0xbaa/0xd70 net/nfc/nci/ntf.c:390
nci_ntf_packet+0x140/0x970 net/nfc/nci/ntf.c:798
nci_rx_work+0x160/0x2b0 net/nfc/nci/core.c:1517
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 kworker/1:10:12182 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:10 state:D stack:19776 pid:12182 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 kworker/1:13:12186 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:13 state:D stack:19896 pid:12186 ppid:2 flags:0x00004000
Workqueue: events rfkill_sync_work
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
nci_close_device+0xfe/0x5e0 net/nfc/nci/core.c:561
nci_dev_down+0x37/0x40 net/nfc/nci/core.c:639
nfc_dev_down+0x170/0x260 net/nfc/core.c:161
nfc_rfkill_set_block+0x28/0xc0 net/nfc/core.c:179
rfkill_set_block+0x1e7/0x430 net/rfkill/core.c:345
rfkill_sync_work+0x88/0xe0 net/rfkill/core.c:1042
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-executor.0:5255 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:25040 pid:5255 ppid:5086 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_deactivate_target+0x3c/0x2d0 net/nfc/core.c:449
nfc_genl_activate_target+0x169/0x220 net/nfc/netlink.c:899
genl_family_rcv_msg_doit net/netlink/genetlink.c:968 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline]
genl_rcv_msg+0xbe9/0xf40 net/netlink/genetlink.c:1065
netlink_rcv_skb+0x1f0/0x470 net/netlink/af_netlink.c:2564
genl_rcv+0x24/0x40 net/netlink/genetlink.c:1076
netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1356
netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1932
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg net/socket.c:734 [inline]
____sys_sendmsg+0x597/0x8e0 net/socket.c:2476
___sys_sendmsg net/socket.c:2530 [inline]
__sys_sendmsg+0x28e/0x390 net/socket.c:2559
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:0x7f8c8ee8c0a9
RSP: 002b:00007f8c8fc47168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8c8efabf80 RCX: 00007f8c8ee8c0a9
RDX: 0000000000000000 RSI: 0000000020000780 RDI: 0000000000000005
RBP: 00007f8c8eee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc1af663df R14: 00007f8c8fc47300 R15: 0000000000022000
INFO: task syz-executor.0:5274 blocked for more than 144 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:26832 pid:5274 ppid:5086 flags:0x00004006
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_timeout+0xac/0x300 kernel/time/timer.c:2143
do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
__flush_workqueue+0x76a/0x16a0 kernel/workqueue.c:2861
nci_close_device+0x1b2/0x5e0 net/nfc/nci/core.c:579
nci_unregister_device+0x3c/0x250 net/nfc/nci/core.c:1292
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
get_signal+0x1654/0x1820 kernel/signal.c:2635
arch_do_signal_or_restart+0x8d/0x5f0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168
exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8c8ee8c0a9
RSP: 002b:00007f8c8fbc3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffff2 RBX: 00007f8c8efac2c0 RCX: 00007f8c8ee8c0a9
RDX: 0000000000000064 RSI: 0000000020000680 RDI: 0000000000000003
RBP: 00007f8c8eee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc1af663df R14: 00007f8c8fbc3300 R15: 0000000000022000
INFO: task syz-executor.5:5392 blocked for more than 144 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:27368 pid:5392 ppid:6607 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
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063
netlink_rcv_skb+0x1f0/0x470 net/netlink/af_netlink.c:2564
genl_rcv+0x24/0x40 net/netlink/genetlink.c:1076
netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1356
netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1932
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg net/socket.c:734 [inline]
__sys_sendto+0x46d/0x5f0 net/socket.c:2117
__do_sys_sendto net/socket.c:2129 [inline]
__se_sys_sendto net/socket.c:2125 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2125
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:0x7efd5aa3e0dc
RSP: 002b:00007efd5b7bc000 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007efd5b7bc0f0 RCX: 00007efd5aa3e0dc
RDX: 0000000000000020 RSI: 00007efd5b7bc140 RDI: 0000000000000008
RBP: 0000000000000000 R08: 00007efd5b7bc054 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007efd5b7bc0a8
R13: 00007efd5b7bc140 R14: 0000000000000008 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d5239d0 (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: ffffffff8d5241d0 (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: ffffffff8d523800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:2/35:
2 locks held by getty/4739:
#0: ffff88802cbeb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
3 locks held by kworker/u4:15/5699:
#0: ffff88803b1ce138 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000b177d00 ((work_completion)(&ndev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff88803a172100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#2: ffff88803a172100 (&dev->mutex){....}-{3:3}, at: nfc_targets_found+0x273/0x590 net/nfc/core.c:778
3 locks held by kworker/1:10/12182:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000adbfd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e914dc8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x1b/0xf0 net/rfkill/core.c:181
5 locks held by kworker/1:13/12186:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000ae97d00 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8e914dc8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x25/0xe0 net/rfkill/core.c:1040
#3: ffff88803a172100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#3: ffff88803a172100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x33/0x260 net/nfc/core.c:143
#4: ffff888020452350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xfe/0x5e0 net/nfc/nci/core.c:561
3 locks held by syz-executor.0/5255:
#0: ffffffff8e6cb7d0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075
#1: ffffffff8e6cb688 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8e6cb688 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063
#2: ffff88803a172100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#2: ffff88803a172100 (&dev->mutex){....}-{3:3}, at: nfc_deactivate_target+0x3c/0x2d0 net/nfc/core.c:449
1 lock held by syz-executor.0/5274:
#0: ffff888020452350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xfe/0x5e0 net/nfc/nci/core.c:561
2 locks held by syz-executor.5/5392:
#0: ffffffff8e6cb7d0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075
#1: ffffffff8e6cb688 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8e6cb688 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063
2 locks held by syz-executor.4/5723:
#0: ffffffff8e6cb7d0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:1075
#1: ffffffff8e6cb688 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8e6cb688 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x12f/0xf40 net/netlink/genetlink.c:1063
2 locks held by syz-executor.0/5954:
#0: ffff888076a22918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:373
#1: ffffffff8e914dc8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
2 locks held by syz-executor.5/5957:
#0: ffff88804991c118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:373
#1: ffffffff8e914dc8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
2 locks held by syz-executor.0/5960:
#0: ffff88804b37b918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:373
#1: ffffffff8e914dc8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
2 locks held by syz-executor.5/5963:
#0: ffff88803993f918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:373
#1: ffffffff8e914dc8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc2-syzkaller #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5359 Comm: kworker/u4:12 Not tainted 6.2.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4729 [inline]
RIP: 0010:__lock_acquire+0x4ff/0x1f60 kernel/locking/lockdep.c:5005
Code: c1 e0 06 48 8d 98 80 50 66 90 48 ba 00 00 00 00 00 fc ff df 4c 8b 7c 24 30 48 81 c3 b8 00 00 00 48 89 d8 48 c1 e8 03 8a 04 10 <84> c0 0f 85 c8 12 00 00 44 8a 33 48 8b 44 24 18 8a 04 10 84 c0 0f
RSP: 0018:ffffc90004b2f748 EFLAGS: 00000802
RAX: 1ffffffff20ccf00 RBX: ffffffff90667a78 RCX: ffffffff816c9c80
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff9096f180
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff212de31
R10: fffffbfff212de31 R11: 1ffffffff212de30 R12: 0000000000040000
R13: ffff88801e44ba80 R14: 00000000000c0037 R15: ffff88801e44c528
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c022113990 CR3: 000000000d28e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668
_raw_spin_lock_nested+0x2d/0x40 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0xc6/0x110 kernel/sched/core.c:545
raw_spin_rq_lock kernel/sched/sched.h:1358 [inline]
rq_lock kernel/sched/sched.h:1648 [inline]
__schedule+0x1a2/0xe40 kernel/sched/core.c:6472
schedule+0xcb/0x190 kernel/sched/core.c:6631
toggle_allocation_gate+0x16a/0x250 mm/kfence/core.c:801
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