INFO: task syz.1.1261:8958 blocked for more than 152 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1261 state:D stack:0 pid:8958 tgid:8953 ppid:4709 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5533 [inline] __schedule+0x135c/0x2b00 kernel/sched/core.c:7284 __schedule_loop kernel/sched/core.c:7361 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7376 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7433 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x5d4/0x1078 kernel/locking/mutex.c:821 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:874 fdget_pos+0x100/0x144 fs/file.c:1259 class_fd_pos_constructor include/linux/file.h:85 [inline] ksys_write+0x8c/0x228 fs/read_write.c:730 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __arm64_sys_write+0x84/0x98 fs/read_write.c:747 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Showing all locks held in the system: locks held by kthreadd/2: 1, last CPU#0: #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by kworker/0:0/9: 3, last CPU#0: #0: ffff0000efb70540 ((wq_completion)wg-kex-wg1#10){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000efb70540 ((wq_completion)wg-kex-wg1#10){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80008f8e7c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80008f8e7c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d8497028 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x40/0x958 drivers/net/wireguard/noise.c:823 locks held by kworker/u8:0/12: 2, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80008f917c20 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80008f917c20 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by khungtaskd/31: 1, last CPU#0: #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871 locks held by kworker/u8:2/40: 2, last CPU#0: #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80008fef7c20 ((work_completion)(&(&tbl->gc_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80008fef7c20 ((work_completion)(&(&tbl->gc_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by pr/ttyAMA-1/41: 1, last CPU#0: #0: ffff80008985e938 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:314 [inline] #0: ffff80008985e938 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:439 [inline] #0: ffff80008985e938 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x4c/0x68 kernel/printk/printk.c:291 locks held by kworker/u8:3/54: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80008ffd7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80008ffd7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000f2dc0800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000f2dc0800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/u8:5/234: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000933c7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000933c7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d9990800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000d9990800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/0:2/866: 3, last CPU#0: #0: ffff0000ee78ad40 ((wq_completion)wg-kex-wg1#8){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000ee78ad40 ((wq_completion)wg-kex-wg1#8){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800093787c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800093787c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d7a4dc58 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x40/0x958 drivers/net/wireguard/noise.c:823 locks held by kworker/u8:6/1187: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094307c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094307c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d0170800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000d0170800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by klogd/4332: 1, last CPU#0: #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: sock_def_readable+0xdc/0x5d0 net/core/sock.c:3665 locks held by dhcpcd/4399: 1, last CPU#0: #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: sock_def_readable+0xdc/0x5d0 net/core/sock.c:3665 locks held by kworker/0:3/4471: 3, last CPU#0: #0: ffff0000d34e2540 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000d34e2540 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80009ba17c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80009ba17c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d8492ad0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x40/0x958 drivers/net/wireguard/noise.c:823 locks held by getty/4488: 2, on CPU#0: #0: ffff0000c8dce0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009317b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf78 drivers/tty/n_tty.c:2211 locks held by syz-executor/4698: 1, last CPU#0: #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by syz-executor/4710: 1, last CPU#0: #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by kworker/u9:3/4716: 4, on CPU#0: #0: ffff0000faf05940 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000faf05940 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000959c7c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000959c7c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0001113d4ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1b0/0x380 net/bluetooth/hci_sync.c:337 #3: ffff0001113d40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:6016 locks held by syz-executor/4720: 1, last CPU#0: #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by kworker/0:4/4802: 3, last CPU#0: #0: ffff0000f04a1940 ((wq_completion)wg-kex-wg2#11){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000f04a1940 ((wq_completion)wg-kex-wg2#11){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000953f7c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000953f7c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d84920e8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x40/0x958 drivers/net/wireguard/noise.c:823 locks held by kworker/0:5/4825: 3, last CPU#0: #0: ffff0000eeba7140 ((wq_completion)wg-kex-wg2#8){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000eeba7140 ((wq_completion)wg-kex-wg2#8){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800095297c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800095297c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d7a4c888 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x40/0x958 drivers/net/wireguard/noise.c:823 locks held by kworker/u8:11/5013: 4, last CPU#0: #0: ffff0000c5d17940 ((wq_completion)wg-kex-wg0#11){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c5d17940 ((wq_completion)wg-kex-wg0#11){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094f17c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094f17c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d9839440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d8493ea0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 locks held by kworker/u8:27/5426: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80009ab97c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80009ab97c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000f0c10800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000f0c10800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/u8:28/5427: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094767c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094767c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff000102ef0800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff000102ef0800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/u8:29/5428: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094917c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094917c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000ed760800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000ed760800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/u8:30/5429: 4, last CPU#0: #0: ffff0000c6363940 ((wq_completion)wg-kex-wg2#12){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c6363940 ((wq_completion)wg-kex-wg2#12){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80009a987c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80009a987c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000fadb1440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d8491700 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 locks held by kworker/u8:32/5431: 2, last CPU#0: #0: ffff0000d5a97940 ((wq_completion)wg-kex-wg2#7){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000d5a97940 ((wq_completion)wg-kex-wg2#7){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80009a937c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80009a937c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by kworker/u8:35/5434: 4, last CPU#0: #0: ffff0000cb4bf940 ((wq_completion)wg-kex-wg2#13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000cb4bf940 ((wq_completion)wg-kex-wg2#13){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80009a8d7c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80009a8d7c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d5839440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d7b920e8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 locks held by kworker/u8:45/5444: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000946e7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000946e7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000f2f30800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000f2f30800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/u8:47/5446: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000946c7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000946c7c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000f1a90800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000f1a90800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by syz-executor/5599: 2, last CPU#0: #0: ffff800089cd1438 (tomoyo_ss){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffff800089cd1438 (tomoyo_ss){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:305 [inline] #0: ffff800089cd1438 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1112 [inline] #0: ffff800089cd1438 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_path_perm+0x208/0x460 security/tomoyo/file.c:826 #1: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #1: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by kworker/0:6/5956: 4, last CPU#0: #0: ffff0000d210b940 ((wq_completion)wg-kex-wg0#12){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000d210b940 ((wq_completion)wg-kex-wg0#12){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80009c8b7c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80009c8b7c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d9839440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_response+0xc8/0x430 drivers/net/wireguard/noise.c:678 #3: ffff0000d8494888 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_response+0xd0/0x430 drivers/net/wireguard/noise.c:679 locks held by kworker/u8:54/6597: 4, last CPU#0: #0: ffff0000ee708140 ((wq_completion)wg-kex-wg1#7){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000ee708140 ((wq_completion)wg-kex-wg1#7){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094bd7c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094bd7c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000eebdd440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d7a4dc58 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 locks held by kworker/u8:55/6598: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094bc7c20 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094bc7c20 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000cb289258 (&devlink->lock_key#3){+.+.}-{4:4}, at: devl_trylock+0x24/0x34 net/devlink/core.c:320 locks held by kworker/u8:56/6599: 4, last CPU#0: #0: ffff0000d378f940 ((wq_completion)wg-kex-wg0#13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000d378f940 ((wq_completion)wg-kex-wg0#13){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094bb7c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094bb7c20 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d6611440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d8490d18 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 locks held by kworker/u8:57/6600: 5, last CPU#0: #0: ffff0000c1fef140 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c1fef140 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094ba7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094ba7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d1be80e8 (&type->s_umount_key#32){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:670 #3: ffff0000d1bf6c98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #3: ffff0000d1bf6c98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1887 [inline] #3: ffff0000d1bf6c98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3031 #4: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #4: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by kworker/u8:58/6601: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094b97c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094b97c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000f0db0800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000f0db0800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by kworker/u8:59/6604: 3, last CPU#0: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094b87c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800094b87c20 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000f1970800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6906 [inline] #2: ffff0000f1970800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd0/0x464 net/wireless/core.c:550 locks held by syz-executor/7049: 2, last CPU#0: #0: ffff0000d2aa0300 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:562 [inline] #0: ffff0000d2aa0300 (&mm->mmap_lock){++++}-{4:4}, at: dup_mmap+0x138/0x19a8 mm/mmap.c:1716 #1: ffff0000d2aa6180 (&mm->mmap_lock/1){+.+.}-{4:4}, at: mmap_write_lock_nested include/linux/mmap_lock.h:552 [inline] #1: ffff0000d2aa6180 (&mm->mmap_lock/1){+.+.}-{4:4}, at: dup_mmap+0x1fc/0x19a8 mm/mmap.c:1723 locks held by syz.4.1145/8702: 2, last CPU#0: #0: ffff0000cb420460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump fs/coredump.c:1126 [inline] #0: ffff0000cb420460 (sb_writers#5){.+.+}-{0:0}, at: vfs_coredump+0x2ad8/0x3820 fs/coredump.c:1195 #1: ffff0000d234e308 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #1: ffff0000d234e308 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: shmem_file_write_iter+0x80/0x134 mm/shmem.c:3433 locks held by syz.1.1261/8954: 7, last CPU#0: #0: ffff0000d2b0feb0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x100/0x144 fs/file.c:1259 #1: ffff0001089c2460 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2756 [inline] #1: ffff0001089c2460 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x248/0xa0c fs/read_write.c:683 #2: ffff0000f0d8d480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b0/0x3b8 fs/kernfs/file.c:336 #3: ffff0000c356c698 (kn->active#76){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #3: ffff0000c356c698 (kn->active#76){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f0/0x3b8 fs/kernfs/file.c:337 #4: ffff800089fc50c0 (device_hotplug_lock){+.+.}-{4:4}, at: lock_device_hotplug_sysfs+0x24/0x9c drivers/base/core.c:2425 #5: ffff0001a4ff0d78 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline] #5: ffff0001a4ff0d78 (&dev->mutex){....}-{4:4}, at: device_offline+0xa0/0x1c4 drivers/base/core.c:4278 #6: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #6: ffff800089aa2bb0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by syz.1.1261/8958: 1, on CPU#0: #0: ffff0000d2b0feb0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x100/0x144 fs/file.c:1259 locks held by kworker/0:7/8965: 1, last CPU#0: #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: process_one_work kernel/workqueue.c:3361 [inline] #0: ffff800089981820 (rcu_read_lock){....}-{1:3}, at: process_scheduled_works+0x698/0x1250 kernel/workqueue.c:3479 =============================================