pci 0000:00:04.0: [8086:3420] type 01 class 0x060400 PCIe Root Port pci 0000:00:04.0: PCI bridge to [bus 01] pci 0000:00:04.0: bridge window [io 0x1000-0x1fff] pci 0000:00:04.0: bridge window [mem 0xfe800000-0xfe9fffff] pci 0000:00:04.0: bridge window [mem 0xfc800000-0xfc9fffff 64bit pref] pci 0000:00:04.0: enabling Extended Tags pci 0000:00:04.0: Adding to iommu group 4 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5341 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:74 [inline] should_fail_ex+0x3eb/0x540 lib/fault-inject.c:175 should_failslab+0xa8/0x100 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4675 [inline] slab_alloc_node mm/slub.c:5011 [inline] __kmalloc_cache_noprof+0x9e/0x600 mm/slub.c:5676 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] domain_qi_batch_alloc drivers/iommu/intel/cache.c:126 [inline] __cache_tag_assign_domain drivers/iommu/intel/cache.c:141 [inline] cache_tag_assign_domain+0x222/0x7a0 drivers/iommu/intel/cache.c:228 dmar_domain_attach_device drivers/iommu/intel/iommu.c:1356 [inline] intel_iommu_attach_device+0x599/0x720 drivers/iommu/intel/iommu.c:3278 __iommu_attach_device+0x72/0x2c0 drivers/iommu/iommu.c:2171 __iommu_device_set_domain drivers/iommu/iommu.c:2425 [inline] __iommu_group_set_domain_internal+0x356/0x8b0 drivers/iommu/iommu.c:2497 iommu_setup_default_domain+0xbfc/0x1710 drivers/iommu/iommu.c:3203 __iommu_probe_device+0xb7d/0x1260 drivers/iommu/iommu.c:678 iommu_probe_device drivers/iommu/iommu.c:715 [inline] iommu_bus_notifier+0x87/0x2c0 drivers/iommu/iommu.c:1823 notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:86 blocking_notifier_call_chain+0x6a/0x90 kernel/notifier.c:485 bus_notify+0x143/0x180 drivers/base/bus.c:1136 device_add+0x53a/0xb80 drivers/base/core.c:3743 pci_device_add+0x1269/0x1920 drivers/pci/probe.c:2776 pci_scan_single_device+0x3ae/0x400 drivers/pci/probe.c:2801 pci_scan_slot+0x1ba/0x5a0 drivers/pci/probe.c:2884 pci_scan_child_bus_extend+0x68/0x7c0 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+0xcc/0x150 drivers/pci/pci-sysfs.c:474 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:575 [inline] vfs_write+0x612/0xba0 fs/read_write.c:667 ksys_write+0x150/0x270 fs/read_write.c:719 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6aad5a8f19 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:00007f6aae4c2fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6aad826090 RCX: 00007f6aad5a8f19 RDX: 0000000000000001 RSI: 00002000000002c0 RDI: 0000000000000009 RBP: 00007f6aad637f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6aad826128 R14: 00007f6aad826090 R15: 00007ffc5d5d34e8 ------------[ cut here ]------------ ret WARNING: drivers/iommu/iommu.c:3205 at iommu_setup_default_domain+0x14f4/0x1710 drivers/iommu/iommu.c:3205, CPU#0: syz.0.0/5341 Modules linked in: CPU: 0 UID: 0 PID: 5341 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:iommu_setup_default_domain+0x14f4/0x1710 drivers/iommu/iommu.c:3205 Code: e9 34 ec ff ff e8 dc d7 29 fc 90 0f 0b 90 e9 62 f1 ff ff e8 ce d7 29 fc 90 0f 0b 90 e9 42 f2 ff ff e8 c0 d7 29 fc 49 89 de 90 <0f> 0b 90 e9 1d f8 ff ff e8 af d7 29 fc 90 0f 0b 90 e9 7f fa ff ff RSP: 0018:ffffc9000f8bf630 EFLAGS: 00010287 RAX: ffffffff859f5a70 RBX: 00000000fffffff4 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 000000000001a8ff RDI: 000000000001a900 RBP: 0000000000000000 R08: ffffc9000f8bf447 R09: 1ffff92001f17e88 R10: dffffc0000000000 R11: fffff52001f17e89 R12: ffff8880350b1048 R13: ffff8880350b0800 R14: 00000000fffffff4 R15: 0000000000000000 FS: 00007f6aae4c36c0(0000) GS:ffff88808a9f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6aad7fc6b8 CR3: 000000000fc9e000 CR4: 0000000000352ef0 Call Trace: __iommu_probe_device+0xb7d/0x1260 drivers/iommu/iommu.c:678 iommu_probe_device drivers/iommu/iommu.c:715 [inline] iommu_bus_notifier+0x87/0x2c0 drivers/iommu/iommu.c:1823 notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:86 blocking_notifier_call_chain+0x6a/0x90 kernel/notifier.c:485 bus_notify+0x143/0x180 drivers/base/bus.c:1136 device_add+0x53a/0xb80 drivers/base/core.c:3743 pci_device_add+0x1269/0x1920 drivers/pci/probe.c:2776 pci_scan_single_device+0x3ae/0x400 drivers/pci/probe.c:2801 pci_scan_slot+0x1ba/0x5a0 drivers/pci/probe.c:2884 pci_scan_child_bus_extend+0x68/0x7c0 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+0xcc/0x150 drivers/pci/pci-sysfs.c:474 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:575 [inline] vfs_write+0x612/0xba0 fs/read_write.c:667 ksys_write+0x150/0x270 fs/read_write.c:719 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6aad5a8f19 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:00007f6aae4c2fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6aad826090 RCX: 00007f6aad5a8f19 RDX: 0000000000000001 RSI: 00002000000002c0 RDI: 0000000000000009 RBP: 00007f6aad637f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6aad826128 R14: 00007f6aad826090 R15: 00007ffc5d5d34e8