md/raid1:md1: active with 1 out of 513 mirrors ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/md/md.c:1726:29 index 28 is out of range for type 'mdp_disk_t [27]' CPU: 1 UID: 0 PID: 23945 Comm: syz.1.4626 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xcc/0xf0 lib/ubsan.c:455 super_90_sync+0x1c95/0x1ff0 drivers/md/md.c:1726 sync_super drivers/md/md.c:2505 [inline] sync_sbs drivers/md/md.c:2747 [inline] md_update_sb+0xbba/0x2840 drivers/md/md.c:2923 md_run+0x1c1a/0x2510 drivers/md/md.c:6855 do_md_run+0x36/0x660 drivers/md/md.c:6880 md_ioctl+0x27e6/0x36c0 drivers/md/md.c:8515 blkdev_ioctl+0x5ad/0x6f0 block/ioctl.c:798 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f37d719f559 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:00007f37d807b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f37d7425fa0 RCX: 00007f37d719f559 RDX: 0000000000000000 RSI: 00000000400c0930 RDI: 0000000000000004 RBP: 00007f37d7236b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f37d7426038 R14: 00007f37d7425fa0 R15: 00007ffe8c7cf708 ---[ end trace ]---