pci (null): bridge window [mem 0x80000000-0x801fffff] pci (null): bridge window [mem 0x380000000000-0x3800001fffff 64bit pref] pci (null): enabling Extended Tags ------------[ cut here ]------------ ret < 0 WARNING: drivers/pci/probe.c:2777 at pci_device_add+0x1343/0x1820 drivers/pci/probe.c:2777, CPU#2: syz.2.450/7604 Modules linked in: CPU: 2 UID: 0 PID: 7604 Comm: syz.2.450 Tainted: G Y syzkaller #0 PREEMPT(full) Tainted: [Y]=FORCED_BIND 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:2777 Code: e5 04 83 e0 8f 09 e8 88 83 c8 00 00 00 e9 20 f4 ff ff e8 00 e7 96 fc 90 0f 0b 90 90 0f 0b 90 e9 06 f7 ff ff e8 ee e6 96 fc 90 <0f> 0b 90 e9 7e fa ff ff e8 e0 e6 96 fc 90 0f 0b 90 e9 11 fa ff ff RSP: 0018:ffffc90003657930 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000ffffffea RCX: 0000000000000000 RDX: ffff8880419d0000 RSI: ffffffff85777992 RDI: 0000000000000005 RBP: ffff88801dae9000 R08: 0000000000000000 R09: 00000000ffffffea R10: ffff88805d06e10b R11: 0000000000000001 R12: ffff8880247b4028 R13: ffff8880247b4000 R14: 0000000000000001 R15: ffff888024818000 FS: 00007fc23b42f6c0(0000) GS:ffff8880d468e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc23b44fff8 CR3: 0000000058be2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000008000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: pci_scan_single_device drivers/pci/probe.c:2801 [inline] pci_scan_single_device+0x1d0/0x240 drivers/pci/probe.c:2787 pci_scan_slot+0x1c9/0x7c0 drivers/pci/probe.c:2884 pci_scan_child_bus_extend+0x6b/0x7b0 drivers/pci/probe.c:3103 pci_scan_child_bus drivers/pci/probe.c:3216 [inline] pci_rescan_bus+0x18/0x40 drivers/pci/probe.c:3507 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_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc23a59f559 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:00007fc23b42f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc23a826090 RCX: 00007fc23a59f559 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000005 RBP: 00007fc23b42f090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fc23a826128 R14: 00007fc23a826090 R15: 00007ffd1beec308