Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 2 UID: 0 PID: 6556 Comm: syz.4.164 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:software_node_register+0x2c/0x350 drivers/base/swnode.c:927 Code: 1e fa 41 57 41 56 41 55 41 54 49 89 fc 55 4d 8d 7c 24 08 53 e8 35 cf ab fb 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 02 00 00 4d 8b 74 24 08 4d 85 f6 0f 84 0e 02 RSP: 0000:ffffc90002e77828 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9002fdf4000 RDX: 0000000000000001 RSI: ffffffff865de1cb RDI: 0000000000000000 RBP: ffff888021130000 R08: 0000000000000007 R09: fffffffffffff000 R10: ffff888020feb010 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88806bb57010 R14: ffff8880211300d0 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff888096ddf000(0063) knlGS:00000000f53d6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c44ff6e CR3: 0000000055168000 CR4: 0000000000352ef0 Call Trace: device_add_software_node+0x35d/0x3f0 drivers/base/swnode.c:1015 dwc3_pci_quirks drivers/usb/dwc3/dwc3-pci.c:311 [inline] dwc3_pci_probe+0x3cd/0xbf0 drivers/usb/dwc3/dwc3-pci.c:375 local_pci_probe+0xdd/0x1b0 drivers/pci/pci-driver.c:332 pci_call_probe+0x176/0x800 drivers/pci/pci-driver.c:394 __pci_device_probe drivers/pci/pci-driver.c:455 [inline] pci_device_probe+0x1cd/0x370 drivers/pci/pci-driver.c:489 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x20e/0x450 drivers/base/dd.c:868 device_driver_attach+0xd1/0x220 drivers/base/dd.c:1203 bind_store+0xf4/0x190 drivers/base/bus.c:267 drv_attr_store+0x74/0xb0 drivers/base/bus.c:125 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f16fec Code: Unable to access opcode bytes at 0xf7f16fc2. RSP: 002b:00000000f53d650c EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000080000240 RDX: 000000000000000d RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:software_node_register+0x2c/0x350 drivers/base/swnode.c:927 Code: 1e fa 41 57 41 56 41 55 41 54 49 89 fc 55 4d 8d 7c 24 08 53 e8 35 cf ab fb 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 02 00 00 4d 8b 74 24 08 4d 85 f6 0f 84 0e 02 RSP: 0000:ffffc90002e77828 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9002fdf4000 RDX: 0000000000000001 RSI: ffffffff865de1cb RDI: 0000000000000000 RBP: ffff888021130000 R08: 0000000000000007 R09: fffffffffffff000 R10: ffff888020feb010 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88806bb57010 R14: ffff8880211300d0 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff888096edf000(0063) knlGS:00000000f53d6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f73d6288 CR3: 0000000055168000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: fa cli 1: 41 57 push %r15 3: 41 56 push %r14 5: 41 55 push %r13 7: 41 54 push %r12 9: 49 89 fc mov %rdi,%r12 c: 55 push %rbp d: 4d 8d 7c 24 08 lea 0x8(%r12),%r15 12: 53 push %rbx 13: e8 35 cf ab fb call 0xfbabcf4d 18: 4c 89 fa mov %r15,%rdx 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 f2 02 00 00 jne 0x325 33: 4d 8b 74 24 08 mov 0x8(%r12),%r14 38: 4d 85 f6 test %r14,%r14 3b: 0f .byte 0xf 3c: 84 0e test %cl,(%rsi) 3e: 02 .byte 0x2