INFO: task udevd:4696 blocked in I/O wait for more than 145 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:4696 tgid:4696 ppid:4340 task_flags:0x400140 flags:0x00800019 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5388 [inline] __schedule+0x1bec/0x2dcc kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0x140/0x218 kernel/sched/core.c:7283 io_schedule+0x1c/0xe0 kernel/sched/core.c:8110 folio_wait_bit_common+0x66c/0x9e4 mm/filemap.c:1324 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x240/0x5b8 mm/filemap.c:4089 read_cache_folio+0x68/0x84 mm/filemap.c:4139 read_mapping_folio include/linux/pagemap.h:1017 [inline] read_part_sector+0xcc/0x708 block/partitions/core.c:724 adfspart_check_POWERTEC+0x98/0x5ac block/partitions/acorn.c:450 check_partition block/partitions/core.c:143 [inline] blk_add_partitions block/partitions/core.c:591 [inline] bdev_disk_changed+0x6fc/0x11c8 block/partitions/core.c:695 blkdev_get_whole+0x15c/0x240 block/bdev.c:756 bdev_open+0x2d8/0x8cc block/bdev.c:965 blkdev_open+0x2d8/0x404 block/fops.c:697 do_dentry_open+0x5c4/0xfc8 fs/open.c:947 vfs_open+0x44/0x2d4 fs/open.c:1079 do_open fs/namei.c:4699 [inline] path_openat+0x2234/0x2a6c fs/namei.c:4858 do_file_open+0x1c4/0x2e4 fs/namei.c:4887 do_sys_openat2+0x114/0x1e8 fs/open.c:1364 do_sys_open+0xac/0xdc fs/open.c:1370 __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __arm64_sys_openat+0x9c/0xb8 fs/open.c:1381 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:740 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:759 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 INFO: task udevd:4699 blocked in I/O wait for more than 148 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:4699 tgid:4699 ppid:4340 task_flags:0x400140 flags:0x00800019 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5388 [inline] __schedule+0x1bec/0x2dcc kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0x140/0x218 kernel/sched/core.c:7283 io_schedule+0x1c/0xe0 kernel/sched/core.c:8110 folio_wait_bit_common+0x66c/0x9e4 mm/filemap.c:1324 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x240/0x5b8 mm/filemap.c:4089 read_cache_folio+0x68/0x84 mm/filemap.c:4139 read_mapping_folio include/linux/pagemap.h:1017 [inline] read_part_sector+0xcc/0x708 block/partitions/core.c:724 adfspart_check_POWERTEC+0x98/0x5ac block/partitions/acorn.c:450 check_partition block/partitions/core.c:143 [inline] blk_add_partitions block/partitions/core.c:591 [inline] bdev_disk_changed+0x6fc/0x11c8 block/partitions/core.c:695 blkdev_get_whole+0x15c/0x240 block/bdev.c:756 bdev_open+0x2d8/0x8cc block/bdev.c:965 blkdev_open+0x2d8/0x404 block/fops.c:697 do_dentry_open+0x5c4/0xfc8 fs/open.c:947 vfs_open+0x44/0x2d4 fs/open.c:1079 do_open fs/namei.c:4699 [inline] path_openat+0x2234/0x2a6c fs/namei.c:4858 do_file_open+0x1c4/0x2e4 fs/namei.c:4887 do_sys_openat2+0x114/0x1e8 fs/open.c:1364 do_sys_open+0xac/0xdc fs/open.c:1370 __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __arm64_sys_openat+0x9c/0xb8 fs/open.c:1381 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:740 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:759 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff800088b672a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffff800088b672a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffff800088b672a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:2/39: 2 locks held by pr/ttyAMA-1/41: 1 lock held by klogd/4328: 2 locks held by udevd/4340: 1 lock held by dhcpcd/4396: 2 locks held by getty/4488: #0: ffff0000cfb060a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009232e2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x354/0xf84 drivers/tty/n_tty.c:2211 1 lock held by udevd/4696: #0: ffff0000c87c2350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0x8cc block/bdev.c:953 1 lock held by udevd/4699: #0: ffff0000c87c4350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0x8cc block/bdev.c:953 1 lock held by syz-executor/4711: 4 locks held by kworker/u8:10/5025: 2 locks held by kworker/u8:21/5405: 4 locks held by kworker/0:5/5537: 1 lock held by dhcpcd/6211: 2 locks held by syz-executor/6712: 4 locks held by kworker/u8:24/6731: 2 locks held by kworker/u8:25/6732: 3 locks held by kworker/u8:27/6734: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x748/0x1098 kernel/workqueue.c:3397 #1: ffff800092fa7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff800092fa7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x750/0x1098 kernel/workqueue.c:3397 #2: ffff800089c3bb80 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:29/7039: 2 locks held by syz-executor/7567: 4 locks held by kworker/u8:35/8823: 3 locks held by kworker/u8:37/8825: 3 locks held by kworker/u8:38/8826: 5 locks held by kworker/u8:39/8828: 1 lock held by syz.5.1619/10547: 3 locks held by syz-executor/10563: =============================================