INFO: task syz-executor.3:6652 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27400 pid: 6652 ppid: 23220 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 __loop_clr_fd+0x1ae/0x1070 drivers/block/loop.c:1122 loop_clr_fd drivers/block/loop.c:1237 [inline] lo_ioctl+0x398/0x17c0 drivers/block/loop.c:1562 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7ff3e216c8a7 RSP: 002b:00007ff3df6e1fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000200013c0 RCX: 00007ff3e216c8a7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007ff3df6e26bc R08: 00007ff3df6e2040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000016 R14: 00007ff3df6e2000 R15: 0000000020001480 INFO: task syz-executor.3:6667 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28496 pid: 6667 ppid: 23220 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/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:0x7ff3e211fa04 RSP: 002b:00007ff3df6c0ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff3e21b6970 RCX: 00007ff3e211fa04 RDX: 0000000000000002 RSI: 00007ff3df6c1000 RDI: 00000000ffffff9c RBP: 00007ff3df6c1000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000003 R14: 00000000200013c0 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by in:imklog/6428: #0: ffff888019bed770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffffffff8bca8260 (fs_reclaim){+.+.}-{0:0}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 2 locks held by systemd-udevd/6055: #0: ffff88801a24f918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff88801a24b360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 1 lock held by syz-executor.3/6652: #0: ffff88801a24b360 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 1 lock held by syz-executor.3/6667: #0: ffff88801a24f918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1352 Comm: kworker/u4:5 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bond1 bond_alb_monitor RIP: 0010:arch_irqs_disabled_flags arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:check_preemption_disabled+0x4d/0x170 lib/smp_processor_id.c:19 Code: e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c 5b <81> e3 00 02 00 00 31 ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3 0f RSP: 0018:ffffc9000528fb78 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000046 RCX: 1ffffffff20003b6 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8a0519a0 R08: 0000000000000000 R09: ffffffff8ff71b7f R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff89ac0fe0 R14: ffff88801ac10000 R15: 000000000000000a FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f957bf34000 CR3: 000000000b88e000 CR4: 0000000000350ef0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4293 [inline] lockdep_hardirqs_on_prepare+0x17b/0x400 kernel/locking/lockdep.c:4244 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 queue_delayed_work_on+0xe6/0x120 kernel/workqueue.c:1707 queue_delayed_work include/linux/workqueue.h:517 [inline] bond_alb_monitor+0x463/0x1670 drivers/net/bonding/bond_alb.c:1591 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 7f 31 jg 0x33 2: ff 89 de 0f 1f 44 decl 0x441f0fde(%rcx) 8: 00 00 add %al,(%rax) a: 85 db test %ebx,%ebx c: 74 11 je 0x1f e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 13: 44 89 e0 mov %r12d,%eax 16: 5b pop %rbx 17: 5d pop %rbp 18: 41 5c pop %r12 1a: 41 5d pop %r13 1c: 41 5e pop %r14 1e: c3 retq 1f: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 24: 9c pushfq 25: 5b pop %rbx * 26: 81 e3 00 02 00 00 and $0x200,%ebx <-- trapping instruction 2c: 31 ff xor %edi,%edi 2e: 48 89 de mov %rbx,%rsi 31: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 36: 48 85 db test %rbx,%rbx 39: 74 d3 je 0xe 3b: 0f .byte 0xf