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: 9802 Comm: syz.4.1287 Not tainted 6.12.0-rc3-syzkaller-00013-geca631b8fe80 #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+0x115/0xdc0 mm/memory.c:6402 Code: 48 c1 ea 03 80 3c 02 00 0f 85 10 0b 00 00 4c 8b bd 80 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d3 0a 00 00 48 c7 c0 18 72 5f 90 49 8b 57 58 48 RSP: 0018:ffffc9000d16f468 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc9000d16f548 RCX: ffffc90019f71000 RDX: 000000000000000b RSI: ffffffff81d50caa RDI: 0000000000000058 RBP: ffff888029be6ba0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000000 R12: 0000000020ff9000 R13: 1ffff92001a2de91 R14: ffff888078a18000 R15: 0000000000000000 FS: 00007f0ea257b6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5907c6c4b8 CR3: 0000000024b36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: follow_phys arch/x86/mm/pat/memtype.c:940 [inline] get_pat_info+0x118/0x320 arch/x86/mm/pat/memtype.c:972 untrack_pfn+0xf7/0x4d0 arch/x86/mm/pat/memtype.c:1085 unmap_single_vma+0x1bd/0x2b0 mm/memory.c:1834 unmap_vmas+0x22f/0x490 mm/memory.c:1900 unmap_region+0x201/0x480 mm/vma.c:354 mmap_region+0x1c0a/0x2a60 mm/mmap.c:1573 do_mmap+0xc00/0xfc0 mm/mmap.c:496 vm_mmap_pgoff+0x1ba/0x360 mm/util.c:588 ksys_mmap_pgoff+0x32c/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0ea177dff9 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:00007f0ea257b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f0ea1935f80 RCX: 00007f0ea177dff9 RDX: 000000000200000f RSI: 0000000000004000 RDI: 0000000020ff9000 RBP: 00007f0ea17f0296 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0ea1935f80 R15: 00007ffd87ace378 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pfnmap_lockdep_assert mm/memory.c:6349 [inline] RIP: 0010:follow_pfnmap_start+0x115/0xdc0 mm/memory.c:6402 Code: 48 c1 ea 03 80 3c 02 00 0f 85 10 0b 00 00 4c 8b bd 80 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d3 0a 00 00 48 c7 c0 18 72 5f 90 49 8b 57 58 48 RSP: 0018:ffffc9000d16f468 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc9000d16f548 RCX: ffffc90019f71000 RDX: 000000000000000b RSI: ffffffff81d50caa RDI: 0000000000000058 RBP: ffff888029be6ba0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000000 R12: 0000000020ff9000 R13: 1ffff92001a2de91 R14: ffff888078a18000 R15: 0000000000000000 FS: 00007f0ea257b6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc6af194f98 CR3: 0000000024b36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 10 0b 00 00 jne 0xb1e e: 4c 8b bd 80 00 00 00 mov 0x80(%rbp),%r15 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 49 8d 7f 58 lea 0x58(%r15),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 d3 0a 00 00 jne 0xb07 34: 48 c7 c0 18 72 5f 90 mov $0xffffffff905f7218,%rax 3b: 49 8b 57 58 mov 0x58(%r15),%rdx 3f: 48 rex.W