block device autoloading is deprecated and will be removed. md/raid1:md6: active with 1 out of 1027 mirrors md6: detected capacity change from 0 to 5884 ================================================================================ UBSAN: array-index-out-of-bounds in drivers/md/md.c:1390:20 index 1027 is out of range for type 'mdp_disk_t[27]' (aka 'struct mdp_device_descriptor_s[27]') CPU: 1 PID: 8572 Comm: syz.6.865 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282 super_90_validate+0x110c/0x15b8 drivers/md/md.c:1390 add_bound_rdev+0x128/0x494 drivers/md/md.c:2908 md_add_new_disk+0xc0c/0x1484 drivers/md/md.c:-1 md_ioctl+0x2158/0x25cc drivers/md/md.c:7807 blkdev_ioctl+0x654/0xb74 block/ioctl.c:626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 ================================================================================