INFO: task udevd:5838 blocked for more than 143 seconds.
Not tainted 6.12.0-rc4-syzkaller-01012-g157a4881225b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:21464 pid:5838 tgid:5838 ppid:1 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x18af/0x4bd0 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6767 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6782
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615
wait_for_reconnect drivers/block/nbd.c:1043 [inline]
nbd_handle_cmd drivers/block/nbd.c:1085 [inline]
nbd_queue_rq+0x7d9/0x2f30 drivers/block/nbd.c:1143
blk_mq_dispatch_rq_list+0xb89/0x1b30 block/blk-mq.c:2030
__blk_mq_do_dispatch_sched block/blk-mq-sched.c:170 [inline]
blk_mq_do_dispatch_sched block/blk-mq-sched.c:184 [inline]
__blk_mq_sched_dispatch_requests+0xb8a/0x1840 block/blk-mq-sched.c:309
blk_mq_sched_dispatch_requests+0xcb/0x140 block/blk-mq-sched.c:331
blk_mq_run_hw_queue+0x576/0xae0 block/blk-mq.c:2243
blk_mq_flush_plug_list+0x1127/0x1890 block/blk-mq.c:2798
__blk_flush_plug+0x420/0x500 block/blk-core.c:1199
blk_finish_plug block/blk-core.c:1226 [inline]
__submit_bio+0x422/0x560 block/blk-core.c:623
__submit_bio_noacct_mq block/blk-core.c:696 [inline]
submit_bio_noacct_nocheck+0x4d3/0xe30 block/blk-core.c:725
submit_bh fs/buffer.c:2824 [inline]
block_read_full_folio+0x93b/0xcd0 fs/buffer.c:2451
filemap_read_folio+0x14b/0x630 mm/filemap.c:2367
do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825
read_mapping_folio include/linux/pagemap.h:1011 [inline]
read_part_sector+0xb3/0x330 block/partitions/core.c:714
adfspart_check_ICS+0xd9/0x9a0 block/partitions/acorn.c:360
check_partition block/partitions/core.c:138 [inline]
blk_add_partitions block/partitions/core.c:581 [inline]
bdev_disk_changed+0x72c/0x13f0 block/partitions/core.c:685
blkdev_get_whole+0x2d2/0x450 block/bdev.c:707
bdev_open+0x2d4/0xc50 block/bdev.c:916
blkdev_open+0x3d9/0x560 block/fops.c:631
do_dentry_open+0x978/0x1460 fs/open.c:958
vfs_open+0x3e/0x330 fs/open.c:1088
do_open fs/namei.c:3774 [inline]
path_openat+0x2c84/0x3590 fs/namei.c:3933
do_filp_open+0x235/0x490 fs/namei.c:3960
do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
do_sys_open fs/open.c:1430 [inline]
__do_sys_openat fs/open.c:1446 [inline]
__se_sys_openat fs/open.c:1441 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1441
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:0x7f5ab5f169a4
RSP: 002b:00007ffc59be9030 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00005647202fe500 RCX: 00007f5ab5f169a4
RDX: 00000000000a0800 RSI: 000056472030be00 RDI: 00000000ffffff9c
RBP: 000056472030be00 R08: 0000000000000001 R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000056472030f9e0 R14: 0000000000000001 R15: 00005647202fe910
Showing all locks held in the system:
2 locks held by rcu_tasks_trace/15:
#0: ffffffff8e9383f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0xaed/0xe10 kernel/rcu/tasks.h:613
#1: ffff8880b863ead8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
1 lock held by khungtaskd/30:
#0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by getty/5606:
#0: ffff8880310040a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
3 locks held by udevd/5838:
#0: ffff888025d774c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xf0/0xc50 block/bdev.c:904
#1: ffff888024af4b10 (set->srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:151 [inline]
#1: ffff888024af4b10 (set->srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:250 [inline]
#1: ffff888024af4b10 (set->srcu){.+.+}-{0:0}, at: blk_mq_run_hw_queue+0x54d/0xae0 block/blk-mq.c:2243
#2: ffff888025e20180 (&cmd->lock){+.+.}-{3:3}, at: nbd_queue_rq+0xfe/0x2f30 drivers/block/nbd.c:1135
3 locks held by udevd/5856:
#0: ffff888025dcb4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xf0/0xc50 block/bdev.c:904
#1: ffff888025681090 (set->srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:151 [inline]
#1: ffff888025681090 (set->srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:250 [inline]
#1: ffff888025681090 (set->srcu){.+.+}-{0:0}, at: blk_mq_run_hw_queue+0x54d/0xae0 block/blk-mq.c:2243
#2: ffff888025e68180 (&cmd->lock){+.+.}-{3:3}, at: nbd_queue_rq+0xfe/0x2f30 drivers/block/nbd.c:1135
3 locks held by kworker/1:4/5889:
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90004267d00 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90004267d00 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8e93d280 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4562
3 locks held by kworker/u8:8/7382:
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc900034dfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900034dfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
1 lock held by syz-executor/10772:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
1 lock held by syz.3.1663/10831:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
3 locks held by syz.3.1663/10835:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
#1: ffffffff901ed278 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#1: ffffffff901ed278 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff901ed278 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:475
#2: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#2: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
2 locks held by syz.0.1664/10830:
#0: ffff88807a300208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline]
#0: ffff88807a300208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:657 [inline]
#0: ffff88807a300208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1426
#1: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#1: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
1 lock held by syz.2.1665/10836:
#0: ffff888078092c08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline]
#0: ffff888078092c08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:657 [inline]
#0: ffff888078092c08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1426
1 lock held by syz.2.1665/10837:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
2 locks held by syz.2.1665/10838:
#0: ffff8880613196c8 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x790 net/netlink/af_netlink.c:2405
#1: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x99/0x200 net/core/rtnetlink.c:6658
1 lock held by syz.2.1665/10840:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
1 lock held by syz.2.1665/10841:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
1 lock held by syz.2.1665/10842:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: do_ipv6_setsockopt+0x9e8/0x3640 net/ipv6/ipv6_sockglue.c:566
1 lock held by syz.2.1665/10843:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
1 lock held by syz.2.1665/10844:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
1 lock held by syz.2.1665/10845:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
2 locks held by syz.2.1665/10846:
#0: ffffffff8fcc7550 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:497
#1: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3885
1 lock held by syz.2.1665/10847:
#0: ffffffff8fcd4068 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x86e/0x1340 net/core/dev_ioctl.c:807
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc4-syzkaller-01012-g157a4881225b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/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 UID: 0 PID: 1154 Comm: kworker/u8:6 Not tainted 6.12.0-rc4-syzkaller-01012-g157a4881225b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker
RIP: 0010:fmul2 arch/x86/crypto/curve25519-x86_64.c:296 [inline]
RIP: 0010:point_add_and_double arch/x86/crypto/curve25519-x86_64.c:1006 [inline]
RIP: 0010:montgomery_ladder arch/x86/crypto/curve25519-x86_64.c:1098 [inline]
RIP: 0010:curve25519_ever64 arch/x86/crypto/curve25519-x86_64.c:1252 [inline]
RIP: 0010:curve25519_arch+0x2338/0x5710 arch/x86/crypto/curve25519-x86_64.c:1599
Code: f6 c7 48 0f af c2 49 01 c0 66 4c 0f 38 f6 cf 4d 89 4c 24 28 66 4c 0f 38 f6 d7 4d 89 54 24 30 66 4c 0f 38 f6 df 4d 89 5c 24 38 <48> c7 c0 00 00 00 00 48 0f 42 c2 49 01 c0 4d 89 44 24 20 48 8b 7c
RSP: 0018:ffffc90004a071c0 EFLAGS: 00000286
RAX: 0000000000000390 RBX: 0000000000000000 RCX: ffffc90004a072e0
RDX: 0000000000000026 RSI: ffffc90004a07440 RDI: 0000000000000000
RBP: ffffc90004a07590 R08: acd92a0a1170dfd4 R09: fcb255181ccd6a71
R10: f1c555d4ad86e55d R11: 12720f4c1338aaad R12: ffffc90004a07440
R13: 0000000000000023 R14: f0be4932a8102d73 R15: ffffc90004a073e0
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3b63ce CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
curve25519 include/crypto/curve25519.h:39 [inline]
mix_dh+0xc5/0x2e0 drivers/net/wireguard/noise.c:411
wg_noise_handshake_create_initiation+0x4ac/0xf30 drivers/net/wireguard/noise.c:550
wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:34 [inline]
wg_packet_handshake_send_worker+0x15b/0x330 drivers/net/wireguard/send.c:51
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244