pci (null): BAR 3 [mem 0xfeaf0000-0xfeaf3fff] pci (null): ROM [mem 0xfea00000-0xfea3ffff pref] pci (null): enabling Extended Tags ------------[ cut here ]------------ ret < 0 WARNING: drivers/pci/probe.c:2770 at pci_device_add+0x1343/0x1820 drivers/pci/probe.c:2770, CPU#3: syz.0.174/6773 Modules linked in: CPU: 3 UID: 0 PID: 6773 Comm: syz.0.174 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:pci_device_add+0x1343/0x1820 drivers/pci/probe.c:2770 Code: e5 04 83 e0 8f 09 e8 88 83 c8 00 00 00 e9 20 f4 ff ff e8 70 4c 9c fc 90 0f 0b 90 90 0f 0b 90 e9 06 f7 ff ff e8 5e 4c 9c fc 90 <0f> 0b 90 e9 7e fa ff ff e8 50 4c 9c fc 90 0f 0b 90 e9 11 fa ff ff RSP: 0018:ffffc90007f0f910 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000ffffffea RCX: 0000000000000000 RDX: ffff888044be8000 RSI: ffffffff85711e32 RDI: ffff888044be8000 RBP: ffff88801dae9000 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffffffea R11: 0000000000000001 R12: ffff888022b7c028 R13: ffff888022b7c000 R14: 0000000000000001 R15: ffff888022c86000 FS: 0000000000000000(0000) GS:ffff8880955c7000(0063) knlGS:00000000f54a6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007fdc6131b6b0 CR3: 000000006ddb4000 CR4: 0000000000352ef0 Call Trace: pci_scan_single_device drivers/pci/probe.c:2794 [inline] pci_scan_single_device+0x1d0/0x240 drivers/pci/probe.c:2780 pci_scan_slot+0x1c9/0x7c0 drivers/pci/probe.c:2877 pci_scan_child_bus_extend+0x6b/0x7b0 drivers/pci/probe.c:3096 pci_scan_child_bus drivers/pci/probe.c:3209 [inline] pci_rescan_bus+0x18/0x40 drivers/pci/probe.c:3500 rescan_store+0xfb/0x130 drivers/pci/pci-sysfs.c:474 bus_attr_store+0x74/0xb0 drivers/base/bus.c:173 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+0x6af/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:79 [inline] __do_fast_syscall_32+0x14b/0x8c0 arch/x86/entry/syscall_32.c:282 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:307 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7ff5fbc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f54a650c EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000800004c0 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8