INFO: task syz-executor.0:28753 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:22064 pid:28753 ppid: 7549 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 __bio_queue_enter+0x35a/0x690 block/blk-core.c:441 bio_queue_enter block/blk.h:91 [inline] blk_mq_get_request block/blk-mq.c:2588 [inline] blk_mq_submit_bio+0x7c9/0x2750 block/blk-mq.c:2632 __submit_bio+0x15d/0x330 block/blk-core.c:849 __submit_bio_noacct_mq block/blk-core.c:924 [inline] submit_bio_noacct+0x844/0x9e0 block/blk-core.c:950 submit_bio+0x2d2/0x520 block/blk-core.c:1011 mpage_bio_submit fs/mpage.c:66 [inline] mpage_readahead+0x786/0x8e0 fs/mpage.c:393 read_pages+0x15b/0x8a0 mm/readahead.c:129 page_cache_ra_unbounded+0x878/0x9f0 mm/readahead.c:238 page_cache_async_readahead include/linux/pagemap.h:1036 [inline] filemap_readahead mm/filemap.c:2531 [inline] filemap_get_pages+0x757/0x1ac0 mm/filemap.c:2572 filemap_read+0x3f6/0x10f0 mm/filemap.c:2642 call_read_iter include/linux/fs.h:2156 [inline] generic_file_splice_read+0x482/0x760 fs/splice.c:311 do_splice_to fs/splice.c:796 [inline] splice_direct_to_actor+0x45f/0xd00 fs/splice.c:870 do_splice_direct+0x291/0x3e0 fs/splice.c:979 do_sendfile+0x6fe/0x1040 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1296 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:0x7fdf451c8ae9 RSP: 002b:00007fdf4273e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fdf452dbf60 RCX: 00007fdf451c8ae9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000007 RBP: 00007fdf45222f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000024002da8 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd596dabbf R14: 00007fdf4273e300 R15: 0000000000022000 INFO: task syz-executor.0:28758 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:28758 ppid: 7549 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+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:0x7fdf451c8ae9 RSP: 002b:00007fdf4271d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdf452dc020 RCX: 00007fdf451c8ae9 RDX: 0000000020000780 RSI: 0000000000004c02 RDI: 0000000000000007 RBP: 00007fdf45222f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd596dabbf R14: 00007fdf4271d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cd1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by systemd-udevd/2969: #0: ffff88801b2fe118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 #1: ffff88801b2f9b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733 1 lock held by in:imklog/6216: #0: ffff888078e23770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by agetty/6222: #0: ffff88801b0c0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900028c82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 5 locks held by kworker/u4:7/14006: 1 lock held by syz-executor.0/28753: #0: ffff888011c6acc8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff888011c6acc8 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194 1 lock held by syz-executor.0/28758: #0: ffff88801b2f9b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0xa50 drivers/block/loop.c:1248 ============================================= 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:111 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: 2963 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:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:196 Code: 84 00 00 00 00 00 0f 1f 40 00 be 0d 00 00 00 48 c7 c7 20 ae d5 8c e8 bf c0 4b 00 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0c 25 c0 6f 02 00 65 8b 15 04 fa 7d 7e f7 c2 RSP: 0018:ffffc90001cff9b0 EFLAGS: 00000283 RAX: 0000000000000001 RBX: 1ffff9200039ff7b RCX: ffff88807ab70000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cd1dc00 RBP: ffffc90001cffab0 R08: ffffffff81e39165 R09: fffffbfff1c3d246 R10: fffffbfff1c3d246 R11: 0000000000000000 R12: 1ffff9200039ff44 R13: ffff888012435980 R14: dffffc0000000000 R15: ffffc90001cffa40 FS: 00007faf6270f8c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faf5f640000 CR3: 00000000247ca000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:267 rcu_read_lock include/linux/rcupdate.h:688 [inline] mntput_no_expire+0xc3/0xfe0 fs/namespace.c:1163 path_put fs/namei.c:558 [inline] terminate_walk+0x1ee/0x570 fs/namei.c:672 path_parentat fs/namei.c:2504 [inline] filename_parentat+0x2be/0x7b0 fs/namei.c:2519 filename_create+0xf4/0x4e0 fs/namei.c:3637 do_mkdirat+0xae/0x530 fs/namei.c:3898 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:3927 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:0x7faf619ca687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fffd4de0bb8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fffd4de3ad0 RCX: 00007faf619ca687 RDX: 00007faf6243ba00 RSI: 00000000000001ed RDI: 0000564ab070e8a0 RBP: 00007fffd4de0bf0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fffd4de3ad0 R15: 00007fffd4de10e0 ---------------- Code disassembly (best guess): 0: 84 00 test %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 0f 1f 40 00 nopl 0x0(%rax) a: be 0d 00 00 00 mov $0xd,%esi f: 48 c7 c7 20 ae d5 8c mov $0xffffffff8cd5ae20,%rdi 16: e8 bf c0 4b 00 callq 0x4bc0da 1b: c3 retq 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: cc int3 * 2a: 48 8b 04 24 mov (%rsp),%rax <-- trapping instruction 2e: 65 48 8b 0c 25 c0 6f mov %gs:0x26fc0,%rcx 35: 02 00 37: 65 8b 15 04 fa 7d 7e mov %gs:0x7e7dfa04(%rip),%edx # 0x7e7dfa42 3e: f7 .byte 0xf7 3f: c2 .byte 0xc2