INFO: task udevd:6587 blocked for more than 143 seconds.
Not tainted 6.14.0-next-20250328-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:23656 pid:6587 tgid:6587 ppid:5209 task_flags:0x400140 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1b88/0x5240 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x848/0x1150 kernel/locking/mutex.c:746
device_lock include/linux/device.h:922 [inline]
uevent_show+0x17d/0x340 drivers/base/core.c:2730
dev_attr_show+0x55/0xc0 drivers/base/core.c:2424
sysfs_kf_seq_show+0x32b/0x4a0 fs/sysfs/file.c:65
seq_read_iter+0x471/0xda0 fs/seq_file.c:230
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x9a0/0xb90 fs/read_write.c:570
ksys_read+0x19d/0x2d0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ffbee316b6a
RSP: 002b:00007ffd56260b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 000055ee9e047820 RCX: 00007ffbee316b6a
RDX: 0000000000001000 RSI: 000055ee9e0387c0 RDI: 0000000000000008
RBP: 000055ee9e047820 R08: 0000000000000008 R09: 0000000000000020
R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000003fff R14: 00007ffd56261018 R15: 000000000000000a
INFO: task udevd:6587 is blocked on a mutex likely owned by task kworker/1:5:5918.
task:kworker/1:5 state:D stack:21272 pid:5918 tgid:5918 ppid:2 task_flags:0x4208060 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1b88/0x5240 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
schedule_timeout+0xb1/0x2b0 kernel/time/sleep_timeout.c:75
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+0x32f/0x600 kernel/sched/completion.c:148
rcu_barrier+0x41d/0x530 kernel/rcu/tree.c:3842
netdev_run_todo+0x380/0xf30 net/core/dev.c:11281
rtnl_net_unlock include/linux/rtnetlink.h:135 [inline]
rtnl_net_dev_unlock net/core/dev.c:2110 [inline]
unregister_netdev+0x52/0x60 net/core/dev.c:12056
peak_usb_create_dev drivers/net/can/usb/peak_usb/pcan_usb_core.c:1026 [inline]
peak_usb_probe+0x100c/0x1120 drivers/net/can/usb/peak_usb/pcan_usb_core.c:1089
usb_probe_interface+0x650/0xbc0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2b9/0xad0 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
driver_probe_device+0x50/0x430 drivers/base/dd.c:830
__device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
bus_for_each_drv+0x258/0x2e0 drivers/base/bus.c:462
__device_attach+0x341/0x530 drivers/base/dd.c:1030
bus_probe_device+0x189/0x260 drivers/base/bus.c:537
device_add+0x856/0xbf0 drivers/base/core.c:3666
usb_set_configuration+0x1999/0x1fe0 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0x88/0x140 drivers/usb/core/generic.c:250
usb_probe_device+0x1b8/0x380 drivers/usb/core/driver.c:291
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2b9/0xad0 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
driver_probe_device+0x50/0x430 drivers/base/dd.c:830
__device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
bus_for_each_drv+0x258/0x2e0 drivers/base/bus.c:462
__device_attach+0x341/0x530 drivers/base/dd.c:1030
bus_probe_device+0x189/0x260 drivers/base/bus.c:537
device_add+0x856/0xbf0 drivers/base/core.c:3666
usb_new_device+0x1052/0x19a0 drivers/usb/core/hub.c:2663
hub_port_connect drivers/usb/core/hub.c:5531 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x2bfd/0x50f0 drivers/usb/core/hub.c:5913
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
INFO: task syz-executor:7024 blocked for more than 145 seconds.
Not tainted 6.14.0-next-20250328-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:20776 pid:7024 tgid:7024 ppid:1 task_flags:0x400140 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1b88/0x5240 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x848/0x1150 kernel/locking/mutex.c:746
del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
kernfs_fop_write_iter+0x3a5/0x510 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x70f/0xd10 fs/read_write.c:684
ksys_write+0x19d/0x2d0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbc2e98bc1f
RSP: 002b:00007ffc2eec5d90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fbc2e98bc1f
RDX: 0000000000000001 RSI: 00007ffc2eec5de0 RDI: 0000000000000005
RBP: 00007fbc2ea0f4fd R08: 0000000000000000 R09: 00007ffc2eec5be7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007ffc2eec5de0 R14: 00007fbc2f6d4620 R15: 0000000000000003
INFO: task syz-executor:7024 is blocked on a mutex likely owned by task syz-executor:6804.
task:syz-executor state:D stack:21216 pid:6804 tgid:6804 ppid:1 task_flags:0x480140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1b88/0x5240 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x848/0x1150 kernel/locking/mutex.c:746
rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
netdev_run_todo+0x380/0xf30 net/core/dev.c:11281
nsim_destroy+0x3c4/0x620 drivers/net/netdevsim/netdev.c:1058
__nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1428
nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline]
nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1661
nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1676
device_remove drivers/base/dd.c:567 [inline]
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1296
bus_remove_device+0x34f/0x420 drivers/base/bus.c:579
device_del+0x57c/0x9b0 drivers/base/core.c:3855
device_unregister+0x20/0xc0 drivers/base/core.c:3896
nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline]
del_device_store+0x367/0x490 drivers/net/netdevsim/bus.c:226
kernfs_fop_write_iter+0x3a5/0x510 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x70f/0xd10 fs/read_write.c:684
ksys_write+0x19d/0x2d0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd25798bc1f
RSP: 002b:00007ffe96982940 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fd25798bc1f
RDX: 0000000000000001 RSI: 00007ffe96982990 RDI: 0000000000000005
RBP: 00007fd257a0f4fd R08: 0000000000000000 R09: 00007ffe96982797
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007ffe96982990 R14: 00007fd2586d4620 R15: 0000000000000003
Showing all locks held in the system:
3 locks held by kworker/u8:1/13:
#0: ffff8880b8739b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
#1: ffff8880b8723b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987
#2: ffff8880b8725558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base kernel/time/timer.c:1046 [inline]
#2: ffff8880b8725558 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x24c/0x10f0 kernel/time/timer.c:1127
1 lock held by khungtaskd/31:
#0: ffffffff8ed3df80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8ed3df80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8ed3df80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764
7 locks held by kworker/u9:0/56:
#0: ffff88805b87f948 ((wq_completion)hci10){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88805b87f948 ((wq_completion)hci10){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000101fc60 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000101fc60 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff88803600cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:331
#3: ffff88803600c078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1f1/0xeb0 net/bluetooth/hci_sync.c:5597
#4: ffffffff902559e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2051 [inline]
#4: ffffffff902559e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x15d/0x300 net/bluetooth/hci_conn.c:1269
#5: ffff888062792b38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x71/0x690 net/bluetooth/l2cap_core.c:1761
#6: ffffffff8ed434b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline]
#6: ffffffff8ed434b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998
2 locks held by kworker/0:2/60:
2 locks held by kworker/u8:6/1099:
#0: ffff8880b8739b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
#1: ffffc900039dfc60 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900039dfc60 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
6 locks held by kworker/u8:7/3440:
#0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000b71fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000b71fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffffffff900e30d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17c/0xd60 net/core/net_namespace.c:608
#3: ffff88807c4ca0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#3: ffff88807c4ca0e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline]
#3: ffff88807c4ca0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x13d/0x450 net/devlink/core.c:506
#4: ffff88805c0ca250 (&devlink->lock_key#3){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline]
#4: ffff88805c0ca250 (&devlink->lock_key#3){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline]
#4: ffff88805c0ca250 (&devlink->lock_key#3){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x14f/0x450 net/devlink/core.c:506
#5: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
5 locks held by kworker/u9:1/5149:
#0: ffff888040a0e148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888040a0e148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000f0dfc60 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000f0dfc60 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff88803daa0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:331
#3: ffff88803daa0078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1f1/0xeb0 net/bluetooth/hci_sync.c:5597
#4: ffffffff902559e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2051 [inline]
#4: ffffffff902559e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x15d/0x300 net/bluetooth/hci_conn.c:1269
2 locks held by getty/5592:
#0: ffff888035e2a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036e32f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222
4 locks held by kworker/1:3/5847:
#0: ffff888079eb1d48 ((wq_completion)wg-kex-wg2#20){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888079eb1d48 ((wq_completion)wg-kex-wg2#20){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc900040ffc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900040ffc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff888052e25308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x151/0xd60 drivers/net/wireguard/noise.c:598
#3: ffff8880522634c0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x711/0xd60 drivers/net/wireguard/noise.c:632
2 locks held by kworker/0:3/5881:
3 locks held by kworker/0:4/5889:
6 locks held by kworker/0:5/5890:
3 locks held by kworker/1:4/5891:
#0: ffff88801e2d1948 ((wq_completion)wg-kex-wg2#18){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801e2d1948 ((wq_completion)wg-kex-wg2#18){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc90004767c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90004767c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff88805aaff030 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x38/0xc00 drivers/net/wireguard/noise.c:822
6 locks held by kworker/1:5/5918:
#0: ffff888020e80548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888020e80548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000a7c7c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000a7c7c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff88802888c198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#2: ffff88802888c198 (&dev->mutex){....}-{4:4}, at: hub_event+0x200/0x50f0 drivers/usb/core/hub.c:5859
#3: ffff888027587198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#3: ffff888027587198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x90/0x530 drivers/base/dd.c:1005
#4: ffff8880122cd160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#4: ffff8880122cd160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x90/0x530 drivers/base/dd.c:1005
#5: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
3 locks held by kworker/0:7/5949:
2 locks held by syz-executor/6519:
#0: ffff8880283440e0 (&type->s_umount_key#90){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880283440e0 (&type->s_umount_key#90){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880283440e0 (&type->s_umount_key#90){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
1 lock held by syz-executor/6527:
#0: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
1 lock held by syz-executor/6531:
#0: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
4 locks held by udevd/6587:
#0: ffff888056d202f0 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xb4/0xda0 fs/seq_file.c:182
#1: ffff88805e640088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2: ffff888026e2ef08 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff888027587198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#3: ffff888027587198 (&dev->mutex){....}-{4:4}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2730
7 locks held by syz-executor/6804:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff88805d132088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
#4: ffff88807c39b0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#4: ffff88807c39b0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff88807c39b0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293
#5: ffff88807c39c250 (&devlink->lock_key#4){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675
#6: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
4 locks held by kworker/0:10/6808:
1 lock held by syz.9.312/6868:
#0: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
2 locks held by kworker/0:11/6886:
4 locks held by syz-executor/7024:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff88805e641488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
1 lock held by syz.6.401/7138:
#0: ffffffff8ed43380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
4 locks held by syz-executor/7166:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888052db9888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7168:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff8880433c3488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7183:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888042773488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7191:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888024cb6088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7208:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff88805265d888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7218:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888066917c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7227:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888084c11c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7231:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff8880365bc088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7240:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888091641888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor/7254:
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88802f812420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680
#1: ffff888094d0dc88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ef/0x510 fs/kernfs/file.c:325
#2: ffff888027b5f0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x213/0x510 fs/kernfs/file.c:326
#3: ffffffff8f9976a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216
1 lock held by syz-executor/7277:
#0: ffffffff8ed434b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#0: ffffffff8ed434b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998
1 lock held by dhcpcd/7279:
#0: ffff888052f3a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1615 [inline]
#0: ffff888052f3a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252
1 lock held by dhcpcd/7280:
#0: ffff888097614258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1615 [inline]
#0: ffff888097614258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-next-20250328-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0x133e/0x1380 kernel/hung_task.c:437
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6808 Comm: kworker/0:10 Not tainted 6.14.0-next-20250328-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x3a/0xb0 kernel/rcu/tree.c:736
Code: e8 8b 10 83 0a 89 c3 83 f8 08 73 7a 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 60 8c 78 8e 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 dc ba 84 00 48 c7 c3 58 9b 67 93 49 03 1e 48 89
RSP: 0018:ffffc90000006aa0 EFLAGS: 00000246
RAX: 1ffffffff1cf118c RBX: 0000000000000000 RCX: ffff88802a390000
RDX: dffffc0000000000 RSI: ffffffff8ca1d640 RDI: ffffffff8ca1d600
RBP: ffffffff816e0228 R08: ffffc9000b277370 R09: 0000000000000000
R10: ffffc90000006c50 R11: fffff52000000d8c R12: ffffc90000006c10
R13: dffffc0000000000 R14: ffffffff8e788c60 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888124fb9000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30b1bff8 CR3: 000000000eb38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0x4e/0x3e0 kernel/locking/lockdep.c:5877
rcu_lock_release include/linux/rcupdate.h:341 [inline]
rcu_read_unlock include/linux/rcupdate.h:871 [inline]
class_rcu_destructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0x1a9f/0x23b0 arch/x86/kernel/unwind_orc.c:680
arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122
kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47
kasan_record_aux_stack+0xbf/0xd0 mm/kasan/generic.c:548
__call_rcu_common kernel/rcu/tree.c:3082 [inline]
call_rcu+0x172/0xad0 kernel/rcu/tree.c:3202
refdst_drop include/net/dst.h:263 [inline]
skb_dst_drop include/net/dst.h:275 [inline]
skb_release_head_state+0x73/0x250 net/core/skbuff.c:1146
skb_release_all net/core/skbuff.c:1160 [inline]
__kfree_skb net/core/skbuff.c:1176 [inline]
consume_skb+0x60/0xf0 net/core/skbuff.c:1408
nft_synproxy_eval_v4+0x3d4/0x610 net/netfilter/nft_synproxy.c:60
nft_synproxy_do_eval+0x36a/0xa90 net/netfilter/nft_synproxy.c:141
expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline]
nft_do_chain+0x4b2/0x1db0 net/netfilter/nf_tables_core.c:285
nft_do_chain_inet+0x41f/0x6b0 net/netfilter/nft_chain_filter.c:161
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xc8/0x220 net/netfilter/core.c:626
nf_hook include/linux/netfilter.h:269 [inline]
NF_HOOK+0x29b/0x450 include/linux/netfilter.h:312
NF_HOOK+0x3a0/0x450 include/linux/netfilter.h:314
__netif_receive_skb_one_core net/core/dev.c:5891 [inline]
__netif_receive_skb+0x2c9/0x670 net/core/dev.c:6004
process_backlog+0x664/0x15c0 net/core/dev.c:6356
__napi_poll+0xcb/0x480 net/core/dev.c:7328
napi_poll net/core/dev.c:7392 [inline]
net_rx_action+0x89d/0x1240 net/core/dev.c:7514
handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
do_softirq+0x11f/0x1e0 kernel/softirq.c:480
__local_bh_enable_ip+0x1be/0x200 kernel/softirq.c:407
local_bh_enable include/linux/bottom_half.h:33 [inline]
fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline]
kernel_fpu_end+0x103/0x150 arch/x86/kernel/fpu/core.c:460
blake2s_compress+0x5f/0xd0 arch/x86/crypto/blake2s-glue.c:49
blake2s_update+0x135/0x420 lib/crypto/blake2s.c:32
hmac+0x669/0x9d0 drivers/net/wireguard/noise.c:332
kdf drivers/net/wireguard/noise.c:367 [inline]
mix_dh drivers/net/wireguard/noise.c:413 [inline]
wg_noise_handshake_create_response+0x4ff/0xe90 drivers/net/wireguard/noise.c:702
wg_packet_send_handshake_response+0xfb/0x2e0 drivers/net/wireguard/send.c:94
wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline]
wg_packet_handshake_receive_worker+0x5e8/0xf60 drivers/net/wireguard/receive.c:213
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245