syzbot


WARNING in submit_bio_noacct

Status: auto-obsoleted due to no activity on 2023/04/17 01:09
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+7fdd158f9797accbebfc@syzkaller.appspotmail.com
First crash: 752d, last: 735d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in submit_bio_checks (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in submit_bio_noacct 0 (2) 2022/03/04 06:00
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/04/17 00:40 28m retest repro linux-next OK log
2023/04/16 23:40 18m retest repro linux-next OK log
2022/10/26 00:30 19m retest repro linux-next error OK
2022/10/25 11:30 17m retest repro linux-next error OK

Sample crash report:
loop0: detected capacity change from 0 to 1707
------------[ cut here ]------------
Trying to write to read-only block-device loop0 (partno 0)
WARNING: CPU: 1 PID: 3587 at block/blk-core.c:581 bio_check_ro block/blk-core.c:581 [inline]
WARNING: CPU: 1 PID: 3587 at block/blk-core.c:581 submit_bio_noacct+0x16f3/0x1be0 block/blk-core.c:810
Modules linked in:
CPU: 1 PID: 3587 Comm: syz-executor230 Not tainted 5.17.0-rc6-next-20220303-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bio_check_ro block/blk-core.c:581 [inline]
RIP: 0010:submit_bio_noacct+0x16f3/0x1be0 block/blk-core.c:810
Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 cf 1f fe ff 48 c7 c7 e0 93 24 8a 48 89 c6 44 89 e2 e8 c9 6e 41 05 <0f> 0b e9 91 f3 ff ff e8 41 96 a1 fd e8 6c bf 85 05 31 ff 89 c3 89
RSP: 0018:ffffc90003adf030 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff88801bb63930 RCX: 0000000000000000
RDX: ffff88807f359d40 RSI: ffffffff81602878 RDI: fffff5200075bdf8
RBP: ffff88801b11c640 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815fd23e R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801b11c650 R14: ffff888140c8c500 R15: 1ffff9200075be0e
FS:  00005555557bc300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000288 CR3: 000000001e785000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 submit_bio block/blk-core.c:941 [inline]
 submit_bio+0x1a0/0x350 block/blk-core.c:905
 submit_bh_wbc+0x4e9/0x6b0 fs/buffer.c:3090
 __block_write_full_page+0x8ee/0x1e00 fs/buffer.c:1846
 block_write_full_page+0x14d/0x190 fs/buffer.c:3018
 __writepage+0x60/0x180 mm/page-writeback.c:2391
 write_cache_pages+0x79f/0x1a50 mm/page-writeback.c:2326
 generic_writepages mm/page-writeback.c:2417 [inline]
 generic_writepages+0xe2/0x150 mm/page-writeback.c:2406
 do_writepages+0x1ab/0x690 mm/page-writeback.c:2435
 filemap_fdatawrite_wbc mm/filemap.c:384 [inline]
 filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:374
 __filemap_fdatawrite_range mm/filemap.c:417 [inline]
 filemap_write_and_wait_range mm/filemap.c:669 [inline]
 filemap_write_and_wait_range+0xe1/0x1a0 mm/filemap.c:663
 filemap_write_and_wait include/linux/pagemap.h:60 [inline]
 sync_blockdev block/bdev.c:199 [inline]
 sync_blockdev+0x67/0x90 block/bdev.c:195
 loop_set_status+0x3eb/0x930 drivers/block/loop.c:1253
 loop_set_status_old+0x148/0x1b0 drivers/block/loop.c:1390
 lo_ioctl+0x3e6/0x17b0 drivers/block/loop.c:1560
 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3d00845769
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0cda8318 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3d00845769
RDX: 0000000020000280 RSI: 0000000000004c02 RDI: 0000000000000003
RBP: 00007f3d00805310 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 00007f3d008053a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/15 06:20 linux-next 91265a6da44d 9e8eaa75 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_noacct
2022/03/04 06:00 linux-next 91265a6da44d 45a13a73 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_noacct
2022/03/12 12:53 linux-next 91265a6da44d 9e8eaa75 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_noacct
2022/03/05 10:22 linux-next 91265a6da44d 45a13a73 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_noacct
2022/03/04 05:33 linux-next 91265a6da44d 45a13a73 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_noacct
2022/02/25 15:04 linux-next 196d330d7fb1 7c337266 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_noacct
* Struck through repros no longer work on HEAD.