md: array md5 already has disks! ------------[ cut here ]------------ kernel BUG at drivers/md/raid5.c:8114! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 13525 Comm: syz.5.2184 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:raid5_run+0x1325/0x1670 drivers/md/raid5.c:8114 Code: 0f 04 e9 82 f4 ff ff 48 c7 44 24 38 00 00 00 00 31 db e9 82 ef ff ff c7 44 24 44 00 00 00 00 e9 e1 fa ff ff e8 8c d5 76 f9 90 <0f> 0b e8 84 d5 76 f9 90 0f 0b e8 7c d5 76 f9 90 0f 0b 4c 89 ff e8 RSP: 0000:ffffc90002fefa78 EFLAGS: 00010287 RAX: 0000000000000aa5 RBX: 0000000000000000 RCX: ffffc90038a78000 RDX: 0000000000080000 RSI: ffffffff8896b504 RDI: ffff888000c34b00 RBP: 0000000000000002 R08: 0000000000000004 R09: 0000000000000005 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000000 R14: ffff888028c06000 R15: ffff888028c06028 FS: 0000000000000000(0000) GS:ffff8880954ae000(0063) knlGS:00000000f5466b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00005631267f5f40 CR3: 0000000058c26000 CR4: 0000000000352ef0 DR0: 0000000008000003 DR1: 00000000000001f8 DR2: 0000000000000086 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: md_run+0xc2f/0x2510 drivers/md/md.c:6779 do_md_run+0x36/0x660 drivers/md/md.c:6880 md_ioctl+0x27e6/0x36c0 drivers/md/md.c:8515 compat_blkdev_ioctl+0x682/0x7b0 block/ioctl.c:854 __do_compat_sys_ioctl fs/ioctl.c:695 [inline] __se_compat_sys_ioctl fs/ioctl.c:638 [inline] __ia32_compat_sys_ioctl+0x2cf/0x360 fs/ioctl.c:638 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14b/0x8c0 arch/x86/entry/syscall_32.c:282 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:307 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7fb2fbc 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:00000000f546650c EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00000000400c0930 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:raid5_run+0x1325/0x1670 drivers/md/raid5.c:8114 Code: 0f 04 e9 82 f4 ff ff 48 c7 44 24 38 00 00 00 00 31 db e9 82 ef ff ff c7 44 24 44 00 00 00 00 e9 e1 fa ff ff e8 8c d5 76 f9 90 <0f> 0b e8 84 d5 76 f9 90 0f 0b e8 7c d5 76 f9 90 0f 0b 4c 89 ff e8 RSP: 0000:ffffc90002fefa78 EFLAGS: 00010287 RAX: 0000000000000aa5 RBX: 0000000000000000 RCX: ffffc90038a78000 RDX: 0000000000080000 RSI: ffffffff8896b504 RDI: ffff888000c34b00 RBP: 0000000000000002 R08: 0000000000000004 R09: 0000000000000005 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000000 R14: ffff888028c06000 R15: ffff888028c06028 FS: 0000000000000000(0000) GS:ffff8880954ae000(0063) knlGS:00000000f5466b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000056312684afc0 CR3: 0000000058c26000 CR4: 0000000000352ef0 DR0: 0000000008000003 DR1: 00000000000001f8 DR2: 0000000000000086 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- 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