syzbot


kernel BUG in bio_split

Status: upstream: reported C repro on 2021/06/18 01:31
Reported-by: syzbot+7fac146f17f1d32e86e3@syzkaller.appspotmail.com
First crash: 590d, last: 590d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG at block/bio.c:LINE! 1 781d 781d 0/2 auto-closed as invalid on 2021/04/07 21:18

Sample crash report:
------------[ cut here ]------------
kernel BUG at block/bio.c:1901!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 352 Comm: systemd-udevd Not tainted 5.4.125-syzkaller-00208-g013507ea12a6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bio_split+0x17e/0x190 block/bio.c:1901
Code: ff ff ff 4c 89 e7 e8 61 f3 78 ff e9 55 ff ff ff 89 d9 80 e1 07 fe c1 38 c1 7c 8c 48 89 df e8 49 f3 78 ff eb 82 e8 92 33 4a ff <0f> 0b e8 8b 33 4a ff 0f 0b 66 0f 1f 84 00 00 00 00 00 55 41 57 41
RSP: 0018:ffff8881e6ac6de8 EFLAGS: 00010293
RAX: ffffffff821b1c0e RBX: 0000000000000000 RCX: ffff8881e62c3f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff821b1ab6 R09: ffff8881e6ac6f20
R10: ffffed103cd58de6 R11: 0000000000000000 R12: ffff8881ec146140
R13: dffffc0000000000 R14: ffff8881f0409728 R15: 0000000000000c00
FS:  00007fa99e9438c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff0050dbd8 CR3: 00000001e5dd5000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __blk_queue_split+0xf3b/0x1580 block/blk-merge.c:281
 blk_mq_make_request+0x1cf/0x2290 block/blk-mq.c:1996
 generic_make_request+0x3d3/0xda0 block/blk-core.c:1076
 submit_bio+0x146/0x5d0 block/blk-core.c:1203
 mpage_bio_submit+0x2b5/0x500 fs/mpage.c:102
 mpage_readpages+0x47c/0x500 fs/mpage.c:446
 read_pages+0x118/0x400 mm/readahead.c:126
 __do_page_cache_readahead+0x470/0x510 mm/readahead.c:212
 force_page_cache_readahead mm/readahead.c:243 [inline]
 page_cache_sync_readahead+0x339/0x3b0 mm/readahead.c:522
 generic_file_buffered_read mm/filemap.c:2070 [inline]
 generic_file_read_iter+0x676/0x2120 mm/filemap.c:2343
 blkdev_read_iter+0x12a/0x180 fs/block_dev.c:2043
 call_read_iter include/linux/fs.h:1965 [inline]
 new_sync_read fs/read_write.c:414 [inline]
 __vfs_read+0x5e9/0x770 fs/read_write.c:427
 vfs_read+0x161/0x370 fs/read_write.c:461
 ksys_read+0x186/0x2b0 fs/read_write.c:587
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fa99da89210
Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24
RSP: 002b:00007fff00510db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 000055b150900fa0 RCX: 00007fa99da89210
RDX: 0000000000000100 RSI: 000055b150900fc8 RDI: 000000000000000f
RBP: 000055b1508f7a10 R08: 0000000000000000 R09: 0000000000000130
R10: 000055b150900fb8 R11: 0000000000000246 R12: 0000000000000000
R1

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-android-5-4-kasan 2021/06/18 02:15 android12-5.4 013507ea12a6 aba2b2fb .config console log report syz C kernel BUG in bio_split
ci2-android-5-4-kasan 2021/06/18 01:30 android12-5.4 013507ea12a6 aba2b2fb .config console log report info kernel BUG in bio_split
* Struck through repros no longer work on HEAD.