INFO: task syz-executor733:4247 blocked for more than 143 seconds. Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor733 state:D stack:25200 pid: 4247 ppid: 3655 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 kthread_stop+0xf8/0x200 kernel/kthread.c:709 ext4_stop_mmpd+0x43/0xb0 fs/ext4/mmp.c:255 __ext4_fill_super+0x9b13/0xf6f0 fs/ext4/super.c:5505 ext4_fill_super+0x30d/0x6f0 fs/ext4/super.c:5554 get_tree_bdev+0x406/0x630 fs/super.c:1292 vfs_get_tree+0x86/0x270 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x1986/0x2c30 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount+0x308/0x3c0 fs/namespace.c:3552 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:0x7fd7eff30e6a RSP: 002b:00007fff69aebd18 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fff69aebd70 RCX: 00007fd7eff30e6a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fff69aebd30 RBP: 00007fff69aebd30 R08: 00007fff69aebd70 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000428 R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000007 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1d460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/1:2/1132: #0: ffff888011466538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc9000515fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 1 lock held by udevd/2965: #0: ffff88801b3ce118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x169/0xd70 block/bdev.c:804 2 locks held by getty/3277: #0: ffff888024eb5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2075 1 lock held by syz-executor733/3653: #0: ffff88801b3ce118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x169/0xd70 block/bdev.c:804 3 locks held by kworker/1:1/3690: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc900029bfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffffffff8cb22428 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8cb22428 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x740 kernel/rcu/tree_exp.h:840 3 locks held by kworker/1:4/3692: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc900027ffd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffffffff8cb22428 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8cb22428 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x356/0x740 kernel/rcu/tree_exp.h:840 2 locks held by kworker/0:1/3694: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc900029dfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 1 lock held by udevd/3732: #0: ffff88801b3ce118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x7a0 block/bdev.c:902 2 locks held by kworker/1:5/3745: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc90002b1fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 2 locks held by kworker/1:6/4101: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc9000365fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 1 lock held by syz-executor733/4247: #0: ffff88807cdf40e0 (&type->s_umount_key#27/1){+.+.}-{3:3}, at: alloc_super+0x1c8/0x820 fs/super.c:228 2 locks held by kworker/1:7/11117: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc9000e29fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #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:212 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:369 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3924 Comm: kworker/u4:4 Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:native_write_cr3 arch/x86/include/asm/special_insns.h:54 [inline] RIP: 0010:write_cr3 arch/x86/include/asm/special_insns.h:174 [inline] RIP: 0010:load_new_mm_cr3 arch/x86/mm/tlb.c:292 [inline] RIP: 0010:switch_mm_irqs_off+0x4f2/0x910 arch/x86/mm/tlb.c:627 Code: 48 8b 3b e9 14 04 00 00 e8 5b f3 ff ff 41 0f b7 cc 81 f9 ff 0f 00 00 0f 83 bb 01 00 00 41 ff c4 41 0f b7 cc 48 09 c8 0f 22 d8 <48> c7 c6 ff ff ff ff 4c 8b 64 24 18 e9 bd 00 00 00 49 8d 5f 50 48 RSP: 0018:ffffc9000310f6a0 EFLAGS: 00000093 RAX: 000000000c88e000 RBX: ffffffff8cbe74f0 RCX: ffff88801d345700 RDX: 0000000000000000 RSI: 000000000c88e000 RDI: 000000001fffffff RBP: ffffc9000310f7b0 R08: ffffffff813cae9c R09: fffffbfff197cf19 R10: fffffbfff197cf19 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8cbe74a0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd7eff8f6e2 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unuse_temporary_mm arch/x86/kernel/alternative.c:946 [inline] __text_poke+0x767/0x9f0 arch/x86/kernel/alternative.c:1042 text_poke arch/x86/kernel/alternative.c:1083 [inline] text_poke_bp_batch+0x680/0x920 arch/x86/kernel/alternative.c:1364 text_poke_flush arch/x86/kernel/alternative.c:1470 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:735 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 48 8b 3b mov (%rbx),%rdi 3: e9 14 04 00 00 jmpq 0x41c 8: e8 5b f3 ff ff callq 0xfffff368 d: 41 0f b7 cc movzwl %r12w,%ecx 11: 81 f9 ff 0f 00 00 cmp $0xfff,%ecx 17: 0f 83 bb 01 00 00 jae 0x1d8 1d: 41 ff c4 inc %r12d 20: 41 0f b7 cc movzwl %r12w,%ecx 24: 48 09 c8 or %rcx,%rax 27: 0f 22 d8 mov %rax,%cr3 * 2a: 48 c7 c6 ff ff ff ff mov $0xffffffffffffffff,%rsi <-- trapping instruction 31: 4c 8b 64 24 18 mov 0x18(%rsp),%r12 36: e9 bd 00 00 00 jmpq 0xf8 3b: 49 8d 5f 50 lea 0x50(%r15),%rbx 3f: 48 rex.W