kernel BUG in raid0_map_submit_bio

Status: upstream: reported on 2026/09/16 21:08
Reported-by: syzbot+fceeff44bd0862e68985@syzkaller.appspotmail.com
First crash: 3d06h, last: 3d06h

Sample crash report:
------------[ cut here ]------------
kernel BUG at drivers/md/raid0.c:317!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5363 Comm: syz.0.374 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:find_zone drivers/md/raid0.c:317 [inline]
RIP: 0010:raid0_map_submit_bio+0xad0/0xc20 drivers/md/raid0.c:583
Code: d7 fa e9 a6 fc ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c d8 fd ff ff 4c 89 f7 e8 ba b1 d7 fa e9 cb fd ff ff e8 90 7d 92 fa <0f> 0b e8 89 7d 92 fa 0f 0b 89 f9 80 e1 07 38 c1 0f 8c 22 fe ff ff
RSP: 0018:ffffc9000327f360 EFLAGS: 00010287
RAX: ffffffff86e69710 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90003d43000 RSI: 0000000000005cff RDI: 0000000000005d00
RBP: ffffc9000327f458 R08: ffff8880210ec697 R09: 1ffff1100421d8d2
R10: dffffc0000000000 R11: ffffed100421d8d3 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88802cbd82c0 R15: 0000000000000002
FS:  00007fa95343f6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa955234840 CR3: 000000004eceb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 raid0_make_request+0x1a7/0x280 drivers/md/raid0.c:646
 md_handle_request+0x7f9/0x990 drivers/md/md.c:446
 md_submit_bio+0x222/0x440 drivers/md/md.c:486
 __submit_bio+0x6b4/0x780 block/blk-core.c:914
 __submit_bio_noacct block/blk-core.c:963 [inline]
 submit_bio_noacct+0x321/0x800 block/blk-core.c:1028
 submit_bio+0x2c6/0x550 block/blk-core.c:1089
 submit_bh+0x23/0x30 fs/buffer.c:3062
 __ext4_read_bh fs/ext4/super.c:156 [inline]
 ext4_read_bh+0x180/0x240 fs/ext4/super.c:180
 ext4_read_bh_lock fs/ext4/super.c:195 [inline]
 __ext4_sb_bread_gfp+0x1d1/0x220 fs/ext4/super.c:217
 ext4_sb_bread_unmovable fs/ext4/super.c:234 [inline]
 ext4_fill_super+0x6e4/0x93f0 fs/ext4/super.c:4006
 mount_bdev+0x28a/0x3c0 fs/super.c:1411
 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1541
 do_new_mount+0x247/0xa40 fs/namespace.c:3034
 do_mount fs/namespace.c:3377 [inline]
 __do_sys_mount fs/namespace.c:3585 [inline]
 __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa9551e7159
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:00007fa95343f028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa95546efa0 RCX: 00007fa9551e7159
RDX: 0000200000001100 RSI: 00002000000010c0 RDI: 0000200000000080
RBP: 00007fa95527e06b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa95546f038 R14: 00007fa95546efa0 R15: 00007ffdb2934b48
 </TASK>
Modules linked in:
---[ end trace 94c3d2f3b0e10625 ]---
RIP: 0010:find_zone drivers/md/raid0.c:317 [inline]
RIP: 0010:raid0_map_submit_bio+0xad0/0xc20 drivers/md/raid0.c:583
Code: d7 fa e9 a6 fc ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c d8 fd ff ff 4c 89 f7 e8 ba b1 d7 fa e9 cb fd ff ff e8 90 7d 92 fa <0f> 0b e8 89 7d 92 fa 0f 0b 89 f9 80 e1 07 38 c1 0f 8c 22 fe ff ff
RSP: 0018:ffffc9000327f360 EFLAGS: 00010287
RAX: ffffffff86e69710 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90003d43000 RSI: 0000000000005cff RDI: 0000000000005d00
RBP: ffffc9000327f458 R08: ffff8880210ec697 R09: 1ffff1100421d8d2
R10: dffffc0000000000 R11: ffffed100421d8d3 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88802cbd82c0 R15: 0000000000000002
FS:  00007fa95343f6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc4c901f158 CR3: 000000004eceb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/16 21:08 linux-5.15.y 0248c33e835e 12a0a44a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in raid0_map_submit_bio
* Struck through repros no longer work on HEAD.