UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 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: 2 UID: 0 PID: 11732 Comm: syz.1.1938 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #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 f8 1c 90 49 8b 57 58 48 RSP: 0018:ffffc90007acf498 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90007acf578 RCX: ffffc900034c1000 RDX: 000000000000000b RSI: ffffffff81d4293a RDI: 0000000000000058 RBP: ffff88800021bd90 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000000 R12: 0000000020ffb000 R13: 1ffff92000f59e97 R14: ffff888071541300 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802b600000(0063) knlGS:00000000f5696b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735b1dc CR3: 000000006a450000 CR4: 0000000000352ef0 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+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:0xf73ae579 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:00000000f569656c EFLAGS: 00000296 ORIG_RAX: 00000000000000c0 RAX: ffffffffffffffda RBX: 0000000020ffb000 RCX: 0000000000000930 RDX: 000000000300000f RSI: 0000000000000012 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 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 f8 1c 90 49 8b 57 58 48 RSP: 0018:ffffc90007acf498 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90007acf578 RCX: ffffc900034c1000 RDX: 000000000000000b RSI: ffffffff81d4293a RDI: 0000000000000058 RBP: ffff88800021bd90 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000000 R12: 0000000020ffb000 R13: 1ffff92000f59e97 R14: ffff888071541300 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f5696b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002d309ff8 CR3: 000000006a450000 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 f8 1c 90 mov $0xffffffff901cf838,%rax 3b: 49 8b 57 58 mov 0x58(%r15),%rdx 3f: 48 rex.W