INFO: task udevd:5137 blocked for more than 430 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:5137 tgid:5137 ppid:3137 task_flags:0x400040 flags:0x00000011 Call trace: __switch_to+0x208/0x4f0 arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5260 [inline] __schedule+0xcfc/0x2fec kernel/sched/core.c:6867 __schedule_loop kernel/sched/core.c:6949 [inline] schedule+0xd0/0x344 kernel/sched/core.c:6964 io_schedule+0xac/0x114 kernel/sched/core.c:7791 folio_wait_bit_common+0x2a4/0x630 mm/filemap.c:1323 folio_put_wait_locked mm/filemap.c:1487 [inline] do_read_cache_folio+0x240/0x3f4 mm/filemap.c:4078 read_cache_folio+0x44/0x6c mm/filemap.c:4128 read_mapping_folio include/linux/pagemap.h:1017 [inline] read_part_sector+0xac/0x5f4 block/partitions/core.c:722 msdos_partition+0xe4/0x1f3c block/partitions/msdos.c:592 check_partition block/partitions/core.c:141 [inline] blk_add_partitions block/partitions/core.c:589 [inline] bdev_disk_changed+0x504/0xf08 block/partitions/core.c:693 blkdev_get_whole+0x144/0x1e4 block/bdev.c:765 bdev_open+0x1dc/0xa84 block/bdev.c:974 blkdev_open+0x270/0x3dc block/fops.c:698 do_dentry_open+0x3f4/0x10e4 fs/open.c:962 vfs_open+0x5c/0x2fc fs/open.c:1094 do_open fs/namei.c:4637 [inline] path_openat+0x17f0/0x28cc fs/namei.c:4796 do_filp_open+0x184/0x360 fs/namei.c:4823 do_sys_openat2+0xe0/0x188 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __arm64_sys_openat+0x12c/0x1bc fs/open.c:1447 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x2b0 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: 2 locks held by pr/ttyAMA-1/31: 1 lock held by khungtaskd/32: #0: ffff800087552ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x18/0x1c4 kernel/locking/lockdep.c:6769 3 locks held by kworker/u8:4/792: 1 lock held by syslogd/3122: 1 lock held by klogd/3126: 2 locks held by getty/3260: #0: ffff000018c2e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80008d8eb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e8/0xdd0 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:3/3412: #0: ffff00000dc31148 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3232 #1: ffff8000a1a17c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3232 1 lock held by udevd/5137: #0: ffff0000152bc358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x2c4/0xa84 block/bdev.c:962 3 locks held by kworker/u8:10/5662: 2 locks held by kworker/u8:11/5888: #0: ffff00000dc31148 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3232 #1: ffff80008e0e7c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3232 2 locks held by syz-executor/5970: 2 locks held by syz.6.657/6037: 1 lock held by modprobe/6039: 1 lock held by modprobe/6041: 1 lock held by dhcpcd-run-hook/6042: ============================================= INFO: task udevd:5137 blocked for more than 450 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:5137 tgid:5137 ppid:3137 task_flags:0x400040 flags:0x00000011 Call trace: __switch_to+0x208/0x4f0 arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5260 [inline] __schedule+0xcfc/0x2fec kernel/sched/core.c:6867 __schedule_loop kernel/sched/core.c:6949 [inline] schedule+0xd0/0x344 kernel/sched/core.c:6964 io_schedule+0xac/0x114 kernel/sched/core.c:7791 folio_wait_bit_common+0x2a4/0x630 mm/filemap.c:1323 folio_put_wait_locked mm/filemap.c:1487 [inline] do_read_cache_folio+0x240/0x3f4 mm/filemap.c:4078 read_cache_folio+0x44/0x6c mm/filemap.c:4128 read_mapping_folio include/linux/pagemap.h:1017 [inline] read_part_sector+0xac/0x5f4 block/partitions/core.c:722 msdos_partition+0xe4/0x1f3c block/partitions/msdos.c:592 check_partition block/partitions/core.c:141 [inline] blk_add_partitions block/partitions/core.c:589 [inline] bdev_disk_changed+0x504/0xf08 block/partitions/core.c:693 blkdev_get_whole+0x144/0x1e4 block/bdev.c:765 bdev_open+0x1dc/0xa84 block/bdev.c:974 blkdev_open+0x270/0x3dc block/fops.c:698 do_dentry_open+0x3f4/0x10e4 fs/open.c:962 vfs_open+0x5c/0x2fc fs/open.c:1094 do_open fs/namei.c:4637 [inline] path_openat+0x17f0/0x28cc fs/namei.c:4796 do_filp_open+0x184/0x360 fs/namei.c:4823 do_sys_openat2+0xe0/0x188 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __arm64_sys_openat+0x12c/0x1bc fs/open.c:1447 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x2b0 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: #0: ffff00000dc31948 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3232 #1: ffff80008d8e7c90 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3232 #2: ffff800088ba83c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x1c/0x28 net/core/rtnetlink.c:80 2 locks held by kworker/u8:1/26: #0: ffff00000dc31148 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3232 #1: ffff80008d9d7c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3232 2 locks held by pr/ttyAMA-1/31: 1 lock held by khungtaskd/32: #0: ffff800087552ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x18/0x1c4 kernel/locking/lockdep.c:6769 2 locks held by getty/3260: #0: ffff000018c2e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80008d8eb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e8/0xdd0 drivers/tty/n_tty.c:2211 5 locks held by kworker/u8:3/3412: 3 locks held by kworker/u8:6/4066: #0: ffff00001344e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6f8/0x18d4 kernel/workqueue.c:3232 #1: ffff8000a08a7c90 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x71c/0x18d4 kernel/workqueue.c:3232 #2: ffff800088ba83c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x1c/0x28 net/core/rtnetlink.c:80 1 lock held by udevd/5137: #0: ffff0000152bc358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x2c4/0xa84 block/bdev.c:962 3 locks held by kworker/u8:10/5662: 4 locks held by modprobe/6051: =============================================