INFO: task syz.1.2098:14919 blocked for more than 143 seconds.
Not tainted 6.10.0-rc7-syzkaller-00254-g528dd46d0fc3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2098 state:D stack:26656 pid:14919 tgid:14915 ppid:14189 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_work+0xaa9/0xd00 kernel/workqueue.c:4227
__cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4347
uhid_dev_destroy+0x8b/0x120 drivers/hid/uhid.c:584
uhid_char_write+0x761/0xb50 drivers/hid/uhid.c:761
vfs_write+0x2a4/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:0x7f2d0a575bd9
RSP: 002b:00007f2d0b35a048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2d0a703f60 RCX: 00007f2d0a575bd9
RDX: 0000000000000004 RSI: 0000000020001680 RDI: 0000000000000003
RBP: 00007f2d0a5e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2d0a703f60 R15: 00007fffad139018
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4838:
#0: ffff88802ae520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:4/5150:
2 locks held by kworker/0:9/5157:
#0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline]
#0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329
#1: ffffc90002fffd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline]
#1: ffffc90002fffd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329
3 locks held by kworker/1:7/5196:
#0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline]
#0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329
#1: ffffc90002f7fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline]
#1: ffffc90002f7fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329
#2: ffffffff8f5ea7c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
5 locks held by kworker/0:3/9244:
4 locks held by kworker/u8:14/10286:
#0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline]
#0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329
#1: ffffc900042d7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline]
#1: ffffc900042d7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329
#2: ffffffff8f5ddf90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594
#3: ffffffff8f5ea7c8 (rtnl_mutex){+.+.}-{3:3}, at: wiphy_unregister+0x236/0xaa0 net/wireless/core.c:1096
3 locks held by syz-executor/12061:
#0: ffff888022b1cd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline]
#0: ffff888022b1cd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2728
#1: ffff888022b1c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf60 net/bluetooth/hci_sync.c:5063
#2: ffffffff8f754ec8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline]
#2: ffffffff8f754ec8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2593
3 locks held by syz-executor/14405:
#0:
ffff8880471d0d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline]
ffff8880471d0d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2728
#1: ffff8880471d0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf60 net/bluetooth/hci_sync.c:5063
#2: ffffffff8f754ec8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline]
#2: ffffffff8f754ec8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2593
1 lock held by syz.1.2098/14919:
#0: ffff8880374c0068 (&uhid->devlock){+.+.}-{3:3}, at: uhid_char_write+0x78/0xb50 drivers/hid/uhid.c:731
2 locks held by syz-executor/16622:
#0:
ffffffff8f5ea7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
ffffffff8f5ea7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632
#1: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#1: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939
1 lock held by syz.2.2527/16730:
#0:
ffff88808a873210
(
&sb->s_type->i_mutex_key
#10
){+.+.}-{3:3}
, at: inode_lock include/linux/fs.h:791 [inline]
, at: __sock_release net/socket.c:658 [inline]
, at: sock_close+0x90/0x240 net/socket.c:1421
2 locks held by syz.2.2527/16740:
#0: ffffffff8f650c30 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5ea7c8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16409
3 locks held by syz.0.2530/16747:
#0: ffff88805ae28e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
#0: ffff88805ae28e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline]
#0: ffff88805ae28e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1421
#1: ffff88807b328258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline]
#1: ffff88807b328258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_release+0x790/0xcc0 net/packet/af_packet.c:3152
#2: ffffffff8e3392f8
(
rcu_state.exp_mutex
){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939
1 lock held by syz.0.2530/16748:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc7-syzkaller-00254-g528dd46d0fc3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
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+0xfde/0x1020 kernel/hung_task.c:379
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/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 PID: 14919 Comm: syz.1.2098 Not tainted 6.10.0-rc7-syzkaller-00254-g528dd46d0fc3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__cq_get_elem_count kernel/locking/lockdep.c:1509 [inline]
RIP: 0010:__bfs kernel/locking/lockdep.c:1816 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1844 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2804 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3138 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3253 [inline]
RIP: 0010:validate_chain+0x2051/0x5900 kernel/locking/lockdep.c:3869
Code: 00 74 08 48 89 df e8 ce b4 88 00 4c 89 3b 8b 05 49 c1 0c 12 ff c0 89 c1 81 e1 ff 0f 00 00 89 0d 39 c1 0c 12 2b 05 2f c1 0c 12 <25> ff 0f 00 00 39 05 64 a0 87 11 73 06 89 05 5c a0 87 11 45 31 e4
RSP: 0018:ffffc90009186e80 EFLAGS: 00000006
RAX: 0000000000000381 RBX: ffffffff937f97a0 RCX: 0000000000000385
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c9a880
RBP: ffffc90009187180 R08: ffffffff92fad587 R09: 1ffffffff25f5ab0
R10: dffffc0000000000 R11: fffffbfff25f5ab1 R12: dffffc0000000000
R13: ffffffff941be698 R14: ffffffff92c9a850 R15: ffffffff94055b88
FS: 00007f2d0b35a6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25b57d3570 CR3: 0000000045d34000 CR4: 0000000000350ef0
Call Trace:
__lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
do_write_seqcount_begin_nested include/linux/seqlock.h:469 [inline]
do_write_seqcount_begin include/linux/seqlock.h:495 [inline]
psi_account_irqtime+0x1b2/0x5d0 kernel/sched/psi.c:1016
update_rq_clock_task kernel/sched/core.c:726 [inline]
update_rq_clock+0x22b/0x8a0 kernel/sched/core.c:770
ttwu_queue kernel/sched/core.c:4056 [inline]
try_to_wake_up+0x86b/0x1470 kernel/sched/core.c:4378
devtmpfs_submit_req drivers/base/devtmpfs.c:106 [inline]
devtmpfs_delete_node+0x20d/0x300 drivers/base/devtmpfs.c:156
device_del+0x332/0x9b0 drivers/base/core.c:3847
device_unregister drivers/base/core.c:3909 [inline]
device_destroy+0xb7/0x190 drivers/base/core.c:4473
drop_ref+0x104/0x360 drivers/hid/hidraw.c:334
hidraw_disconnect+0x4f/0x60 drivers/hid/hidraw.c:611
hid_disconnect drivers/hid/hid-core.c:2283 [inline]
hid_hw_stop drivers/hid/hid-core.c:2328 [inline]
hid_device_remove+0x1c0/0x370 drivers/hid/hid-core.c:2690
device_remove drivers/base/dd.c:566 [inline]
__device_release_driver drivers/base/dd.c:1270 [inline]
device_release_driver_internal+0x4ab/0x7c0 drivers/base/dd.c:1293
bus_remove_device+0x34f/0x420 drivers/base/bus.c:574
device_del+0x57a/0x9b0 drivers/base/core.c:3868
hid_remove_device drivers/hid/hid-core.c:2866 [inline]
hid_destroy_device+0x68/0x100 drivers/hid/hid-core.c:2886
uhid_dev_destroy+0xa2/0x120 drivers/hid/uhid.c:586
uhid_char_write+0x761/0xb50 drivers/hid/uhid.c:761
vfs_write+0x2a4/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:0x7f2d0a575bd9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2d0b35a048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2d0a703f60 RCX: 00007f2d0a575bd9
RDX: 0000000000000004 RSI: 0000000020001680 RDI: 0000000000000003
RBP: 00007f2d0a5e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2d0a703f60 R15: 00007fffad139018