Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 8472 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__lock_acquire+0xe3e/0x3b30 kernel/locking/lockdep.c:5005 Code: 11 00 00 39 05 73 f2 27 12 0f 82 be 05 00 00 ba 01 00 00 00 e9 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 82 1f 00 00 49 81 3c 24 a0 8d ea 92 0f 84 98 f2 RSP: 0018:ffffc900042a76f8 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: ffff888028d8bc00 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff8fe445d7 R11: 0000000000000001 R12: 0000000000000018 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007ff768b0f6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff768b0fd58 CR3: 00000000688d2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0xf1/0x300 mm/pgtable-generic.c:375 pte_offset_map_lock include/linux/mm.h:3020 [inline] move_ptes mm/mremap.c:173 [inline] move_page_tables+0x8e7/0x3780 mm/mremap.c:633 move_vma+0x673/0x1c50 mm/mremap.c:715 __do_sys_mremap+0xf71/0x1590 mm/mremap.c:1161 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff767e7cee9 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:00007ff768b0f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000019 RAX: ffffffffffffffda RBX: 00007ff767fac120 RCX: 00007ff767e7cee9 RDX: 0000000000400000 RSI: 0000000000001000 RDI: 0000000020a96000 RBP: 00007ff767ec949e R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff767fac120 R15: 00007ffe5e083658 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xe3e/0x3b30 kernel/locking/lockdep.c:5005 Code: 11 00 00 39 05 73 f2 27 12 0f 82 be 05 00 00 ba 01 00 00 00 e9 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 82 1f 00 00 49 81 3c 24 a0 8d ea 92 0f 84 98 f2 RSP: 0018:ffffc900042a76f8 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000003 RSI: ffff888028d8bc00 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff8fe445d7 R11: 0000000000000001 R12: 0000000000000018 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007ff768b0f6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff768b0fd58 CR3: 00000000688d2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 11 00 adc %eax,(%rax) 2: 00 39 add %bh,(%rcx) 4: 05 73 f2 27 12 add $0x1227f273,%eax 9: 0f 82 be 05 00 00 jb 0x5cd f: ba 01 00 00 00 mov $0x1,%edx 14: e9 e4 00 00 00 jmp 0xfd 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 82 1f 00 00 jne 0x1fb6 34: 49 81 3c 24 a0 8d ea cmpq $0xffffffff92ea8da0,(%r12) 3b: 92 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 98 cwtl 3f: f2 repnz