INFO: task syz-executor.5:12654 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:24992 pid:12654 ppid: 10580 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 __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 __blkdev_direct_IO_simple+0x4a2/0x860 block/fops.c:103 blkdev_direct_IO block/fops.c:383 [inline] blkdev_direct_IO+0x7fb/0x1740 block/fops.c:373 generic_file_read_iter+0x251/0x5a0 mm/filemap.c:2769 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:0x7fbfc46eaae9 RSP: 002b:00007fbfc1c60188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fbfc47fdf60 RCX: 00007fbfc46eaae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007fbfc4744f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000024002da8 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe571114ef R14: 00007fbfc1c60300 R15: 0000000000022000 INFO: task syz-executor.5:12659 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:28480 pid:12659 ppid: 10580 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_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:0x7fbfc46eaae9 RSP: 002b:00007fbfc1c3f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbfc47fe020 RCX: 00007fbfc46eaae9 RDX: 00000000200002c0 RSI: 0000000000004c02 RDI: 0000000000000004 RBP: 00007fbfc4744f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe571114ef R14: 00007fbfc1c3f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by in:imklog/6209: #0: ffff88807370e0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: __wake_up_common_lock+0xb4/0x130 kernel/sched/wait.c:137 2 locks held by kworker/u4:7/9051: #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 2 locks held by systemd-udevd/12233: #0: ffff88801b044118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff8881467c0360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 1 lock held by syz-executor.5/12659: #0: ffff8881467c0360 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9051 Comm: kworker/u4:7 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__this_cpu_preempt_check+0x1/0x20 lib/smp_processor_id.c:65 Code: 78 d9 cc ff eb a2 0f 1f 00 0f 1f 44 00 00 48 c7 c6 e0 15 05 8a 48 c7 c7 20 16 05 8a e9 78 fe ff ff 0f 1f 84 00 00 00 00 00 55 <48> 89 fd 0f 1f 44 00 00 48 89 ee 5d 48 c7 c7 60 16 05 8a e9 57 fe RSP: 0018:ffffc900029af928 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bb839a0 RDI: ffffffff89ac0de0 RBP: ffffffff8bb839a0 R08: 0000000000000000 R09: ffffffff8d9172d7 R10: fffffbfff1b22e5a R11: 000000000000003f R12: ffff888017f13a00 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff888017f14528 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0bcf9aa000 CR3: 00000001406f6000 CR4: 0000000000350ee0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_is_held_type+0xd7/0x140 kernel/locking/lockdep.c:5681 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_tlb_flush include/trace/events/tlb.h:38 [inline] trace_tlb_flush+0x126/0x1b0 include/trace/events/tlb.h:38 switch_mm_irqs_off+0x4a4/0xa10 arch/x86/mm/tlb.c:629 use_temporary_mm arch/x86/kernel/alternative.c:924 [inline] __text_poke+0x44a/0x8c0 arch/x86/kernel/alternative.c:1021 text_poke_bp_batch+0x2eb/0x560 arch/x86/kernel/alternative.c:1310 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_flush arch/x86/kernel/alternative.c:1448 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:732 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:724 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: eb a2 jmp 0xffffffa4 2: 0f 1f 00 nopl (%rax) 5: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) a: 48 c7 c6 e0 15 05 8a mov $0xffffffff8a0515e0,%rsi 11: 48 c7 c7 20 16 05 8a mov $0xffffffff8a051620,%rdi 18: e9 78 fe ff ff jmpq 0xfffffe95 1d: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 24: 00 25: 55 push %rbp * 26: 48 89 fd mov %rdi,%rbp <-- trapping instruction 29: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 2e: 48 89 ee mov %rbp,%rsi 31: 5d pop %rbp 32: 48 c7 c7 60 16 05 8a mov $0xffffffff8a051660,%rdi 39: e9 .byte 0xe9 3a: 57 push %rdi 3b: fe .byte 0xfe