FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5330 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 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x40c/0x560 lib/fault-inject.c:174 should_failslab+0xa8/0x100 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4539 [inline] slab_alloc_node mm/slub.c:4897 [inline] __do_kmalloc_node mm/slub.c:5333 [inline] __kmalloc_node_track_caller_noprof+0x100/0x730 mm/slub.c:5471 kvasprintf+0xeb/0x1a0 lib/kasprintf.c:25 kobject_set_name_vargs+0x61/0x110 lib/kobject.c:274 dev_set_name+0xe2/0x140 drivers/base/core.c:3560 pci_setup_device+0x56c/0x2670 drivers/pci/probe.c:2055 pci_scan_device drivers/pci/probe.c:2613 [inline] pci_scan_single_device+0x2f4/0x400 drivers/pci/probe.c:2788 pci_scan_slot+0x1ba/0x5a0 drivers/pci/probe.c:2875 pci_scan_child_bus_extend+0x68/0x7c0 drivers/pci/probe.c:3094 pci_scan_child_bus drivers/pci/probe.c:3207 [inline] pci_rescan_bus+0x18/0x40 drivers/pci/probe.c:3498 rescan_store+0xcc/0x150 drivers/pci/pci-sysfs.c:473 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:0x7f6c2b59e0d9 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:00007f6c2c3a5fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6c2b826090 RCX: 00007f6c2b59e0d9 RDX: 0000000000000001 RSI: 0000200000000600 RDI: 0000000000000005 RBP: 00007f6c2c3a6050 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f6c2b826128 R14: 00007f6c2b826090 R15: 00007ffe94b0d3e8 pci (null): [8086:3420] type 01 class 0x060400 PCIe Root Port pci (null): PCI bridge to [bus 01] pci (null): bridge window [io 0x1000-0x1fff] pci (null): bridge window [mem 0xfe800000-0xfe9fffff] pci (null): bridge window [mem 0xfc800000-0xfc9fffff 64bit pref] pci (null): enabling Extended Tags ------------[ cut here ]------------ ret < 0 WARNING: drivers/pci/probe.c:2768 at pci_device_add+0x1542/0x1910 drivers/pci/probe.c:2768, CPU#0: syz.0.0/5330 Modules linked in: CPU: 0 UID: 0 PID: 5330 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:pci_device_add+0x1542/0x1910 drivers/pci/probe.c:2768 Code: f8 ff ff e9 77 f8 ff ff e8 fb 95 ac fc 90 0f 0b 90 e9 a2 f8 ff ff e8 ed 95 ac fc 90 0f 0b 90 e9 69 fc ff ff e8 df 95 ac fc 90 <0f> 0b 90 e9 2f fd ff ff 89 d1 80 e1 07 80 c1 03 38 c1 0f 8c 4d eb RSP: 0018:ffffc9000e3b7880 EFLAGS: 00010293 RAX: ffffffff851a8d01 RBX: 00000000ffffffea RCX: ffff888000964a80 RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000000 RBP: ffffc9000e3b7990 R08: ffff88804257810b R09: 1ffff110084af021 R10: dffffc0000000000 R11: ffffed10084af022 R12: 1ffff110084af091 R13: ffff88801f863030 R14: ffff88801b0b6800 R15: ffff888042578000 FS: 00007f6c2c3a66c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f7a33448a0 CR3: 000000001fdf9000 CR4: 0000000000352ef0 Call Trace: pci_scan_single_device+0x3ae/0x400 drivers/pci/probe.c:2792 pci_scan_slot+0x1ba/0x5a0 drivers/pci/probe.c:2875 pci_scan_child_bus_extend+0x68/0x7c0 drivers/pci/probe.c:3094 pci_scan_child_bus drivers/pci/probe.c:3207 [inline] pci_rescan_bus+0x18/0x40 drivers/pci/probe.c:3498 rescan_store+0xcc/0x150 drivers/pci/pci-sysfs.c:473 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:0x7f6c2b59e0d9 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:00007f6c2c3a5fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6c2b826090 RCX: 00007f6c2b59e0d9 RDX: 0000000000000001 RSI: 0000200000000600 RDI: 0000000000000005 RBP: 00007f6c2c3a6050 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f6c2b826128 R14: 00007f6c2b826090 R15: 00007ffe94b0d3e8