INFO: task syz-executor.5:11355 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.5 state:D stack:25752 pid:11355 ppid: 3219 flags:0x00004004 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_set_status+0x440/0x930 drivers/block/loop.c:1264 loop_set_status_old+0x148/0x1b0 drivers/block/loop.c:1396 lo_ioctl+0x3e9/0x17c0 drivers/block/loop.c:1566 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:0x7fcc11740ae9 RSP: 002b:00007fcc0ecb6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fcc11853f60 RCX: 00007fcc11740ae9 RDX: 0000000020000940 RSI: 0000000000004c02 RDI: 0000000000000004 RBP: 00007fcc1179af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe74aa021f R14: 00007fcc0ecb6300 R15: 0000000000022000 INFO: task syz-executor.5:11362 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.5 state:D stack:26024 pid:11362 ppid: 3219 flags:0x00004004 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 __bio_queue_enter+0x3c5/0x6a0 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+0x4ae/0x22c0 block/blk-mq.c:2632 __submit_bio block/blk-core.c:849 [inline] __submit_bio_noacct_mq block/blk-core.c:924 [inline] submit_bio_noacct block/blk-core.c:950 [inline] submit_bio_noacct+0x82c/0xa20 block/blk-core.c:939 submit_bio block/blk-core.c:1011 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:969 mpage_bio_submit fs/mpage.c:66 [inline] mpage_readahead+0x589/0x750 fs/mpage.c:393 read_pages+0x1e4/0xfa0 mm/readahead.c:129 page_cache_ra_unbounded+0x64b/0x940 mm/readahead.c:238 do_page_cache_ra mm/readahead.c:268 [inline] ondemand_readahead+0x594/0x1090 mm/readahead.c:551 page_cache_async_ra mm/readahead.c:608 [inline] page_cache_async_ra+0x2e1/0x3f0 mm/readahead.c:583 page_cache_async_readahead include/linux/pagemap.h:1036 [inline] filemap_readahead mm/filemap.c:2531 [inline] filemap_get_pages+0x6f1/0x1be0 mm/filemap.c:2572 filemap_read+0x315/0xeb0 mm/filemap.c:2642 generic_file_read_iter+0x3b6/0x5a0 mm/filemap.c:2792 blkdev_read_iter+0xf8/0x1d0 block/fops.c:583 call_read_iter include/linux/fs.h:2156 [inline] generic_file_splice_read+0x453/0x6d0 fs/splice.c:311 do_splice_to+0x1bf/0x250 fs/splice.c:796 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 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:0x7fcc11740ae9 RSP: 002b:00007fcc0ec95188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fcc11854020 RCX: 00007fcc11740ae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007fcc1179af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000424002d9f R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe74aa021f R14: 00007fcc0ec95300 R15: 0000000000022000 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 1 lock held by systemd-journal/2957: 2 locks held by systemd-udevd/2970: #0: ffff88801a247118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff88801a242b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 2 locks held by in:imklog/6214: #0: ffff88801df66d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffffc90000dfc820 (&futex_queues[i].lock/1){+.+.}-{2:2}, at: __wake_up_common_lock+0xb4/0x130 kernel/sched/wait.c:137 2 locks held by kworker/0:5/8105: #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 syz-executor.5/11355: #0: ffff88801a242b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248 1 lock held by syz-executor.5/11362: #0: ffff888145fdf348 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff888145fdf348 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x1b3/0x940 mm/readahead.c:194 ============================================= 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: 3053 Comm: systemd-timesyn Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:is_file_epoll fs/eventpoll.c:328 [inline] RIP: 0010:ep_item_poll+0xa6/0x190 fs/eventpoll.c:845 Code: 02 84 c0 74 08 3c 03 0f 8e c7 00 00 00 49 8d 7d 28 44 89 75 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 bb 00 00 00 4d 8b 75 28 49 81 fe c0 d5 ba 89 74 6f e8 f2 69 RSP: 0018:ffffc90001a6fc50 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888018c736c0 RCX: 0000000000000000 RDX: 1ffff11003f49325 RSI: ffffffff81dd2d78 RDI: ffff88801fa49928 RBP: ffffc90001a6fda8 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81dd4985 R11: 0000000000000000 R12: ffff888018c73728 R13: ffff88801fa49900 R14: 0000000000000019 R15: 0000000000000001 FS: 00007fb4150678c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7159956000 CR3: 000000001e01b000 CR4: 0000000000350ef0 Call Trace: ep_send_events fs/eventpoll.c:1685 [inline] ep_poll fs/eventpoll.c:1799 [inline] do_epoll_wait+0x734/0x1940 fs/eventpoll.c:2227 __do_sys_epoll_wait fs/eventpoll.c:2239 [inline] __se_sys_epoll_wait fs/eventpoll.c:2234 [inline] __x64_sys_epoll_wait+0x158/0x270 fs/eventpoll.c:2234 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:0x7fb41445c303 Code: 49 89 ca b8 e8 00 00 00 0f 05 48 3d 01 f0 ff ff 73 34 c3 48 83 ec 08 e8 0b c2 00 00 48 89 04 24 49 89 ca b8 e8 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 51 c2 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff5b0b4ec0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 000055a8fe2fc8f0 RCX: 00007fb41445c303 RDX: 0000000000000006 RSI: 00007fff5b0b4ed0 RDI: 0000000000000004 RBP: 00007fff5b0b5020 R08: 431bde82d7b634db R09: 00007fff5b179080 R10: 00000000ffffffff R11: 0000000000000293 R12: 00007fff5b0b4ed0 R13: 0000000000000001 R14: ffffffffffffffff R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 02 84 c0 74 08 3c 03 add 0x33c0874(%rax,%rax,8),%al 7: 0f 8e c7 00 00 00 jle 0xd4 d: 49 8d 7d 28 lea 0x28(%r13),%rdi 11: 44 89 75 08 mov %r14d,0x8(%rbp) 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 bb 00 00 00 jne 0xeb <-- trapping instruction 30: 4d 8b 75 28 mov 0x28(%r13),%r14 34: 49 81 fe c0 d5 ba 89 cmp $0xffffffff89bad5c0,%r14 3b: 74 6f je 0xac 3d: e8 .byte 0xe8 3e: f2 repnz 3f: 69 .byte 0x69