INFO: task udevd:4111 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack: 0 pid: 4111 ppid: 3659 flags:0x0000000c Call trace: __switch_to+0x2f4/0x540 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe20/0x1c6c kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 io_schedule+0x84/0x160 kernel/sched/core.c:8503 wait_on_page_bit_common+0x658/0xab4 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+0x738/0x8e8 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/0x4b8 block/partitions/core.c:726 adfspart_check_ICS+0xb4/0x5b0 block/partitions/acorn.c:360 check_partition block/partitions/core.c:148 [inline] blk_add_partitions block/partitions/core.c:611 [inline] bdev_disk_changed+0x814/0x1388 block/partitions/core.c:697 blkdev_get_whole+0x2a4/0x344 block/bdev.c:678 blkdev_get_by_dev+0x230/0x86c block/bdev.c:823 blkdev_open+0x108/0x284 block/fops.c:466 do_dentry_open+0x754/0xea4 fs/open.c:826 vfs_open+0x7c/0x90 fs/open.c:958 do_open fs/namei.c:3659 [inline] path_openat+0x1ff8/0x2808 fs/namei.c:3793 do_filp_open+0x188/0x370 fs/namei.c:3820 do_sys_openat2+0x134/0x3fc fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __arm64_sys_openat+0x11c/0x150 fs/open.c:1282 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x28c arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x5c/0x140 arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d4 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-executor.0:4398 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack: 0 pid: 4398 ppid: 4253 flags:0x00000005 Call trace: __switch_to+0x2f4/0x540 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe20/0x1c6c kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6537 __mutex_lock_common+0xae0/0x1ea4 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/0x6c4 block/bdev.c:911 blkdev_close+0x74/0xb0 block/fops.c:478 __fput+0x1b8/0x7e8 fs/file_table.c:311 ____fput+0x20/0x30 fs/file_table.c:339 task_work_run+0x13c/0x1e8 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x2488/0x30a8 arch/arm64/kernel/signal.c:949 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+0xf4/0x1d4 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 INFO: task syz-executor.0:4399 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack: 0 pid: 4399 ppid: 4253 flags:0x0000000d Call trace: __switch_to+0x2f4/0x540 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe20/0x1c6c kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6537 __mutex_lock_common+0xae0/0x1ea4 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/0x6c4 block/bdev.c:911 blkdev_close+0x74/0xb0 block/fops.c:478 __fput+0x1b8/0x7e8 fs/file_table.c:311 ____fput+0x20/0x30 fs/file_table.c:339 task_work_run+0x13c/0x1e8 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x2488/0x30a8 arch/arm64/kernel/signal.c:949 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+0xf4/0x1d4 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: ffff8000145a1520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:312 2 locks held by getty/3801: #0: ffff0000d1204098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001cf8b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf90 drivers/tty/n_tty.c:2158 1 lock held by udevd/4111: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4398: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xdc/0x6c4 block/bdev.c:911 1 lock held by syz-executor.0/4399: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xdc/0x6c4 block/bdev.c:911 1 lock held by syz-executor.0/4485: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4486: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4504: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4505: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4524: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4525: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4542: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 1 lock held by syz-executor.0/4543: #0: ffff0000cb97e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x120/0x86c block/bdev.c:816 =============================================