INFO: task udevd:4135 blocked for more than 143 seconds. Not tainted 5.15.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack: 0 pid: 4135 ppid: 3642 flags:0x0000000c Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xe00/0x1c0c kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 io_schedule+0x84/0x160 kernel/sched/core.c:8484 wait_on_page_bit_common+0x61c/0xa74 mm/filemap.c:1356 wait_on_page_bit mm/filemap.c:1417 [inline] wait_on_page_locked include/linux/pagemap.h:688 [inline] wait_on_page_read mm/filemap.c:3437 [inline] do_read_cache_page+0x748/0x8f8 mm/filemap.c:3480 read_cache_page+0x68/0x88 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0xe8/0x4c4 block/partitions/core.c:731 adfspart_check_ICS+0xbc/0x560 block/partitions/acorn.c:360 check_partition block/partitions/core.c:148 [inline] blk_add_partitions block/partitions/core.c:616 [inline] bdev_disk_changed+0x7fc/0x1378 block/partitions/core.c:702 blkdev_get_whole+0x2a4/0x344 block/bdev.c:682 blkdev_get_by_dev+0x224/0x874 block/bdev.c:827 blkdev_open+0x108/0x27c block/fops.c:466 do_dentry_open+0x760/0xebc fs/open.c:826 vfs_open+0x7c/0x90 fs/open.c:956 do_open fs/namei.c:3608 [inline] path_openat+0x1f80/0x26e4 fs/namei.c:3742 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 INFO: task syz.1.42:4300 blocked for more than 143 seconds. Not tainted 5.15.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.42 state:D stack: 0 pid: 4300 ppid: 4033 flags:0x0000000d Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xe00/0x1c0c kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6518 __mutex_lock_common+0xa9c/0x1edc kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 blkdev_put+0xdc/0x6ac block/bdev.c:915 blkdev_close+0x74/0xb0 block/fops.c:478 __fput+0x1c0/0x7f8 fs/file_table.c:311 ____fput+0x20/0x30 fs/file_table.c:339 task_work_run+0x12c/0x1e0 kernel/task_work.c:188 get_signal+0x1240/0x1340 kernel/signal.c:2672 do_signal arch/arm64/kernel/signal.c:893 [inline] do_notify_resume+0x35c/0x3128 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xf0/0x1e0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff8000143211e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by kworker/u4:4/553: 1 lock held by udevd/3642: #0: ffff0000d9687268 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000d9687268 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 2 locks held by getty/3795: #0: ffff0000d3454098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001b7802e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 2 locks held by udevd/4016: #0: ffff0000d5086460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000d9687268 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline] #1: ffff0000d9687268 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x600 fs/namei.c:4331 2 locks held by udevd/4018: #0: ffff0000d5086460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000d508cd18 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000d508cd18 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000d508cd18 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by udevd/4134: #0: ffff0000cc357118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xdc/0x6ac block/bdev.c:915 #1: ffff0000cc475468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa4/0x978 drivers/block/loop.c:1366 1 lock held by udevd/4135: #0: ffff0000cc614118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x874 block/bdev.c:820 1 lock held by syz.1.42/4300: #0: ffff0000cc614118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xdc/0x6ac block/bdev.c:915 3 locks held by kworker/u4:12/4764: 1 lock held by syz.3.419/6401: #0: ffff0000cc614118 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x150/0x280 block/bdev.c:1053 2 locks held by kworker/1:15/7048: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x678/0x1140 kernel/workqueue.c:2283 #1: ffff80001fcf7c00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6b8/0x1140 kernel/workqueue.c:2285 1 lock held by syz.5.633/7291: #0: ffff0000cc357118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x874 block/bdev.c:820 =============================================