Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 1 UID: 0 PID: 7069 Comm: syz.2.512 Not tainted 6.11.0-syzkaller-11624-ge477dba5442c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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 38 e3 1c 90 49 8b 57 58 48 RSP: 0018:ffffc9000dfe7498 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc9000dfe7578 RCX: ffffc90003dd2000 RDX: 000000000000000b RSI: ffffffff81d3a34a RDI: 0000000000000058 RBP: ffff888043aee9b0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000000 R12: 0000000020371000 R13: 1ffff92001bfce97 R14: ffff8880533af200 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802b500000(0063) knlGS:00000000f56c6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f738afb4 CR3: 0000000000cfe000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: follow_phys arch/x86/mm/pat/memtype.c:956 [inline] get_pat_info+0x118/0x320 arch/x86/mm/pat/memtype.c:988 untrack_pfn+0xf7/0x4d0 arch/x86/mm/pat/memtype.c:1101 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+0x1c00/0x2a50 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_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf73de579 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 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f56c656c EFLAGS: 00000296 ORIG_RAX: 00000000000000c0 RAX: ffffffffffffffda RBX: 0000000020371000 RCX: 0000000000005000 RDX: 0000000000000007 RSI: 0000000000000011 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 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+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 38 e3 1c 90 49 8b 57 58 48 RSP: 0018:ffffc9000dfe7498 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc9000dfe7578 RCX: ffffc90003dd2000 RDX: 000000000000000b RSI: ffffffff81d3a34a RDI: 0000000000000058 RBP: ffff888043aee9b0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000000 R12: 0000000020371000 R13: 1ffff92001bfce97 R14: ffff8880533af200 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802b600000(0063) knlGS:00000000f56c6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7fc6e40 CR3: 0000000000cfe000 CR4: 0000000000352ef0 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 38 e3 1c 90 mov $0xffffffff901ce338,%rax 3b: 49 8b 57 58 mov 0x58(%r15),%rdx 3f: 48 rex.W