Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 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:i915_pci_probe+0x58/0x470 drivers/gpu/drm/i915/i915_pci.c:961 Code: 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff e8 da fe 96 fc 4d 8b 3f 49 8d 5f 1c 4d 8d 6f 23 49 89 dc 49 c1 ec 03 <43> 0f b6 04 34 84 c0 0f 85 be 02 00 00 4c 89 e8 48 c1 e8 03 42 0f RSP: 0000:ffffc9000f82f970 EFLAGS: 00010207 RAX: 1ffffffff189d1cb RBX: 000000000000001c RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000000bf7 RDI: 0000000000000bf8 RBP: ffff88801d262000 R08: ffffffff9057c237 R09: 1ffffffff20af846 R10: dffffc0000000000 R11: ffffffff859f5640 R12: 0000000000000003 R13: 0000000000000023 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007faf334d26c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa429cad210 CR3: 000000001fc58000 CR4: 0000000000352ef0 Call Trace: local_pci_probe drivers/pci/pci-driver.c:332 [inline] pci_call_probe drivers/pci/pci-driver.c:394 [inline] __pci_device_probe drivers/pci/pci-driver.c:455 [inline] pci_device_probe+0x431/0xc90 drivers/pci/pci-driver.c:489 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 device_driver_attach+0xe0/0x1d0 drivers/base/dd.c:1203 bind_store+0x1d0/0x220 drivers/base/bus.c:267 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faf3259e019 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faf334d1fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007faf32826090 RCX: 00007faf3259e019 RDX: 000000000000000d RSI: 0000200000000180 RDI: 0000000000000005 RBP: 00007faf3263500c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faf32826128 R14: 00007faf32826090 R15: 00007ffeeece4408 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:i915_pci_probe+0x58/0x470 drivers/gpu/drm/i915/i915_pci.c:961 Code: 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff e8 da fe 96 fc 4d 8b 3f 49 8d 5f 1c 4d 8d 6f 23 49 89 dc 49 c1 ec 03 <43> 0f b6 04 34 84 c0 0f 85 be 02 00 00 4c 89 e8 48 c1 e8 03 42 0f RSP: 0000:ffffc9000f82f970 EFLAGS: 00010207 RAX: 1ffffffff189d1cb RBX: 000000000000001c RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000000bf7 RDI: 0000000000000bf8 RBP: ffff88801d262000 R08: ffffffff9057c237 R09: 1ffffffff20af846 R10: dffffc0000000000 R11: ffffffff859f5640 R12: 0000000000000003 R13: 0000000000000023 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007faf334d26c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1b9360e9c CR3: 000000001fc58000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 7b 18 jnp 0x1a 2: 4c 89 f8 mov %r15,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) e: 74 08 je 0x18 10: 4c 89 ff mov %r15,%rdi 13: e8 da fe 96 fc call 0xfc96fef2 18: 4d 8b 3f mov (%r15),%r15 1b: 49 8d 5f 1c lea 0x1c(%r15),%rbx 1f: 4d 8d 6f 23 lea 0x23(%r15),%r13 23: 49 89 dc mov %rbx,%r12 26: 49 c1 ec 03 shr $0x3,%r12 * 2a: 43 0f b6 04 34 movzbl (%r12,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 be 02 00 00 jne 0x2f5 37: 4c 89 e8 mov %r13,%rax 3a: 48 c1 e8 03 shr $0x3,%rax 3e: 42 rex.X 3f: 0f .byte 0xf