kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 watchdog: BUG: soft lockup - CPU#1 stuck for 111s! [syz-executor.0:22273] Modules linked in: CPU: 1 PID: 22273 Comm: syz-executor.0 Tainted: G W 5.10.210-syzkaller-00394-g70b6ab09a34b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline] RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:517 Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 7a f0 0a 00 41 83 e5 01 75 0a e8 bf ec 0a 00 e9 eb 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00 RSP: 0018:ffffc90000ba6e20 EFLAGS: 00000246 RAX: ffffffff815fbd64 RBX: 1ffff92000174dcd RCX: 0000000000040000 RDX: ffffc90004565000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90000ba6f10 R08: ffffffff815fbd36 R09: ffffed103ee0aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90000ba6e68 R15: 0000000000000000 FS: 00007fd8f2d116c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd8f41f1000 CR3: 000000010f924000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653 smp_call_function_many kernel/smp.c:716 [inline] smp_call_function kernel/smp.c:738 [inline] on_each_cpu+0xa8/0x1a0 kernel/smp.c:837 flush_tlb_kernel_range+0x40/0x1c0 arch/x86/mm/tlb.c:950 __purge_vmap_area_lazy+0x102/0x1620 mm/vmalloc.c:1355 _vm_unmap_aliases+0x334/0x3b0 mm/vmalloc.c:1773 vm_unmap_aliases+0x19/0x20 mm/vmalloc.c:1796 change_page_attr_set_clr+0x308/0x1050 arch/x86/mm/pat/set_memory.c:1732 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1789 [inline] set_memory_ro+0xa1/0xe0 arch/x86/mm/pat/set_memory.c:1935 bpf_jit_binary_lock_ro include/linux/filter.h:839 [inline] bpf_int_jit_compile+0x9829/0x9dc0 arch/x86/net/bpf_jit_comp.c:2130 bpf_prog_select_runtime+0x735/0x9c0 kernel/bpf/core.c:1872 bpf_prog_load kernel/bpf/syscall.c:2243 [inline] __do_sys_bpf kernel/bpf/syscall.c:4435 [inline] __se_sys_bpf+0x1080e/0x11cb0 kernel/bpf/syscall.c:4391 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd8f3f9dd69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd8f2d110c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fd8f40cbf80 RCX: 00007fd8f3f9dd69 RDX: 0000000000000090 RSI: 0000000020000b00 RDI: 0000000000000005 RBP: 00007fd8f3fea49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd8f40cbf80 R15: 00007ffce2282308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22279 Comm: syz-executor.2 Tainted: G W 5.10.210-syzkaller-00394-g70b6ab09a34b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kasan_check_range+0x6/0x2a0 mm/kasan/generic.c:188 Code: c6 48 89 c7 e8 7b e0 03 03 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 a4 01 00 00 48 89 fb 48 RSP: 0018:ffffc90000b37c78 EFLAGS: 00000097 RAX: 0000000000000004 RBX: 1ffff92000166f9c RCX: ffffffff84b1361c RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff87116f60 RBP: ffffc90000b37c80 R08: ffffffff82c9a009 R09: 0000000000000003 R10: fffff52000166f9c R11: dffffc0000000001 R12: ffffc90000b37ce0 R13: ffffffff87116f60 R14: 1ffff92000166f98 R15: dffffc0000000000 FS: 000055555606c480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd8fd6a8c98 CR3: 000000010f31b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:705 [inline] queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:195 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0xec/0x210 kernel/locking/spinlock.c:159 vga_put drivers/gpu/vga/vgaarb.c:578 [inline] vga_arb_release+0x203/0x950 drivers/gpu/vga/vgaarb.c:1370 __fput+0x309/0x760 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x129/0x190 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xbf/0xd0 kernel/entry/common.c:172 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xc5/0x1d0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd8fe934c5a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffc380f1fd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fd8fe934c5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007ffc380f20a8 R08: 00007fd8fe8b8000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 00000000000e73ba R13: 00007fd8fea6405c R14: 00007fd8fea64050 R15: 0000000000000032 hrtimer: interrupt took 867817401 ns