INFO: task udevd:3535 blocked in I/O wait for more than 430 seconds. Tainted: G W syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:3535 tgid:3535 ppid:3197 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x20c/0x520 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5520 [inline] __schedule+0xf98/0x34f4 kernel/sched/core.c:7270 __schedule_loop kernel/sched/core.c:7347 [inline] schedule+0xcc/0x288 kernel/sched/core.c:7362 io_schedule+0xac/0x120 kernel/sched/core.c:8190 folio_wait_bit_common+0x2a0/0x660 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1498 [inline] do_read_cache_folio+0x238/0x3ec mm/filemap.c:4138 read_cache_folio+0x44/0x74 mm/filemap.c:4188 read_mapping_folio include/linux/pagemap.h:1015 [inline] read_part_sector+0xa4/0x5d8 block/partitions/core.c:724 msdos_partition+0xec/0x1d5c block/partitions/msdos.c:571 check_partition block/partitions/core.c:143 [inline] blk_add_partitions block/partitions/core.c:591 [inline] bdev_disk_changed+0x4e8/0xe90 block/partitions/core.c:695 blkdev_get_whole+0x144/0x1f0 block/bdev.c:793 bdev_open+0x1d4/0xa70 block/bdev.c:1002 blkdev_open+0x270/0x3f8 block/fops.c:674 do_dentry_open+0x37c/0xfe8 fs/open.c:996 vfs_open+0x5c/0x300 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x12d4/0x1e40 fs/namei.c:5000 do_file_open+0x18c/0x380 fs/namei.c:5029 do_sys_openat2+0xdc/0x180 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __arm64_sys_openat+0x134/0x1e0 fs/open.c:1434 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x74/0x240 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:121 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x58/0x2a4 arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:777 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590 INFO: task udevd:3609 blocked in I/O wait for more than 430 seconds. Tainted: G W syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:3609 tgid:3609 ppid:3197 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x20c/0x520 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5520 [inline] __schedule+0xf98/0x34f4 kernel/sched/core.c:7270 __schedule_loop kernel/sched/core.c:7347 [inline] schedule+0xcc/0x288 kernel/sched/core.c:7362 io_schedule+0xac/0x120 kernel/sched/core.c:8190 folio_wait_bit_common+0x2a0/0x660 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1498 [inline] do_read_cache_folio+0x238/0x3ec mm/filemap.c:4138 read_cache_folio+0x44/0x74 mm/filemap.c:4188 read_mapping_folio include/linux/pagemap.h:1015 [inline] read_part_sector+0xa4/0x5d8 block/partitions/core.c:724 msdos_partition+0xec/0x1d5c block/partitions/msdos.c:571 check_partition block/partitions/core.c:143 [inline] blk_add_partitions block/partitions/core.c:591 [inline] bdev_disk_changed+0x4e8/0xe90 block/partitions/core.c:695 blkdev_get_whole+0x144/0x1f0 block/bdev.c:793 bdev_open+0x1d4/0xa70 block/bdev.c:1002 blkdev_open+0x270/0x3f8 block/fops.c:674 do_dentry_open+0x37c/0xfe8 fs/open.c:996 vfs_open+0x5c/0x300 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x12d4/0x1e40 fs/namei.c:5000 do_file_open+0x18c/0x380 fs/namei.c:5029 do_sys_openat2+0xdc/0x180 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __arm64_sys_openat+0x134/0x1e0 fs/open.c:1434 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x74/0x240 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:121 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x58/0x2a4 arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0xa0/0xe4 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 kworker/0:1/10: 2, last CPU#0: #0: ffff000012db5d40 ((wq_completion)wg-crypt-wg0#2){+.+.}-{0:0}, at: process_one_work+0x12ec/0x1c00 kernel/workqueue.c:3362 #1: ffff00006bf791a0 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x60/0x81c kernel/sched/psi.c:933 locks held by khungtaskd/32: 1, last CPU#1: #0: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:847 [inline] #0: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x40/0x190 kernel/locking/lockdep.c:6793 locks held by udevd/3197: 1, last CPU#1: #0: ffff00000e668180 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x6c/0x50c fs/kernfs/dir.c:1217 locks held by getty/3323: 2, on CPU#0: #0: ffff0000105be0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80008dcab2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x420/0xec0 drivers/tty/n_tty.c:2211 locks held by sshd-session/3377: 4, last CPU#1: #0: ffff000018beea60 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] #0: ffff000018beea60 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x28/0x60 net/ipv4/tcp.c:1450 #1: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:847 [inline] #1: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x54/0x1810 net/ipv4/ip_output.c:476 #2: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:847 [inline] #2: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa4/0x528 net/ipv4/ip_output.c:432 #3: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:847 [inline] #3: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3b8/0x2014 net/ipv4/ip_output.c:229 locks held by syz-executor/3378: 2, last CPU#1: #0: ffff000015ae9978 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:600 [inline] #0: ffff000015ae9978 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x108/0xa84 mm/mmap.c:1299 #1: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:847 [inline] #1: ffff8000879d1660 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x28/0x208 mm/pgtable-generic.c:290 locks held by udevd/3535: 1, on CPU#0: #0: ffff000015033350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x2b8/0xa70 block/bdev.c:990 locks held by udevd/3609: 1, on CPU#0: #0: ffff000015031350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x2b8/0xa70 block/bdev.c:990 locks held by udevd/3673: 1, last CPU#1: #0: ffff800087df5c38 (tomoyo_ss){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:304 [inline] #0: ffff800087df5c38 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1112 [inline] #0: ffff800087df5c38 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_path_number_perm+0x1d8/0x478 security/tomoyo/file.c:727 locks held by kworker/u8:18/4510: 2, on CPU#0: #0: ffff00000e04c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12ec/0x1c00 kernel/workqueue.c:3362 #1: ffff8000a0fc7c70 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x780/0x1c00 kernel/workqueue.c:3361 locks held by kworker/u8:19/4513: 2, on CPU#1: #0: ffff00000e04c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12ec/0x1c00 kernel/workqueue.c:3362 #1: ffff8000a0f27c70 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x780/0x1c00 kernel/workqueue.c:3361 locks held by kworker/0:2/4640: 2, last CPU#0: #0: ffff0000185a3d40 ((wq_completion)wg-crypt-wg1#2){+.+.}-{0:0}, at: process_one_work+0x12ec/0x1c00 kernel/workqueue.c:3362 #1: ffff80008edd7c70 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x780/0x1c00 kernel/workqueue.c:3361 locks held by syz.2.378/4926: 1, last CPU#1: #0: ffff000015aeba78 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock include/linux/mmap_lock.h:544 [inline] #0: ffff000015aeba78 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x1c0/0xa84 mm/mmap.c:1323 locks held by modprobe/4928: 2, last CPU#1: #0: ffff000015aec578 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock include/linux/mmap_lock.h:544 [inline] #0: ffff000015aec578 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x1c0/0xa84 mm/mmap.c:1323 #1: ffff00001f6b5bc8 (vm_lock){++++}-{0:0}, at: __vma_start_write+0xfc/0x1e0 mm/mmap_lock.c:148 locks held by modprobe/4931: 1, last CPU#0: #0: ffff000015aef178 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:562 [inline] #0: ffff000015aef178 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x17c/0x348 mm/util.c:579 =============================================