INFO: task udevd:5958 blocked for more than 143 seconds.
Not tainted 6.13.0-rc7-syzkaller-00019-gc45323b7560e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:24736 pid:5958 tgid:5958 ppid:1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0xe58/0x5ad0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6848
schedule_timeout+0x124/0x280 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+0xcbc/0x1220 drivers/block/nbd.c:1143
blk_mq_dispatch_rq_list+0x443/0x1dc0 block/blk-mq.c:2118
__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+0xcdf/0x1620 block/blk-mq-sched.c:309
blk_mq_sched_dispatch_requests+0xd8/0x1b0 block/blk-mq-sched.c:331
blk_mq_run_hw_queue+0x239/0x670 block/blk-mq.c:2352
blk_mq_dispatch_plug_list block/blk-mq.c:2862 [inline]
blk_mq_flush_plug_list+0x673/0x1c60 block/blk-mq.c:2913
__blk_flush_plug+0x2c5/0x4b0 block/blk-core.c:1213
blk_finish_plug block/blk-core.c:1240 [inline]
blk_finish_plug block/blk-core.c:1237 [inline]
__submit_bio+0x439/0x540 block/blk-core.c:637
__submit_bio_noacct_mq block/blk-core.c:710 [inline]
submit_bio_noacct_nocheck+0x698/0xd70 block/blk-core.c:739
submit_bio_noacct+0x93a/0x1e20 block/blk-core.c:868
submit_bh fs/buffer.c:2819 [inline]
block_read_full_folio+0x812/0xa50 fs/buffer.c:2446
filemap_read_folio+0xc6/0x2a0 mm/filemap.c:2357
do_read_cache_folio+0x263/0x5c0 mm/filemap.c:3817
read_mapping_folio include/linux/pagemap.h:1011 [inline]
read_part_sector+0xd4/0x310 block/partitions/core.c:722
adfspart_check_ICS+0x94/0x940 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+0x71f/0x1520 block/partitions/core.c:693
blkdev_get_whole+0x187/0x290 block/bdev.c:706
bdev_open+0x2c7/0xe20 block/bdev.c:915
blkdev_open+0x329/0x400 block/fops.c:627
do_dentry_open+0xf59/0x1ea0 fs/open.c:945
vfs_open+0x82/0x3f0 fs/open.c:1075
do_open fs/namei.c:3828 [inline]
path_openat+0x1e6a/0x2d60 fs/namei.c:3987
do_filp_open+0x20c/0x470 fs/namei.c:4014
do_sys_openat2+0x17a/0x1e0 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+0x175/0x210 fs/open.c:1428
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5d4c9169a4
RSP: 002b:00007ffd796ee8d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055dc7d29ef60 RCX: 00007f5d4c9169a4
RDX: 00000000000a0800 RSI: 000055dc7d291c30 RDI: 00000000ffffff9c
RBP: 000055dc7d291c30 R08: 0000000000000001 R09: 00007f5d4ce17000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055dc7d280f50 R14: 0000000000000001 R15: 000055dc7d2572c0
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744
3 locks held by kworker/u8:8/3510:
#0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc9000d3dfd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:285
1 lock held by dhcpcd/5484:
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_deladdr+0x15e/0x7c0 net/ipv4/devinet.c:679
2 locks held by getty/5575:
#0: ffff88814dab60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211
3 locks held by udevd/5806:
#0: ffff888025de34c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe20 block/bdev.c:903
#1: ffff888023732490 (set->srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#1: ffff888023732490 (set->srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#1: ffff888023732490 (set->srcu){.+.+}-{0:0}, at: blk_mq_run_hw_queue+0x22b/0x670 block/blk-mq.c:2352
#2: ffff888025e60178 (&cmd->lock){+.+.}-{4:4}, at: nbd_queue_rq+0xbe/0x1220 drivers/block/nbd.c:1135
3 locks held by kworker/0:4/5863:
#0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900043afd80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
3 locks held by kworker/0:5/5898:
#0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900037a7d80 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff9036d008 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x1b/0x160 net/rfkill/core.c:182
3 locks held by udevd/5958:
#0: ffff888143b0e4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe20 block/bdev.c:903
#1: ffff888025b60c10 (set->srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#1: ffff888025b60c10 (set->srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#1: ffff888025b60c10 (set->srcu){.+.+}-{0:0}, at: blk_mq_run_hw_queue+0x22b/0x670 block/blk-mq.c:2352
#2: ffff888025e451f8 (&cmd->lock){+.+.}-{4:4}, at: nbd_queue_rq+0xbe/0x1220 drivers/block/nbd.c:1135
3 locks held by kworker/u8:9/5968:
#0: ffff8880b863ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:606 [inline]
#0: ffff8880b863ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:591
#1: ffffc90003617d80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffff8880b862a898 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1050
1 lock held by syz.4.556/7812:
#0: ffffffff8e1c7100 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x48/0x700 kernel/rcu/tree.c:4565
2 locks held by syz.4.556/7815:
#0: ffffffff9036d008 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x168/0x570 net/rfkill/core.c:1293
#1: ffff88802f128d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_poweroff net/bluetooth/hci_core.c:874 [inline]
#1: ffff88802f128d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_rfkill_set_block+0x1a7/0x360 net/bluetooth/hci_core.c:901
2 locks held by syz.2.559/7827:
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dellink+0x281/0xaa0 net/core/rtnetlink.c:3510
#1: ffffffff8e1c7238 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297
1 lock held by syz.3.551/7833:
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1015 [inline]
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: wext_ioctl_dispatch net/wireless/wext-core.c:1004 [inline]
#0: ffffffff8fedd408 (rtnl_mutex){+.+.}-{4:4}, at: wext_handle_ioctl+0x214/0x2b0 net/wireless/wext-core.c:1077
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00019-gc45323b7560e #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+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf14/0x1240 kernel/hung_task.c:397
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/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: 68 Comm: kworker/u8:4 Not tainted 6.13.0-rc7-syzkaller-00019-gc45323b7560e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound kfree_rcu_work
RIP: 0010:__sanitizer_cov_trace_pc+0x66/0x70 kernel/kcov.c:235
Code: 82 f8 15 00 00 83 f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 00 00 48 8b 01 48 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000214faa8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888051ad0800 RCX: 0000000000000000
RDX: ffff88801cfca440 RSI: ffffffff814aeac8 RDI: ffff888051ad0800
RBP: 0000000080000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000035 R12: 0000000000000000
R13: ffff8880202d8028 R14: ffffea000146b400 R15: 0000000000000030
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd4a4f8f40 CR3: 0000000050518000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__phys_addr+0x18/0x150 arch/x86/mm/physaddr.c:17
virt_to_folio include/linux/mm.h:1295 [inline]
virt_to_slab mm/slab.h:211 [inline]
build_detached_freelist mm/slub.c:4945 [inline]
kmem_cache_free_bulk.part.0+0x14f/0x7f0 mm/slub.c:4997
kfree_bulk include/linux/slab.h:790 [inline]
kvfree_rcu_bulk+0x454/0x550 kernel/rcu/tree.c:3385
kfree_rcu_work+0x2f2/0x5a0 kernel/rcu/tree.c:3464
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244