INFO: task syz-executor.0:8668 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.0 state:D stack:26128 pid: 8668 ppid: 6523 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178 loop_set_status+0x22f/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:0x7fdaeb843ae9 RSP: 002b:00007fdae8db9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdaeb956f60 RCX: 00007fdaeb843ae9 RDX: 0000000020000100 RSI: 0000000000004c04 RDI: 0000000000000003 RBP: 00007fdaeb89df6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6fd4a1bf R14: 00007fdae8db9300 R15: 0000000000022000 INFO: task syz-executor.0:8673 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.0 state:D stack:27088 pid: 8673 ppid: 6523 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __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:0x7fdaeb7f6a04 RSP: 002b:00007fdae8d97cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007fdaeb7f6a04 RDX: 0000000000000000 RSI: 00007fdae8d97d60 RDI: 00000000ffffff9c RBP: 00007fdae8d97d60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fff6fd4a1bf R14: 00007fdae8d98300 R15: 0000000000022000 INFO: task syz-executor.3:8674 blocked for more than 144 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:27088 pid: 8674 ppid: 6529 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __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:0x7f04d93d9a04 RSP: 002b:00007f04d697acc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f04d93d9a04 RDX: 0000000000000000 RSI: 00007f04d697ad60 RDI: 00000000ffffff9c RBP: 00007f04d697ad60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffcacb3e42f R14: 00007f04d697b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cd1da80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6220: #0: ffff88801af12af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by agetty/6227: #0: ffff88801d02e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90001f0d2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.2/3984: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 1 lock held by syz-executor.2/5250: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 1 lock held by syz-executor.0/19120: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 1 lock held by syz-executor.2/4386: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 1 lock held by syz-executor.3/6444: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 1 lock held by syz-executor.3/6448: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914 1 lock held by syz-executor.0/8668: #0: ffff888146d76360 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0xa50 drivers/block/loop.c:1248 1 lock held by syz-executor.0/8673: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.3/8674: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 2 locks held by systemd-udevd/8671: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 #1: ffff888146d76360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733 1 lock held by syz-executor.5/8682: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.5/8683: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.2/8688: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.2/8689: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.1/8694: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.1/8695: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.4/8704: #0: ffff88801b2d4118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.4/8705: #0: ffff88801b2d4118 (&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.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+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: 2966 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:5415 [inline] RIP: 0010:preempt_count_add+0x74/0x130 kernel/sched/core.c:5438 Code: 8b 05 e8 5c a8 7e 25 ff ff ff 7f 39 d8 75 44 4c 8b 74 24 18 4c 89 f7 e8 da 72 0d 00 85 c0 74 0a 45 31 f6 31 ff e8 cc 72 0d 00 <65> 48 8b 1c 25 c0 6f 02 00 48 81 c3 58 14 00 00 48 89 d8 48 c1 e8 RSP: 0018:ffffc9000b54f580 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8a2aa000 RDX: ffffc9000b54fd90 RSI: ffffffff81cf4e69 RDI: ffffffff813aa429 RBP: 1ffff920016a9ecc R08: 0000000000000005 R09: ffffc9000b54f750 R10: fffff520016a9ed8 R11: 0000000000000000 R12: ffffc9000b54f698 R13: ffffc9000b54f660 R14: ffffffff813aa429 R15: dffffc0000000000 FS: 00007f1715a298c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1711a95000 CR3: 000000007b17a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xa9/0x1fc0 arch/x86/kernel/unwind_orc.c:428 arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122 save_stack+0xff/0x200 mm/page_owner.c:119 __reset_page_owner+0x51/0x1a0 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1338 [inline] free_pcp_prepare+0xd1c/0xe00 mm/page_alloc.c:1389 free_unref_page_prepare mm/page_alloc.c:3309 [inline] free_unref_page+0x7d/0x580 mm/page_alloc.c:3388 do_slab_free mm/slub.c:3501 [inline] ___cache_free+0xe6/0x120 mm/slub.c:3520 qlist_free_all mm/kasan/quarantine.c:165 [inline] kasan_quarantine_reduce+0x151/0x1c0 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x2f/0xf0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3234 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc+0x1c9/0x310 mm/slub.c:3247 prepare_creds+0x3d/0x640 kernel/cred.c:260 access_override_creds fs/open.c:351 [inline] do_faccessat+0xec/0x940 fs/open.c:415 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:0x7f1714ce49c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffebd801a88 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffebd8049a0 RCX: 00007f1714ce49c7 RDX: 00007f1715755a00 RSI: 0000000000000000 RDI: 00005615521309a3 RBP: 00007ffebd801ac0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffebd8049a0 R15: 00007ffebd801fb0 ---------------- Code disassembly (best guess): 0: 8b 05 e8 5c a8 7e mov 0x7ea85ce8(%rip),%eax # 0x7ea85cee 6: 25 ff ff ff 7f and $0x7fffffff,%eax b: 39 d8 cmp %ebx,%eax d: 75 44 jne 0x53 f: 4c 8b 74 24 18 mov 0x18(%rsp),%r14 14: 4c 89 f7 mov %r14,%rdi 17: e8 da 72 0d 00 callq 0xd72f6 1c: 85 c0 test %eax,%eax 1e: 74 0a je 0x2a 20: 45 31 f6 xor %r14d,%r14d 23: 31 ff xor %edi,%edi 25: e8 cc 72 0d 00 callq 0xd72f6 * 2a: 65 48 8b 1c 25 c0 6f mov %gs:0x26fc0,%rbx <-- trapping instruction 31: 02 00 33: 48 81 c3 58 14 00 00 add $0x1458,%rbx 3a: 48 89 d8 mov %rbx,%rax 3d: 48 rex.W 3e: c1 .byte 0xc1 3f: e8 .byte 0xe8