Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 1 UID: 0 PID: 456 Comm: syz.1.5157 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:pfnmap_lockdep_assert mm/memory.c:6349 [inline] RIP: 0010:follow_pfnmap_start+0x1a7/0xfd0 mm/memory.c:6402 Code: 8d 9f 80 00 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 27 0d 1a 00 48 8b 1b 48 83 c3 58 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 0a 0d 1a 00 4c 8b 23 48 c7 c0 3c RSP: 0018:ffffc9000463f100 EFLAGS: 00010202 RAX: 000000000000000b RBX: 0000000000000058 RCX: 0000000000040000 RDX: ffffc90012c2e000 RSI: 0000000000002028 RDI: ffffc9000463f1e0 RBP: ffffc9000463f290 R08: ffffc9000463f311 R09: 0000000000000000 R10: ffffc9000463f2f0 R11: fffff520008c7e63 R12: dffffc0000000000 R13: 1ffff1100fda74bc R14: ffffc9000463f2e0 R15: ffff88807ed3a5d0 FS: 00007fd43c2f76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd43b561160 CR3: 0000000021bf6000 CR4: 00000000003526f0 Call Trace: follow_phys arch/x86/mm/pat/memtype.c:940 [inline] get_pat_info+0x182/0x3f0 arch/x86/mm/pat/memtype.c:972 untrack_pfn+0x327/0x640 arch/x86/mm/pat/memtype.c:1085 unmap_single_vma+0x1f6/0x2b0 mm/memory.c:1834 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 unmap_region+0x214/0x380 mm/vma.c:354 mmap_region+0x22f9/0x2990 mm/mmap.c:1573 do_mmap+0x8f0/0x1000 mm/mmap.c:496 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd43b57dff9 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:00007fd43c2f7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fd43b735f80 RCX: 00007fd43b57dff9 RDX: 000000000200000f RSI: 0000000000004000 RDI: 0000000020ff9000 RBP: 00007fd43b5f0296 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd43b735f80 R15: 00007fd43b85fa28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pfnmap_lockdep_assert mm/memory.c:6349 [inline] RIP: 0010:follow_pfnmap_start+0x1a7/0xfd0 mm/memory.c:6402 Code: 8d 9f 80 00 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 27 0d 1a 00 48 8b 1b 48 83 c3 58 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 0a 0d 1a 00 4c 8b 23 48 c7 c0 3c RSP: 0018:ffffc9000463f100 EFLAGS: 00010202 RAX: 000000000000000b RBX: 0000000000000058 RCX: 0000000000040000 RDX: ffffc90012c2e000 RSI: 0000000000002028 RDI: ffffc9000463f1e0 RBP: ffffc9000463f290 R08: ffffc9000463f311 R09: 0000000000000000 R10: ffffc9000463f2f0 R11: fffff520008c7e63 R12: dffffc0000000000 R13: 1ffff1100fda74bc R14: ffffc9000463f2e0 R15: ffff88807ed3a5d0 FS: 00007fd43c2f76c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5cefb9cf98 CR3: 0000000021bf6000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 8d 9f 80 00 00 00 lea 0x80(%rdi),%ebx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 27 0d 1a 00 call 0x1a0d43 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 58 add $0x58,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 0a 0d 1a 00 call 0x1a0d43 39: 4c 8b 23 mov (%rbx),%r12 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: c0 .byte 0xc0 3f: 3c .byte 0x3c