INFO: task kworker/u4:6:2830 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:6 state:D stack:27192 pid:2830 ppid:2 flags:0x00004000
Workqueue: events_unbound fsnotify_connector_destroy_workfn
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x2544/0x53f0 kernel/sched/core.c:6555
schedule+0xde/0x1b0 kernel/sched/core.c:6631
schedule_timeout+0x1e1/0x2a0 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
__synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:1283
fsnotify_connector_destroy_workfn+0x4d/0xa0 fs/notify/mark.c:208
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
process_scheduled_works kernel/workqueue.c:2352 [inline]
worker_thread+0x858/0x1090 kernel/workqueue.c:2438
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c791c30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c791930 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0:
ffffffff8c792780
(
rcu_read_lock
){....}-{1:2}
, at: debug_show_all_locks+0x57/0x2c2 kernel/locking/lockdep.c:6494
2 locks held by kworker/u4:6/2830:
#0:
ffff888012479138
((wq_completion)events_unbound
){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1:
ffffc9000cc87da8 (connector_reaper_work){+.+.}-{0:0}
, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
2 locks held by getty/4752:
#0:
ffff888027d81098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
3 locks held by kworker/1:9/5191:
2 locks held by kworker/u4:10/7499:
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc9000316fda8 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
3 locks held by kworker/0:2/22233:
#0: ffff88814a573538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88814a573538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88814a573538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88814a573538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff88814a573538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff88814a573538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90003397da8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
#2: ffffffff8e0c0828
(
rtnl_mutex
){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4624
1 lock held by syz-executor.2/24911:
#0: ffffffff8c79d438 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8c79d438 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x24f/0x780 kernel/rcu/tree_exp.h:946
2 locks held by dhcpcd/24925:
#0: ffff88806680e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff88806680e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194
#1: ffffffff8c79d438 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#1: ffffffff8c79d438 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x24f/0x780 kernel/rcu/tree_exp.h:946
1 lock held by dhcpcd/24926:
#0:
ffff88807f742130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
ffff88807f742130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194
1 lock held by dhcpcd/24927:
#0: ffff8880218ee130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff8880218ee130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194
1 lock held by dhcpcd/24928:
#0: ffff8880218ea130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff8880218ea130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194
1 lock held by dhcpcd/24929:
#0: ffff88805e120130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff88805e120130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194
1 lock held by dhcpcd/24930:
#0: ffff88805aa00130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff88805aa00130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194
1 lock held by syz-executor.5/24935:
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline]
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e9/0xca0 net/core/rtnetlink.c:6138
1 lock held by syz-executor.2/24938:
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline]
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e9/0xca0 net/core/rtnetlink.c:6138
1 lock held by syz-executor.3/24941:
#0:
ffffffff8e0c0828
(rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline]
(rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e9/0xca0 net/core/rtnetlink.c:6138
1 lock held by syz-executor.1/24948:
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline]
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink+0x7eb/0x1840 net/core/rtnetlink.c:3614
1 lock held by syz-executor.0/24964:
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline]
#0: ffffffff8e0c0828 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e9/0xca0 net/core/rtnetlink.c:6138
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-next-20221226-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+0xd1/0x138 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x32f/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5191 Comm: kworker/1:9 Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: events uhid_device_add_worker
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4754 [inline]
RIP: 0010:__lock_acquire+0x65e/0x56d0 kernel/locking/lockdep.c:5005
Code: 01 f8 48 89 44 24 58 eb 66 48 8d 04 5b 48 c1 e0 06 48 05 e0 4e 34 91 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 fe 27 00 00 0f b6 80 b8 00 00 00 84 c0 74 06 40
RSP: 0018:ffffc900001e0598 EFLAGS: 00000802
RAX: ffffffff913467a0 RBX: 0000000000000021 RCX: ffffffff81636000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91346858
RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffff91344ac7
R10: fffffbfff2268958 R11: 0000000000000001 R12: 0000000000000003
R13: ffff8880266357c0 R14: ffff8880266361f8 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558b976e9130 CR3: 0000000022314000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire.part.0+0x11a/0x350 kernel/locking/lockdep.c:5668
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162
skb_queue_tail+0x25/0x150 net/core/skbuff.c:3572
__ieee80211_queue_skb_to_iface net/mac80211/rx.c:231 [inline]
ieee80211_queue_skb_to_iface net/mac80211/rx.c:243 [inline]
ieee80211_rx_h_mgmt net/mac80211/rx.c:3846 [inline]
ieee80211_rx_handlers+0x938b/0x9ff0 net/mac80211/rx.c:4013
ieee80211_invoke_rx_handlers net/mac80211/rx.c:4043 [inline]
ieee80211_prepare_and_rx_handle+0x1c51/0x62b0 net/mac80211/rx.c:4860
ieee80211_rx_for_interface+0x141/0x3b0 net/mac80211/rx.c:4960
__ieee80211_rx_handle_packet net/mac80211/rx.c:5125 [inline]
ieee80211_rx_list+0x18a1/0x2ef0 net/mac80211/rx.c:5251
ieee80211_rx_napi+0xdf/0x3d0 net/mac80211/rx.c:5274
ieee80211_rx include/net/mac80211.h:4857 [inline]
ieee80211_tasklet_handler+0xd8/0x140 net/mac80211/main.c:315
tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:797
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2008 [inline]
RIP: 0010:vprintk_emit+0x3fe/0x600 kernel/printk/printk.c:2356
Code: d8 1a 00 48 85 db 0f 85 da 01 00 00 e8 fb db 1a 00 31 ff 4c 89 f6 e8 c1 d8 1a 00 4d 85 f6 74 06 e8 e7 db 1a 00 fb f3 0f 1e fa dd db 1a 00 45 31 c9 41 b8 01 00 00 00 31 c9 68 ea 29 66 81 ba
RSP: 0018:ffffc90003bcf3f8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880266357c0 RSI: ffffffff816629e9 RDI: 0000000000000007
RBP: ffffc90003bcf430 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 000000000000003a
R13: ffff888017240000 R14: 0000000000000200 R15: ffffc90003bcf550
dev_vprintk_emit+0x372/0x3b6 drivers/base/core.c:4698
dev_printk_emit+0xbe/0xf5 drivers/base/core.c:4709
__dev_printk+0xcf/0xf5 drivers/base/core.c:4721
_dev_warn+0xdb/0x10d drivers/base/core.c:4765
hid_parser_main.cold+0xa2/0xf1 drivers/hid/hid-core.c:633
hid_open_report+0x383/0x650 drivers/hid/hid-core.c:1266
hid_parse include/linux/hid.h:1099 [inline]
hid_generic_probe+0x4e/0x90 drivers/hid/hid-generic.c:63
hid_device_probe+0x29a/0x3c0 drivers/hid/hid-core.c:2616
call_driver_probe drivers/base/dd.c:560 [inline]
really_probe+0x249/0xb90 drivers/base/dd.c:639
__driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:778
driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:808
__device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:936
bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:427
__device_attach+0x1e4/0x530 drivers/base/dd.c:1008
bus_probe_device+0x1e8/0x2a0 drivers/base/bus.c:487
device_add+0xbd9/0x1e90 drivers/base/core.c:3479
hid_add_device+0x377/0xa20 drivers/hid/hid-core.c:2768
uhid_device_add_worker+0x3a/0x70 drivers/hid/uhid.c:73
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
worker_thread+0x669/0x1090 kernel/workqueue.c:2436
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308