syzbot


WARNING in csum_one_extent_buffer

Status: auto-obsoleted due to no activity on 2023/06/03 17:56
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+12ccac7f251e18746c4c@syzkaller.appspotmail.com
First crash: 686d, last: 679d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in csum_one_extent_buffer 0 (1) 2023/01/31 07:42

Sample crash report:
	item 16 key (263 1 0) itemoff 3007 itemsize 160
		inode generation 0 size 0 mode 40000
	item 17 key (263 12 256) itemoff 2994 itemsize 13
BTRFS error (device loop1): block=5361664 write time tree block corruption detected
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12665 at fs/btrfs/disk-io.c:377 csum_one_extent_buffer+0x41c/0x4e0
Modules linked in:
CPU: 0 PID: 12665 Comm: syz-executor.1 Not tainted 6.2.0-rc6-syzkaller-00163-g66a87fff1a87 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:csum_one_extent_buffer+0x41c/0x4e0
Code: 4c 89 ef 48 c7 c6 80 a0 2a 8b 48 8b 54 24 38 4c 89 f9 49 89 d8 e8 d4 ee 0e 07 41 bd 8b ff ff ff e9 e4 fe ff ff e8 c4 ec 04 fe <0f> 0b e9 8b fe ff ff 89 d9 80 e1 07 38 c1 0f 8c 3a fd ff ff 48 89
RSP: 0018:ffffc9000c756f20 EFLAGS: 00010246
RAX: ffffffff83854a4c RBX: fffffffffffffffa RCX: 0000000000040000
RDX: ffffc900041e1000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc9000c757010 R08: ffffffff838549eb R09: fffff520018ead69
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 00000000ffffff8b R14: ffff88801eeb505f R15: ffff88801eeb5058
FS:  00007fc0b1885700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88ac385058 CR3: 000000001e151000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btree_csum_one_bio+0x6bd/0xa50
 btrfs_submit_metadata_bio+0x456/0x5e0
 submit_one_bio+0x34d/0x4d0
 btree_write_cache_pages+0x1911/0x1b30
 do_writepages+0x3a6/0x660
 filemap_fdatawrite_wbc+0x125/0x180
 filemap_fdatawrite_range+0x17b/0x200
 btrfs_write_marked_extents+0x2b2/0x4d0
 btrfs_sync_log+0x8bb/0x2a20
 btrfs_sync_file+0xcde/0x1220
 __x64_sys_fdatasync+0xb5/0x110
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc0b0a8c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc0b1885168 EFLAGS: 00000246 ORIG_RAX: 000000000000004b
RAX: ffffffffffffffda RBX: 00007fc0b0babf80 RCX: 00007fc0b0a8c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
RBP: 00007fc0b0ae7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc1694e06f R14: 00007fc0b1885300 R15: 0000000000022000
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/03 17:55 upstream 66a87fff1a87 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in csum_one_extent_buffer
2023/01/27 07:37 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in csum_one_extent_buffer
* Struck through repros no longer work on HEAD.