md: md1: array is limited to 27 devices
md
md/raid1:md1: active with 1 out of 66 mirrors
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/md/md.c:1726:20
index 28 is out of range for type 'mdp_disk_t[27]' (aka 'struct mdp_device_descriptor_s[27]')
CPU: 1 UID: 0 PID: 5881 Comm: syz.1.27 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 ubsan_epilogue+0xa/0x30
 __ubsan_handle_out_of_bounds+0xe8/0xf0
 super_90_sync+0x1398/0x21d0
 md_update_sb+0xd0d/0x26a0
 md_run+0x15b6/0x1cd0
 do_md_run+0x35/0x720
 md_ioctl+0x1e2b/0x2610
 blkdev_ioctl+0x5e3/0x740
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb8a1b9fb19
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:00007fb8a2a61028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb8a1e25fa0 RCX: 00007fb8a1b9fb19
RDX: 0000200000000240 RSI: 00000000400c0930 RDI: 0000000000000004
RBP: 00007fb8a1c37b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb8a1e26038 R14: 00007fb8a1e25fa0 R15: 00007ffc2584d708
 </TASK>
---[ end trace ]---
