INFO: task udevd:14478 blocked for more than 143 seconds.
Not tainted 6.13.0-rc2-syzkaller-00457-gd3c9510dc900 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:22064 pid:14478 tgid:14478 ppid:1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x1850/0x4c30 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99
wait_for_reconnect drivers/block/nbd.c:1043 [inline]
nbd_handle_cmd drivers/block/nbd.c:1085 [inline]
nbd_queue_rq+0x7d9/0x2ef0 drivers/block/nbd.c:1143
blk_mq_dispatch_rq_list+0xad3/0x19d0 block/blk-mq.c:2120
__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+0xd6/0x190 block/blk-mq-sched.c:331
blk_mq_run_hw_queue+0x354/0x500 block/blk-mq.c:2354
blk_mq_flush_plug_list+0x118e/0x1870 block/blk-mq.c:2915
__blk_flush_plug+0x420/0x500 block/blk-core.c:1213
blk_finish_plug block/blk-core.c:1240 [inline]
__submit_bio+0x46a/0x560 block/blk-core.c:637
__submit_bio_noacct_mq block/blk-core.c:710 [inline]
submit_bio_noacct_nocheck+0x4d3/0xe30 block/blk-core.c:739
submit_bh fs/buffer.c:2819 [inline]
block_read_full_folio+0x9b3/0xae0 fs/buffer.c:2446
filemap_read_folio+0x148/0x3b0 mm/filemap.c:2366
do_read_cache_folio+0x373/0x5b0 mm/filemap.c:3826
read_mapping_folio include/linux/pagemap.h:1011 [inline]
read_part_sector+0xb3/0x260 block/partitions/core.c:722
adfspart_check_ICS+0xd9/0x9a0 block/partitions/acorn.c:360
check_partition block/partitions/core.c:141 [inline]
blk_add_partitions block/partitions/core.c:589 [inline]
bdev_disk_changed+0x72c/0x13f0 block/partitions/core.c:693
blkdev_get_whole+0x2d2/0x450 block/bdev.c:707
bdev_open+0x2d4/0xc50 block/bdev.c:916
blkdev_open+0x389/0x4f0 block/fops.c:627
do_dentry_open+0xbe1/0x1b70 fs/open.c:945
vfs_open+0x3e/0x330 fs/open.c:1075
do_open fs/namei.c:3828 [inline]
path_openat+0x2c84/0x3590 fs/namei.c:3987
do_filp_open+0x27f/0x4e0 fs/namei.c:4014
do_sys_openat2+0x13e/0x1d0 fs/open.c:1402
do_sys_open fs/open.c:1417 [inline]
__do_sys_openat fs/open.c:1433 [inline]
__se_sys_openat fs/open.c:1428 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1428
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:0x7fa2281169a4
RSP: 002b:00007ffdfc775070 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000562fc7c00930 RCX: 00007fa2281169a4
RDX: 00000000000a0800 RSI: 0000562fc7bbb690 RDI: 00000000ffffff9c
RBP: 0000562fc7bbb690 R08: 00000000ffffffff R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000562fc7bb08a0 R14: 0000000000000001 R15: 0000562fc7ba7910
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
2 locks held by getty/5586:
#0: ffff888030c460a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
3 locks held by udevd/14478:
#0:
ffff8880256f34c8
(
&disk->open_mutex
){+.+.}-{4:4}, at: bdev_open+0xf0/0xc50 block/bdev.c:904
#1: ffff888025624690 (set->srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#1: ffff888025624690 (set->srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#1: ffff888025624690 (set->srcu){.+.+}-{0:0}, at: blk_mq_run_hw_queue+0x32b/0x500 block/blk-mq.c:2354
#2: ffff8880257b51f8 (&cmd->lock){+.+.}-{4:4}, at: nbd_queue_rq+0xfe/0x2ef0 drivers/block/nbd.c:1135
3 locks held by udevd/14836:
#0: ffff88802569d4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xf0/0xc50 block/bdev.c:904
#1: ffff888025270290 (set->srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#1: ffff888025270290 (set->srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#1: ffff888025270290 (set->srcu){.+.+}-{0:0}, at: blk_mq_run_hw_queue+0x32b/0x500 block/blk-mq.c:2354
#2: ffff888025c4e178 (&cmd->lock){+.+.}-{4:4}, at: nbd_queue_rq+0xfe/0x2ef0 drivers/block/nbd.c:1135
2 locks held by syz.7.4846/20764:
#0: ffff8880811c1408 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#0: ffff8880811c1408 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release net/socket.c:639 [inline]
#0: ffff8880811c1408 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1419
#1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
4 locks held by syz.7.4846/20766:
2 locks held by syz.6.4850/20772:
#0: ffffffff8fcb1f48 (rtnl_mutex){+.+.}-{4:4}, at: ppp_release+0x87/0x1f0 drivers/net/ppp/ppp_generic.c:408
#1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc2-syzkaller-00457-gd3c9510dc900 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/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:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
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: 20766 Comm: syz.7.4846 Not tainted 6.13.0-rc2-syzkaller-00457-gd3c9510dc900 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
RIP: 0010:rcu_core+0x9e2/0x17a0 kernel/rcu/tree.c:2823
Code: 48 8b 44 24 10 48 05 68 01 00 00 48 89 84 24 80 00 00 00 b8 01 00 00 00 48 c7 c1 90 3f 1a 90 48 c1 e9 03 48 89 4c 24 48 eb 24 <48> 83 7c 24 18 00 0f 85 2c 03 00 00 4c 89 e7 e8 ca 4b 00 00 49 89
RSP: 0018:ffffc90000007be0 EFLAGS: 00000293
RAX: 0000000000000101 RBX: 1ffff11004e37b73 RCX: ffffc90000007b03
RDX: 0000000000000001 RSI: ffffffff8c0aa960 RDI: ffffffff8c5f9780
RBP: ffffc90000007e10 R08: ffffffff901a0cf7 R09: 1ffffffff203419e
R10: dffffc0000000000 R11: fffffbfff203419f R12: ffffc90000007d20
R13: dffffc0000000000 R14: 0000000000000008 R15: ffff8880271bdb90
FS: 00007f6b7e6046c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c33fc3f CR3: 0000000078338000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline]
RIP: 0010:vprintk_emit+0x700/0xa10 kernel/printk/printk.c:2431
Code: 00 e8 b4 f3 20 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 a2 f3 20 00 eb 06 e8 9b f3 20 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 a0 34 81 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc9000cf2f4c0 EFLAGS: 00000246
RAX: ffffffff817e6aa5 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc900049a5000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc9000cf2f5d0 R08: ffffffff817e6a7e R09: 1ffffffff2856935
R10: dffffc0000000000 R11: fffffbfff2856936 R12: dffffc0000000000
R13: 1ffff920019e5e9c R14: ffffffff817e68e0 R15: ffffc9000cf2f560
_printk+0xd5/0x120 kernel/printk/printk.c:2457
show_free_areas mm/show_mem.c:380 [inline]
__show_mem+0x1d97/0x2470 mm/show_mem.c:405
warn_alloc_show_mem mm/page_alloc.c:3524 [inline]
warn_alloc+0x354/0x410 mm/page_alloc.c:3549
__vmalloc_node_range_noprof+0x126/0x1380 mm/vmalloc.c:3780
vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3998
xskq_create+0xb6/0x170 net/xdp/xsk_queue.c:49
xsk_init_queue+0xa1/0x100 net/xdp/xsk.c:1018
xsk_setsockopt+0x4ea/0x950 net/xdp/xsk.c:1421
do_sock_setsockopt+0x3af/0x720 net/socket.c:2324
__sys_setsockopt net/socket.c:2349 [inline]
__do_sys_setsockopt net/socket.c:2355 [inline]
__se_sys_setsockopt net/socket.c:2352 [inline]
__x64_sys_setsockopt+0x1ee/0x280 net/socket.c:2352
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:0x7f6b7d785d29
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:00007f6b7e604038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f6b7d975fa0 RCX: 00007f6b7d785d29
RDX: 0000000000000006 RSI: 000000000000011b RDI: 0000000000000006
RBP: 00007f6b7d801a20 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6b7d975fa0 R15: 00007fff701a4978