Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 UID: 0 PID: 5340 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-12245-g91e5bfe317d8 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:vrm_uncharge mm/mremap.c:964 [inline] RIP: 0010:expand_vma_in_place mm/mremap.c:1566 [inline] RIP: 0010:expand_vma mm/mremap.c:1621 [inline] RIP: 0010:mremap_at mm/mremap.c:1682 [inline] RIP: 0010:do_mremap mm/mremap.c:1727 [inline] RIP: 0010:__do_sys_mremap mm/mremap.c:1784 [inline] RIP: 0010:__se_sys_mremap+0x25fa/0x2c00 mm/mremap.c:1752 Code: c0 0f 85 0e 05 00 00 0f b6 9c 24 20 03 00 00 31 ff 89 de e8 28 0e ab ff 85 db 0f 84 7b 01 00 00 e8 1b 0b ab ff e9 9e 00 00 00 <80> 78 04 00 74 0a bf 20 00 00 00 e8 26 2f 15 00 4c 8b 34 25 20 00 RSP: 0018:ffffc9000d457b40 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff92001a8afca RDX: ffffc9000e402000 RSI: 00000000000000b0 RDI: 00000000000000b1 RBP: ffffc9000d457f00 R08: ffffffff821d1f14 R09: ffffffff8c26d057 R10: 0000000000000004 R11: ffff88801f60a440 R12: 0000200000ffc000 R13: ffff88801eca3500 R14: 0000000018000098 R15: ffffc9000d457cd0 FS: 00007fcbd016e6c0(0000) GS:ffff88808c59c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbcf598570 CR3: 00000000438d8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcbcf38d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcbd016e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000019 RAX: ffffffffffffffda RBX: 00007fcbcf5a5fa0 RCX: 00007fcbcf38d169 RDX: 0000000000003000 RSI: 0000000000001000 RDI: 0000200000ffc000 RBP: 00007fcbcf40e2a0 R08: 0000200000ffd000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcbcf5a5fa0 R15: 00007ffcba9f7d38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vrm_uncharge mm/mremap.c:964 [inline] RIP: 0010:expand_vma_in_place mm/mremap.c:1566 [inline] RIP: 0010:expand_vma mm/mremap.c:1621 [inline] RIP: 0010:mremap_at mm/mremap.c:1682 [inline] RIP: 0010:do_mremap mm/mremap.c:1727 [inline] RIP: 0010:__do_sys_mremap mm/mremap.c:1784 [inline] RIP: 0010:__se_sys_mremap+0x25fa/0x2c00 mm/mremap.c:1752 Code: c0 0f 85 0e 05 00 00 0f b6 9c 24 20 03 00 00 31 ff 89 de e8 28 0e ab ff 85 db 0f 84 7b 01 00 00 e8 1b 0b ab ff e9 9e 00 00 00 <80> 78 04 00 74 0a bf 20 00 00 00 e8 26 2f 15 00 4c 8b 34 25 20 00 RSP: 0018:ffffc9000d457b40 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff92001a8afca RDX: ffffc9000e402000 RSI: 00000000000000b0 RDI: 00000000000000b1 RBP: ffffc9000d457f00 R08: ffffffff821d1f14 R09: ffffffff8c26d057 R10: 0000000000000004 R11: ffff88801f60a440 R12: 0000200000ffc000 R13: ffff88801eca3500 R14: 0000000018000098 R15: ffffc9000d457cd0 FS: 00007fcbd016e6c0(0000) GS:ffff88808c59c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbcf57d538 CR3: 00000000438d8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 0f 85 0e 05 00 00 jne 0x514 6: 0f b6 9c 24 20 03 00 movzbl 0x320(%rsp),%ebx d: 00 e: 31 ff xor %edi,%edi 10: 89 de mov %ebx,%esi 12: e8 28 0e ab ff call 0xffab0e3f 17: 85 db test %ebx,%ebx 19: 0f 84 7b 01 00 00 je 0x19a 1f: e8 1b 0b ab ff call 0xffab0b3f 24: e9 9e 00 00 00 jmp 0xc7 * 29: 80 78 04 00 cmpb $0x0,0x4(%rax) <-- trapping instruction 2d: 74 0a je 0x39 2f: bf 20 00 00 00 mov $0x20,%edi 34: e8 26 2f 15 00 call 0x152f5f 39: 4c rex.WR 3a: 8b .byte 0x8b 3b: 34 25 xor $0x25,%al 3d: 20 00 and %al,(%rax)