md: could not open device unknown-block(1,2). md: error, md_import_device() returned -16 ------------[ cut here ]------------ 1 WARNING: mm/slub.c:5459 at ___kmalloc_large_node+0x132/0x170 mm/slub.c:5459, CPU#0: syz.1.154/6477 Modules linked in: CPU: 0 UID: 0 PID: 6477 Comm: syz.1.154 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:___kmalloc_large_node+0x132/0x170 mm/slub.c:5459 Code: db 0f 85 66 ff ff ff 45 31 e4 eb cb 48 81 ff 00 00 40 00 0f 86 07 ff ff ff 80 3d 8d 09 d8 0f 00 75 0b c6 05 84 09 d8 0f 01 90 <0f> 0b 90 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc RSP: 0000:ffffc90004b57970 EFLAGS: 00010246 RAX: ffffffff88998653 RBX: ffffffffffffffff RCX: ffffc9000cc04000 RDX: 00000000ffffffff RSI: 0000000000000dc0 RDI: ffffffffffffffff RBP: 0000000000000dc0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000dc0 R13: 00000000ffffffff R14: ffffffffffffffff R15: ffff888028d0a000 FS: 0000000000000000(0000) GS:ffff888095260000(0063) knlGS:00000000f5436b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f5415da4 CR3: 000000006f3ec000 CR4: 0000000000352ef0 Call Trace: __kmalloc_large_node_noprof+0x1c/0x70 mm/slub.c:5502 __do_kmalloc_node mm/slub.c:5519 [inline] __kmalloc_noprof+0x5a3/0x840 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] setup_conf+0x293/0x11d0 drivers/md/raid1.c:3044 raid1_run+0x1a5/0x4e0 drivers/md/raid1.c:3178 md_run+0xc2f/0x2510 drivers/md/md.c:6808 do_md_run+0x36/0x660 drivers/md/md.c:6909 md_ioctl+0x26f7/0x3700 drivers/md/md.c:8541 compat_blkdev_ioctl+0x633/0x750 block/ioctl.c:851 __do_compat_sys_ioctl fs/ioctl.c:696 [inline] __se_compat_sys_ioctl fs/ioctl.c:639 [inline] __ia32_compat_sys_ioctl+0x2cf/0x360 fs/ioctl.c:639 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14d/0x8e0 arch/x86/entry/syscall_32.c:286 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:311 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f88fbc 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:00000000f543650c EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000400c0930 RDX: 0000000080000240 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