WARNING in bio_alloc_bioset

Status: upstream: reported C repro on 2026/09/04 03:53
Reported-by: syzbot+5004e2d83c127227f399@syzkaller.appspotmail.com
First crash: 1d00h, last: 2h08m
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in bio_alloc_bioset -1 syz, C 4 19h47m 1d02h 0/3 upstream: reported C repro on 2026/09/04 02:39
linux-6.6 WARNING in bio_alloc_bioset -1 1 1d01h 1d01h 0/2 upstream: reported on 2026/09/04 03:34
upstream WARNING in bio_alloc_bioset bcachefs -1 syz, C done 22792 441d 510d 29/29 fixed on 2025/08/06 17:37

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4319 at block/bio.c:439 bio_alloc_bioset+0x689/0x870 block/bio.c:439
Modules linked in:
CPU: 0 PID: 4319 Comm: syz.0.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:bio_alloc_bioset+0x689/0x870 block/bio.c:439
Code: bf db f6 ff 81 ce 00 20 09 00 e8 e2 76 f1 fd 48 85 c0 74 56 49 89 c5 89 6c 24 04 e8 01 1e ad fd e9 0c fd ff ff e8 f7 1d ad fd <0f> 0b e9 07 ff ff ff 89 ee 81 e6 00 04 00 00 31 ff e8 41 21 ad fd
RSP: 0018:ffffc9000349f8d8 EFLAGS: 00010293
RAX: ffffffff83cbf1a9 RBX: ffff88807d7009d8 RCX: ffff888024d01dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff888073a5c0bf R09: 1ffff1100e74b817
R10: dffffc0000000000 R11: ffffed100e74b818 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000c00
FS:  000055556e885500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000017dbef932000 CR3: 000000007e161000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 md_super_write+0xac/0x460 drivers/md/md.c:978
 md_update_sb+0x15b6/0x2380 drivers/md/md.c:2864
 state_store+0xbf4/0x1b80 drivers/md/md.c:3185
 rdev_attr_store+0x145/0x180 drivers/md/md.c:3699
 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2179 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7fe659c93159
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:00007ffe59bb00a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe659f1afa0 RCX: 00007fe659c93159
RDX: 000000000000000c RSI: 0000200000000a00 RDI: 0000000000000007
RBP: 00007fe659d2a024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe659f1afac R14: 00007fe659f1afa0 R15: 00007fe659f1afa0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/04 09:12 linux-5.15.y 0996e0926f6b 801f0966 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bio_alloc_bioset
2026/09/05 02:42 linux-5.15.y 0996e0926f6b 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bio_alloc_bioset
2026/09/04 13:48 linux-5.15.y 0996e0926f6b f65209a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bio_alloc_bioset
2026/09/04 03:53 linux-5.15.y 0996e0926f6b 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bio_alloc_bioset
* Struck through repros no longer work on HEAD.