pci 0000:00:01.0: [1af4:1050] type 00 class 0x030000 conventional PCI endpoint pci 0000:00:01.0: BAR 0 [mem 0xfc000000-0xfc7fffff pref] pci 0000:00:01.0: BAR 2 [mem 0xfca00000-0xfca03fff 64bit pref] pci 0000:00:01.0: BAR 4 [mem 0xfeaf4000-0xfeaf4fff] pci 0000:00:01.0: ROM [mem 0xfeae0000-0xfeaeffff pref] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] pci 0000:00:01.0: Adding to iommu group 1 pci 0000:00:01.0: vgaarb: setting as boot VGA device pci 0000:00:01.0: vgaarb: bridge control possible pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none pci 0000:00:01.0: BAR 0 [mem 0x60000000-0x607fffff pref]: assigned pci 0000:00:01.0: BAR 2 [mem 0x5c0000000-0x5c0003fff 64bit pref]: assigned pci 0000:00:01.0: BAR 4 [mem 0x60800000-0x60800fff]: assigned [drm] pci: virtio-vga detected at 0000:00:01.0 virtio-pci 0000:00:01.0: vgaarb: deactivate vga console [drm] features: -virgl +edid -resource_blob -host_visible [drm] features: -context_init -blob_alignment ------------[ cut here ]------------ kmem_cache of name 'virtio-gpu-vbufs' already exists WARNING: mm/slab_common.c:112 at kmem_cache_sanity_check mm/slab_common.c:111 [inline], CPU#0: syz.0.0/5329 WARNING: mm/slab_common.c:112 at __kmem_cache_create_args+0xae/0x460 mm/slab_common.c:352, CPU#0: syz.0.0/5329 Modules linked in: CPU: 0 UID: 0 PID: 5329 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:kmem_cache_sanity_check mm/slab_common.c:111 [inline] RIP: 0010:__kmem_cache_create_args+0xb1/0x460 mm/slab_common.c:352 Code: e7 8f 4d 8b 24 24 49 81 fc c8 53 e7 8f 74 20 49 8b 7c 24 f8 48 89 de e8 3d a3 cb 09 85 c0 75 e2 48 8d 3d 92 5d 64 0f 48 89 de <67> 48 0f b9 3a 48 89 df be 20 00 00 00 e8 dd a4 cb 09 48 85 c0 0f RSP: 0018:ffffc9000e3f6dc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff8c9657e0 RCX: 0000000000000001 RDX: 000000008c965700 RSI: ffffffff8c9657e0 RDI: ffffffff917f2390 RBP: 0000000000000000 R08: ffffffff917a977f R09: 1ffffffff22f52ef R10: dffffc0000000000 R11: fffffbfff22f52f0 R12: ffff88803625c2e0 R13: 0000000000000000 R14: 00000000000000d8 R15: ffffc9000e3f6e20 FS: 00007efea22ab6c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8602d1140 CR3: 00000000358e5000 CR4: 0000000000352ef0 Call Trace: __kmem_cache_create include/linux/slab.h:402 [inline] virtio_gpu_alloc_vbufs+0xc3/0x150 drivers/gpu/drm/virtio/virtgpu_vq.c:75 virtio_gpu_init+0x1300/0x1c50 drivers/gpu/drm/virtio/virtgpu_kms.c:267 virtio_gpu_probe+0x1a9/0x290 drivers/gpu/drm/virtio/virtgpu_drv.c:103 virtio_dev_probe+0xdf6/0x10c0 drivers/virtio/virtio.c:347 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 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620 device_add+0x7d7/0xb80 drivers/base/core.c:3776 register_virtio_device+0x4c2/0x6d0 drivers/virtio/virtio.c:581 virtio_pci_probe+0x2a8/0x330 drivers/virtio/virtio_pci_common.c:724 local_pci_probe drivers/pci/pci-driver.c:354 [inline] pci_call_probe drivers/pci/pci-driver.c:416 [inline] __pci_device_probe drivers/pci/pci-driver.c:478 [inline] pci_device_probe+0x48e/0xd10 drivers/pci/pci-driver.c:512 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 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153 pci_bus_add_device+0xbc/0xe0 drivers/pci/bus.c:373 pci_bus_add_devices+0x94/0x1c0 drivers/pci/bus.c:394 pci_rescan_bus+0x2a/0x40 drivers/pci/probe.c:3502 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: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:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efea139e559 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:00007efea22aafe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007efea1626090 RCX: 00007efea139e559 RDX: 0000000000000001 RSI: 00002000000002c0 RDI: 0000000000000010 RBP: 00007efea14358b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efea1626128 R14: 00007efea1626090 R15: 00007ffdd851bbc8 ---------------- Code disassembly (best guess): 0: e7 8f out %eax,$0x8f 2: 4d 8b 24 24 mov (%r12),%r12 6: 49 81 fc c8 53 e7 8f cmp $0xffffffff8fe753c8,%r12 d: 74 20 je 0x2f f: 49 8b 7c 24 f8 mov -0x8(%r12),%rdi 14: 48 89 de mov %rbx,%rsi 17: e8 3d a3 cb 09 call 0x9cba359 1c: 85 c0 test %eax,%eax 1e: 75 e2 jne 0x2 20: 48 8d 3d 92 5d 64 0f lea 0xf645d92(%rip),%rdi # 0xf645db9 27: 48 89 de mov %rbx,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 89 df mov %rbx,%rdi 32: be 20 00 00 00 mov $0x20,%esi 37: e8 dd a4 cb 09 call 0x9cba519 3c: 48 85 c0 test %rax,%rax 3f: 0f .byte 0xf