INFO: task udevd:17984 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:17984 ppid:5593 flags:0x00000004 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1368/0x23b8 kernel/sched/core.c:6669 schedule+0xc4/0x170 kernel/sched/core.c:6745 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6804 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 blkdev_open+0x10c/0x290 block/fops.c:493 do_dentry_open+0x724/0xf90 fs/open.c:920 vfs_open+0x7c/0x90 fs/open.c:1051 do_open fs/namei.c:3636 [inline] path_openat+0x1f2c/0x27f8 fs/namei.c:3791 do_filp_open+0x1bc/0x3cc fs/namei.c:3818 do_sys_openat2+0x128/0x3d8 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1383 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 INFO: task syz-executor.2:22113 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:22113 ppid:14189 flags:0x0000000d Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1368/0x23b8 kernel/sched/core.c:6669 schedule+0xc4/0x170 kernel/sched/core.c:6745 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6804 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 blkdev_put+0xec/0x6e0 block/bdev.c:845 blkdev_close+0x58/0x94 block/fops.c:507 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 get_signal+0x13a4/0x159c kernel/signal.c:2652 do_signal arch/arm64/kernel/signal.c:1249 [inline] do_notify_resume+0x3cc/0x3c90 arch/arm64/kernel/signal.c:1302 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:144 [inline] el0_svc+0x94/0x160 arch/arm64/kernel/entry-common.c:648 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 INFO: task syz-executor.2:22126 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:22126 ppid:14189 flags:0x0000000d Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1368/0x23b8 kernel/sched/core.c:6669 schedule+0xc4/0x170 kernel/sched/core.c:6745 io_schedule+0x8c/0x12c kernel/sched/core.c:8979 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1301 folio_put_wait_locked mm/filemap.c:1470 [inline] do_read_cache_folio+0xa8/0x548 mm/filemap.c:3668 read_cache_folio+0x68/0x84 mm/filemap.c:3718 read_mapping_folio include/linux/pagemap.h:778 [inline] read_part_sector+0xdc/0x2c8 block/partitions/core.c:709 adfspart_check_POWERTEC+0xcc/0x6f0 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:594 [inline] bdev_disk_changed+0x6e4/0x116c block/partitions/core.c:680 blkdev_get_whole+0x2a4/0x354 block/bdev.c:619 blkdev_get_by_dev+0x390/0x8f8 block/bdev.c:756 disk_scan_partitions+0x1b0/0x2dc block/genhd.c:379 blkdev_common_ioctl+0x14a4/0x26b4 block/ioctl.c:531 blkdev_ioctl+0x380/0xb40 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffff80008e0c16d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffff80008e0c1a90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffff80008e0c1500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:326 2 locks held by getty/5747: #0: ffff0000cf5cc098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800092e702f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2176 1 lock held by udevd/17984: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 1 lock held by syz-executor.2/22113: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xec/0x6e0 block/bdev.c:845 1 lock held by syz-executor.2/22126: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 1 lock held by syz-executor.2/22219: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 1 lock held by syz-executor.2/22220: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 1 lock held by syz-executor.2/22344: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 1 lock held by syz-executor.2/22349: #0: ffff0000cd3724c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x8f8 block/bdev.c:747 =============================================