INFO: task systemd-udevd:17941 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:23088 pid:17941 ppid: 2973 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x477/0x7b0 block/bdev.c:956 blkdev_close+0x58/0x80 block/fops.c:515 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 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+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4ed42ae270 RSP: 002b:00007ffe74847bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f4ed42ae270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f4ed5168710 R08: 0000560e7f48d780 R09: 0000560e7f48d500 R10: 00007f4ed51688c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000560e7f48ae40 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.0:15828 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25488 pid:15828 ppid: 17546 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178 loop_set_status+0x183/0xa50 drivers/block/loop.c:1264 lo_ioctl+0xbc9/0x1f40 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fdd2164b8a7 RSP: 002b:00007fdd1ebc0ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdd1ebc0f40 RCX: 00007fdd2164b8a7 RDX: 00007fdd1ebc1050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00007fdd216a5f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fdd1ebc1050 R13: 00007ffc371139ef R14: 00007fdd1ebc1300 R15: 0000000000022000 INFO: task syz-executor.0:15907 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26960 pid:15907 ppid: 17546 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 blkdev_open+0x137/0x2f0 block/fops.c:501 do_dentry_open+0x78b/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x2896/0x3660 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fdd215fea04 RSP: 002b:00007fdd1eb9fe20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdd21695970 RCX: 00007fdd215fea04 RDX: 0000000000000002 RSI: 00007fdd1eb9ff40 RDI: 00000000ffffff9c RBP: 00007fdd1eb9ff40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000003 R14: 0000000020002de0 R15: 00000000000001d4 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cd1da00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by khugepaged/33: #0: ffffffff8cdb6348 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x67/0x9d0 mm/swap.c:797 1 lock held by in:imklog/6178: #0: ffff88801ab66af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by systemd-udevd/17941: #0: ffff88801b2ec118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 #1: ffff8881470b7360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 1 lock held by syz-executor.0/15828: #0: ffff8881470b7360 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0xa50 drivers/block/loop.c:1248 1 lock held by syz-executor.0/15907: #0: ffff88801b2ec118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2967 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_release kernel/locking/lockdep.c:5293 [inline] RIP: 0010:lock_release+0x148/0x810 kernel/locking/lockdep.c:5657 Code: 80 3c 23 00 74 08 4c 89 ff e8 f4 39 6a 00 4c 8b bc 24 b0 00 00 00 fa 48 c7 c7 80 0d 8f 8a e8 5f f4 c1 08 65 ff 05 68 70 9c 7e <48> 8d 94 24 80 00 00 00 48 c1 ea 03 42 8a 04 22 84 c0 0f 85 ef 04 RSP: 0018:ffffc90001b7f580 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffff9200036fec6 RCX: 0000000080000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90001b7f6b0 R08: dffffc0000000000 R09: fffffbfff1c3d1d6 R10: fffffbfff1c3d1d6 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff9200036febc R14: ffffffff81df4028 R15: 0000000000000046 FS: 00007fe9570d38c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe954807000 CR3: 000000001cb21000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seqcount_lockdep_reader_access+0x150/0x230 include/linux/seqlock.h:104 set_root+0x178/0x3e0 fs/namei.c:940 nd_jump_root+0x2a0/0x410 fs/namei.c:961 path_init+0x354/0x11f0 fs/namei.c:2359 path_openat+0x1a4/0x3660 fs/namei.c:3554 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 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+0x221/0x270 fs/open.c:1232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe956662840 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:00007ffc45242308 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc45242610 RCX: 00007fe956662840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055a3dff3eed0 RBP: 000000000000000d R08: 00000000000001c0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055a3dff33040 R14: 00007ffc452425d0 R15: 000055a3dff3ff10 ---------------- Code disassembly (best guess): 0: 80 3c 23 00 cmpb $0x0,(%rbx,%riz,1) 4: 74 08 je 0xe 6: 4c 89 ff mov %r15,%rdi 9: e8 f4 39 6a 00 callq 0x6a3a02 e: 4c 8b bc 24 b0 00 00 mov 0xb0(%rsp),%r15 15: 00 16: fa cli 17: 48 c7 c7 80 0d 8f 8a mov $0xffffffff8a8f0d80,%rdi 1e: e8 5f f4 c1 08 callq 0x8c1f482 23: 65 ff 05 68 70 9c 7e incl %gs:0x7e9c7068(%rip) # 0x7e9c7092 * 2a: 48 8d 94 24 80 00 00 lea 0x80(%rsp),%rdx <-- trapping instruction 31: 00 32: 48 c1 ea 03 shr $0x3,%rdx 36: 42 8a 04 22 mov (%rdx,%r12,1),%al 3a: 84 c0 test %al,%al 3c: 0f .byte 0xf 3d: 85 ef test %ebp,%edi 3f: 04 .byte 0x4