INFO: task udevd:6996 blocked for more than 143 seconds. Not tainted 6.1.148-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:6996 ppid:3936 flags:0x0000000d Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 io_schedule+0x84/0x154 kernel/sched/core.c:8797 folio_wait_bit_common+0x56c/0x9c4 mm/filemap.c:1324 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0xa8/0x544 mm/filemap.c:3609 read_cache_folio+0x68/0x88 mm/filemap.c:3659 read_mapping_folio include/linux/pagemap.h:797 [inline] read_part_sector+0xdc/0x2b8 block/partitions/core.c:724 adfspart_check_POWERTEC+0xb0/0x6b0 block/partitions/acorn.c:454 check_partition block/partitions/core.c:146 [inline] blk_add_partitions block/partitions/core.c:609 [inline] bdev_disk_changed+0x6c4/0x116c block/partitions/core.c:695 blkdev_get_whole+0x29c/0x348 block/bdev.c:687 blkdev_get_by_dev+0x28c/0x8cc block/bdev.c:824 blkdev_open+0x108/0x298 block/fops.c:500 do_dentry_open+0x730/0xfa8 fs/open.c:882 vfs_open+0x7c/0x90 fs/open.c:1013 do_open fs/namei.c:3626 [inline] path_openat+0x1f48/0x2680 fs/namei.c:3783 do_filp_open+0x174/0x344 fs/namei.c:3810 do_sys_openat2+0x128/0x3d8 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1345 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015287770 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015287f90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015286e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 3 locks held by kworker/u4:3/229: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001cf27c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 5 locks held by kworker/u4:4/472: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021217c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017713610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff0000fd66f2f8 (&devlink->lock_key#8){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xfc/0x2a8 net/devlink/leftover.c:12500 #4: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/1:3/3898: #0: ffff0000d64aa138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800024b57c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by dhcpcd/3991: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by getty/4079: #0: ffff0000d6cd3098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000207eb2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 2 locks held by kworker/u4:12/4769: #0: ffff00019f703198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #0: ffff00019f703198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] #0: ffff00019f703198 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1645 [inline] #0: ffff00019f703198 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2b8/0x1b18 kernel/sched/core.c:6477 #1: ffff00019f6efbc8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2ec/0x608 kernel/sched/psi.c:987 3 locks held by kworker/0:13/5171: #0: ffff0000d64aa138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021bb7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by udevd/6996: #0: ffff0000ceeee4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x118/0x8cc block/bdev.c:815 1 lock held by syz-executor/13902: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/13916: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/13921: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz.7.3550/14266: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.3552/14284: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz.6.3552/14285: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz.6.3552/14286: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.3552/14287: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.3552/14288: #0: ffff80001771fc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 =============================================