INFO: task udevd:3595 blocked for more than 143 seconds. Not tainted 5.17.0-rc6-next-20220303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26624 pid: 3595 ppid: 2963 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6483 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 blkdev_get_by_dev.part.0+0xe7/0xc90 block/bdev.c:807 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:850 blkdev_open+0x154/0x2e0 block/fops.c:500 do_dentry_open+0x4b9/0x1250 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f06ec725697 RSP: 002b:00007ffe1354d1e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005573e9f5b8f0 RCX: 00007f06ec725697 RDX: 00000000000a0800 RSI: 00005573e9f49bd0 RDI: 00000000ffffff9c RBP: 00005573e9f49bd0 R08: 0000000000000001 R09: 00007ffe135f9080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005573e9f446c0 R14: 0000000000000001 R15: 00005573e9f2a910 INFO: task syz-executor.0:28740 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:28032 pid:28740 ppid: 3607 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6483 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 blkdev_put+0x99/0x950 block/bdev.c:905 blkdev_close+0x6a/0x80 block/fops.c:514 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:176 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe3bc8b RSP: 002b:00007ffc19fa3bb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f8babe3bc8b RDX: 0000001b2cd20000 RSI: 0000001b2cd26358 RDI: 0000000000000005 RBP: 00007f8babf9d960 R08: 0000000000000000 R09: 00000000a911ba10 R10: 00007ffc19fca090 R11: 0000000000000293 R12: 000000000005401e R13: 00007ffc19fa3cb0 R14: 00007ffc19fa3cd0 R15: 0000000000000032 INFO: task syz-executor.0:28740 blocked for more than 143 seconds. Not tainted 5.17.0-rc6-next-20220303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28032 pid:28740 ppid: 3607 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6483 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 blkdev_put+0x99/0x950 block/bdev.c:905 blkdev_close+0x6a/0x80 block/fops.c:514 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:176 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe3bc8b RSP: 002b:00007ffc19fa3bb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f8babe3bc8b RDX: 0000001b2cd20000 RSI: 0000001b2cd26358 RDI: 0000000000000005 RBP: 00007f8babf9d960 R08: 0000000000000000 R09: 00000000a911ba10 R10: 00007ffc19fca090 R11: 0000000000000293 R12: 000000000005401e R13: 00007ffc19fa3cb0 R14: 00007ffc19fa3cd0 R15: 0000000000000032 INFO: task syz-executor.0:28741 can't die for more than 144 seconds. task:syz-executor.0 state:D stack:28032 pid:28741 ppid: 3607 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6483 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 nbd_start_device_ioctl drivers/block/nbd.c:1410 [inline] __nbd_ioctl drivers/block/nbd.c:1471 [inline] nbd_ioctl+0x6e2/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe89049 RSP: 002b:00007f8bacf02168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8babf9bf60 RCX: 00007f8babe89049 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f8babee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc19fa3b4f R14: 00007f8bacf02300 R15: 0000000000022000 INFO: task syz-executor.0:28741 blocked for more than 144 seconds. Not tainted 5.17.0-rc6-next-20220303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28032 pid:28741 ppid: 3607 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6483 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 nbd_start_device_ioctl drivers/block/nbd.c:1410 [inline] __nbd_ioctl drivers/block/nbd.c:1471 [inline] nbd_ioctl+0x6e2/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe89049 RSP: 002b:00007f8bacf02168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8babf9bf60 RCX: 00007f8babe89049 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f8babee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc19fa3b4f R14: 00007f8bacf02300 R15: 0000000000022000 INFO: task syz-executor.0:28753 can't die for more than 144 seconds. task:syz-executor.0 state:D stack:25992 pid:28753 ppid: 3607 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 io_schedule+0xba/0x130 kernel/sched/core.c:8527 folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1327 folio_wait_bit mm/filemap.c:1476 [inline] folio_wait_locked include/linux/pagemap.h:960 [inline] folio_wait_locked include/linux/pagemap.h:957 [inline] do_read_cache_folio+0x506/0x760 mm/filemap.c:3519 do_read_cache_page mm/filemap.c:3591 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3600 read_mapping_page include/linux/pagemap.h:743 [inline] read_part_sector+0xf6/0x920 block/partitions/core.c:723 adfspart_check_ICS+0x9a/0x690 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:608 [inline] bdev_disk_changed block/partitions/core.c:694 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:661 blkdev_get_whole+0x206/0x2d0 block/bdev.c:679 blkdev_get_by_dev.part.0+0x659/0xc90 block/bdev.c:816 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:850 blkdev_open+0x154/0x2e0 block/fops.c:500 do_dentry_open+0x4b9/0x1250 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe3bf64 RSP: 002b:00007f8baadfdca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f8babe3bf64 RDX: 0000000000000000 RSI: 00007f8baadfdd40 RDI: 00000000ffffff9c RBP: 00007f8baadfdd40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffc19fa3b4f R14: 00007f8baadfe300 R15: 0000000000022000 INFO: task syz-executor.0:28753 blocked for more than 144 seconds. Not tainted 5.17.0-rc6-next-20220303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25992 pid:28753 ppid: 3607 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 io_schedule+0xba/0x130 kernel/sched/core.c:8527 folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1327 folio_wait_bit mm/filemap.c:1476 [inline] folio_wait_locked include/linux/pagemap.h:960 [inline] folio_wait_locked include/linux/pagemap.h:957 [inline] do_read_cache_folio+0x506/0x760 mm/filemap.c:3519 do_read_cache_page mm/filemap.c:3591 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3600 read_mapping_page include/linux/pagemap.h:743 [inline] read_part_sector+0xf6/0x920 block/partitions/core.c:723 adfspart_check_ICS+0x9a/0x690 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:608 [inline] bdev_disk_changed block/partitions/core.c:694 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:661 blkdev_get_whole+0x206/0x2d0 block/bdev.c:679 blkdev_get_by_dev.part.0+0x659/0xc90 block/bdev.c:816 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:850 blkdev_open+0x154/0x2e0 block/fops.c:500 do_dentry_open+0x4b9/0x1250 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe3bf64 RSP: 002b:00007f8baadfdca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f8babe3bf64 RDX: 0000000000000000 RSI: 00007f8baadfdd40 RDI: 00000000ffffff9c RBP: 00007f8baadfdd40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffc19fa3b4f R14: 00007f8baadfe300 R15: 0000000000022000 INFO: task syz-executor.0:28756 can't die for more than 145 seconds. task:syz-executor.0 state:D stack:29512 pid:28756 ppid: 3607 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe89049 RSP: 002b:00007f8baaddd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8babf9c100 RCX: 00007f8babe89049 RDX: 0000000000000016 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00007f8babee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc19fa3b4f R14: 00007f8baaddd300 R15: 0000000000022000 INFO: task syz-executor.0:28756 blocked for more than 145 seconds. Not tainted 5.17.0-rc6-next-20220303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29512 pid:28756 ppid: 3607 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8babe89049 RSP: 002b:00007f8baaddd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8babf9c100 RCX: 00007f8babe89049 RDX: 0000000000000016 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00007f8babee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc19fa3b4f R14: 00007f8baaddd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd858e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6498 2 locks held by getty/3277: #0: ffff888144f13098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e562e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 1 lock held by udevd/3595: #0: ffff88801bac0118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0xe7/0xc90 block/bdev.c:807 1 lock held by syz-executor.0/28740: #0: ffff88801bac0118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x950 block/bdev.c:905 1 lock held by syz-executor.0/28741: #0: ffff88801ba1c198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1410 [inline] #0: ffff88801ba1c198 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1471 [inline] #0: ffff88801ba1c198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x6e2/0xb10 drivers/block/nbd.c:1511 1 lock held by syz-executor.0/28753: #0: ffff88801bac0118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0xe7/0xc90 block/bdev.c:807 1 lock held by syz-executor.0/28756: #0: ffff88801ba1c198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.17.0-rc6-next-20220303-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:115 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:556