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: 0 UID: 0 PID: 9021 Comm: syz.0.8169 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+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 07 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 ea 0c 1a 00 4c 8b 23 48 c7 c0 3c RSP: 0018:ffffc9000340f0e0 EFLAGS: 00010202 RAX: 000000000000000b RBX: 0000000000000058 RCX: 0000000000040000 RDX: ffffc9000b80a000 RSI: 0000000000002c60 RDI: ffffc9000340f1c0 RBP: ffffc9000340f270 R08: ffffc9000340f2f1 R09: 0000000000000000 R10: ffffc9000340f2d0 R11: fffff52000681e5f R12: dffffc0000000000 R13: 1ffff1100f209bb4 R14: ffffc9000340f2c0 R15: ffff88807904dd90 FS: 0000000000000000(0000) GS:ffff8880b8600000(0063) knlGS:00000000f56f6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c3b4af7 CR3: 000000007ba92000 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+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_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f72579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f56f656c EFLAGS: 00000206 ORIG_RAX: 00000000000000c0 RAX: ffffffffffffffda RBX: 0000000020ff9000 RCX: 0000000000004000 RDX: 000000000200000f RSI: 0000000000000012 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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 07 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 ea 0c 1a 00 4c 8b 23 48 c7 c0 3c RSP: 0018:ffffc9000340f0e0 EFLAGS: 00010202 RAX: 000000000000000b RBX: 0000000000000058 RCX: 0000000000040000 RDX: ffffc9000b80a000 RSI: 0000000000002c60 RDI: ffffc9000340f1c0 RBP: ffffc9000340f270 R08: ffffc9000340f2f1 R09: 0000000000000000 R10: ffffc9000340f2d0 R11: fffff52000681e5f R12: dffffc0000000000 R13: 1ffff1100f209bb4 R14: ffffc9000340f2c0 R15: ffff88807904dd90 FS: 0000000000000000(0000) GS:ffff8880b8700000(0063) knlGS:00000000f56f6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007fff93150fc8 CR3: 000000007ba92000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 07 0d 1a 00 call 0x1a0d23 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 ea 0c 1a 00 call 0x1a0d23 39: 4c 8b 23 mov (%rbx),%r12 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: c0 .byte 0xc0 3f: 3c .byte 0x3c