INFO: task systemd-udevd:8274 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211115-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:25200 pid: 8274 ppid: 2970 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 lo_release+0x160/0x1f0 drivers/block/loop.c:1768 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f28a3170270 RSP: 002b:00007fffb5789968 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f28a3170270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f28a402a710 R08: 000055c2c867eaf0 R09: 000055c2c8694400 R10: 00007f28a402a8c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000055c2c868ed10 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.2:8312 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:26712 pid: 8312 ppid: 5034 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x24e/0xb50 block/bdev.c:819 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f0b939a9a04 RSP: 002b:00007f0b90f6bcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f0b939a9a04 RDX: 0000000000103382 RSI: 00007f0b90f6bd60 RDI: 00000000ffffff9c RBP: 00007f0b90f6bd60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000103382 R13: 00007ffeb10379ff R14: 00007f0b90f6c300 R15: 0000000000022000 INFO: task syz-executor.2:8312 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211115-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26712 pid: 8312 ppid: 5034 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x24e/0xb50 block/bdev.c:819 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f0b939a9a04 RSP: 002b:00007f0b90f6bcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f0b939a9a04 RDX: 0000000000103382 RSI: 00007f0b90f6bd60 RDI: 00000000ffffff9c RBP: 00007f0b90f6bd60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000103382 R13: 00007ffeb10379ff R14: 00007f0b90f6c300 R15: 0000000000022000 INFO: task syz-executor.1:8316 can't die for more than 144 seconds. task:syz-executor.1 state:D stack:28280 pid: 8316 ppid: 9742 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 bd_prepare_to_claim+0x277/0x300 block/bdev.c:593 blkdev_get_by_dev.part.0+0x21b/0xb50 block/bdev.c:812 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7ff58ddbca04 RSP: 002b:00007ff58b35dcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007ff58ddbca04 RDX: 0000000000103382 RSI: 00007ff58b35dd60 RDI: 00000000ffffff9c RBP: 00007ff58b35dd60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000103382 R13: 00007ffea7d5844f R14: 00007ff58b35e300 R15: 0000000000022000 INFO: task syz-executor.5:8323 can't die for more than 144 seconds. task:syz-executor.5 state:D stack:28328 pid: 8323 ppid: 6802 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 bd_prepare_to_claim+0x277/0x300 block/bdev.c:593 blkdev_get_by_dev.part.0+0x21b/0xb50 block/bdev.c:812 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f8f64ac9a04 RSP: 002b:00007f8f6206acc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f8f64ac9a04 RDX: 0000000000103382 RSI: 00007f8f6206ad60 RDI: 00000000ffffff9c RBP: 00007f8f6206ad60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000103382 R13: 00007ffe6f2f1fcf R14: 00007f8f6206b300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 1 lock held by khungtaskd/27: #0: ffffffff8bb83aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6225: #0: ffff88802182d4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/6232: #0: ffff888017ef7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900031132e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 2 locks held by systemd-udevd/8274: #0: ffff88801a0eb118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff88801a04eb60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 1 lock held by syz-executor.2/8312: #0: ffff88801a0eb118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x24e/0xb50 block/bdev.c:819 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-next-20211115-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+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x405/0x4f0 kernel/kthread.c:327 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 CPU: 1 PID: 2961 Comm: systemd-journal Not tainted 5.15.0-next-20211115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:path_openat+0xf3/0x2750 fs/namei.c:3546 Code: 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 9f 1b 00 00 41 8b 3e e8 3f 8a fc ff 48 c7 c7 00 f0 ff ff 48 89 c3 48 89 c6 48 89 44 24 10 88 69 aa ff 48 81 fb 00 f0 ff ff 0f 87 c4 0e 00 00 e8 e6 66 aa RSP: 0018:ffffc90001adfae0 EFLAGS: 00000293 RAX: ffff88801c0f0f00 RBX: ffff88801c0f0f00 RCX: 0000000000000000 RDX: ffff88807ae31d40 RSI: ffff88801c0f0f00 RDI: fffffffffffff000 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff8403d17d R11: 0000000000000000 R12: ffffc90001adfdf8 R13: ffffc90001adfc48 R14: ffffc90001adfdf8 R15: ffffc90001adfc48 FS: 00007f4cc0ab98c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4cbe28a000 CR3: 000000007f080000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7f4cc0048840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fff19c59258 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff19c59560 RCX: 00007f4cc0048840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000560b9ac24b20 RBP: 000000000000000d R08: 000000000000c0ff R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000560b9ac17040 R14: 00007fff19c59520 R15: 0000560b9ac23fc0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 83 c0 03 add $0x3,%eax 3: 38 d0 cmp %dl,%al 5: 7c 08 jl 0xf 7: 84 d2 test %dl,%dl 9: 0f 85 9f 1b 00 00 jne 0x1bae f: 41 8b 3e mov (%r14),%edi 12: e8 3f 8a fc ff callq 0xfffc8a56 17: 48 c7 c7 00 f0 ff ff mov $0xfffffffffffff000,%rdi 1e: 48 89 c3 mov %rax,%rbx 21: 48 89 c6 mov %rax,%rsi 24: 48 89 44 24 10 mov %rax,0x10(%rsp) * 29: e8 88 69 aa ff callq 0xffaa69b6 <-- trapping instruction 2e: 48 81 fb 00 f0 ff ff cmp $0xfffffffffffff000,%rbx 35: 0f 87 c4 0e 00 00 ja 0xeff 3b: e8 .byte 0xe8 3c: e6 66 out %al,$0x66 3e: aa stos %al,%es:(%rdi)