INFO: task udevd:4723 blocked in I/O wait for more than 143 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:4723 tgid:4723 ppid:4343 task_flags:0x400140 flags:0x00800011 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5526 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7277 __schedule_loop kernel/sched/core.c:7354 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7369 io_schedule+0x1c/0xe0 kernel/sched/core.c:8213 folio_wait_bit_common+0x6b8/0xa30 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1498 [inline] do_read_cache_folio+0x23c/0x5a8 mm/filemap.c:4138 read_cache_folio+0x68/0x88 mm/filemap.c:4188 read_mapping_folio include/linux/pagemap.h:1015 [inline] read_part_sector+0xcc/0x708 block/partitions/core.c:724 adfspart_check_POWERTEC+0x94/0x5b8 block/partitions/acorn.c:451 check_partition block/partitions/core.c:143 [inline] blk_add_partitions block/partitions/core.c:591 [inline] bdev_disk_changed+0x6e4/0x1224 block/partitions/core.c:695 blkdev_get_whole+0x15c/0x240 block/bdev.c:793 bdev_open+0x2b4/0x880 block/bdev.c:1002 blkdev_open+0x2d4/0x408 block/fops.c:674 do_dentry_open+0x5c4/0xfc0 fs/open.c:996 vfs_open+0x44/0x2dc fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x1084/0x18f4 fs/namei.c:5000 do_file_open+0x1c8/0x2e8 fs/namei.c:5029 do_sys_openat2+0x114/0x1e8 fs/open.c:1417 do_sys_open+0xb0/0xe0 fs/open.c:1423 __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1434 __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+0x64/0x260 arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:777 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590 Showing all locks held in the system: locks held by khungtaskd/31: 1, last CPU#0: #0: ffff800088d82260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800088d82260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800088d82260 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871 locks held by pr/ttyAMA-1/41: 2, last CPU#1: #0: ffff800088c5f358 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:314 [inline] #0: ffff800088c5f358 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:439 [inline] #0: ffff800088c5f358 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x4c/0x68 kernel/printk/printk.c:291 #1: ffff0000c2ea7098 (&port_lock_key){....}-{3:3}, at: __uart_port_lock_irqsave include/linux/serial_core.h:613 [inline] #1: ffff0000c2ea7098 (&port_lock_key){....}-{3:3}, at: pl011_console_device_lock+0x90/0xe4 drivers/tty/serial/amba-pl011.c:2715 locks held by getty/4491: 2, on CPU#0: #0: ffff0000d0ca30a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009257e2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf78 drivers/tty/n_tty.c:2211 locks held by udevd/4702: 1, last CPU#1: #0: ffff800088ea3130 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffff800088ea3130 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x48/0x64 include/linux/srcu.h:305 locks held by udevd/4723: 1, on CPU#0: #0: ffff0000c75c3350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xc4/0x880 block/bdev.c:990 locks held by kworker/1:6/4833: 3, last CPU#1: #0: ffff0000c0029940 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c0029940 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800096f77c40 ((work_completion)(&(&ssp->srcu_sup->work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800096f77c40 ((work_completion)(&(&ssp->srcu_sup->work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000c1dcb948 (&ssp->srcu_sup->srcu_gp_mutex){+.+.}-{4:4}, at: srcu_advance_state kernel/rcu/srcutree.c:1794 [inline] #2: ffff0000c1dcb948 (&ssp->srcu_sup->srcu_gp_mutex){+.+.}-{4:4}, at: process_srcu+0x7c/0x1eb8 kernel/rcu/srcutree.c:1954 locks held by kworker/u8:14/9448: 2, last CPU#1: #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: ffff800093d67c40 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800093d67c40 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by kworker/u8:31/9467: 4, last CPU#0: #0: ffff0000d3f4a940 ((wq_completion)wg-kex-wg2#11){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000d3f4a940 ((wq_completion)wg-kex-wg2#11){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000944f7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000944f7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d59e1440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d7db34b8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 locks held by syz.6.2309/12931: 1, on CPU#1: #0: ffff0000c75c3350 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x214/0x3d4 block/bdev.c:1369 locks held by syz.6.2309/12937: 1, on CPU#0: #0: ffff0000c75c3350 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x214/0x3d4 block/bdev.c:1369 locks held by syz.3.2425/13295: 1, last CPU#1: #0: ffff0000f5a46bf0 (&u->iolock){+.+.}-{4:4}, at: __unix_dgram_recvmsg+0x18c/0x85c net/unix/af_unix.c:2587 locks held by syz-executor/13321: 4, last CPU#0: #0: ffff800089e7e228 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x438/0x698 net/core/net_namespace.c:578 #1: ffff800089bd9808 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x18c/0x2bc drivers/infiniband/core/device.c:1221 #2: ffff800089bd99c8 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1c8/0x2bc drivers/infiniband/core/device.c:1226 #3: ffff0000f6f25030 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x534 drivers/infiniband/core/device.c:976 =============================================