syzbot


WARNING in btrfs_sync_log

Status: auto-obsoleted due to no activity on 2023/08/21 23:02
Reported-by: syzbot+f0a14aec1c53dc43dce8@syzkaller.appspotmail.com
First crash: 589d, last: 577d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_sync_log (2) origin:lts-only C error 4 40d 438d 0/3 upstream: reported C repro on 2023/09/09 20:33
linux-4.19 WARNING in btrfs_sync_log btrfs 1 653d 653d 0/1 upstream: reported on 2023/02/06 19:49
upstream WARNING in btrfs_sync_log btrfs C error inconclusive 6 256d 766d 25/28 fixed on 2024/05/22 09:57

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffba0e116f R14: 00007f23f2001300 R15: 0000000000022000
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 31126 at fs/btrfs/tree-log.c:3210 btrfs_sync_log+0x1b2f/0x2a00 fs/btrfs/tree-log.c:3210
Modules linked in:
CPU: 0 PID: 31126 Comm: syz-executor.2 Not tainted 5.15.108-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:btrfs_sync_log+0x1b2f/0x2a00 fs/btrfs/tree-log.c:3210
Code: 00 00 fc ff df 48 8b 5c 24 30 0f 1f 44 00 00 e8 27 64 13 fe eb 16 e8 20 64 13 fe 48 c7 c7 40 6e ca 8a 44 89 fe e8 a1 45 df fd <0f> 0b 48 8b 7c 24 48 48 c7 c6 c0 6e ca 8a ba 8a 0c 00 00 44 89 f9
RSP: 0018:ffffc90010d37900 EFLAGS: 00010246
RAX: 3a32ec4c28176b00 RBX: ffff888034436338 RCX: 0000000000040000
RDX: ffffc9000649a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc90010d37d70 R08: ffffffff8166131c R09: ffffed1017344f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803ba1f5d8
R13: ffff888034436000 R14: dffffc0000000000 R15: 00000000fffffff4
FS:  00007f23f2001700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563f783c7398 CR3: 000000005e946000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_sync_file+0xb4e/0xfa0 fs/btrfs/file.c:2349
 vfs_fsync_range fs/sync.c:188 [inline]
 vfs_fsync fs/sync.c:202 [inline]
 do_fsync fs/sync.c:212 [inline]
 __do_sys_fdatasync fs/sync.c:225 [inline]
 __se_sys_fdatasync fs/sync.c:223 [inline]
 __x64_sys_fdatasync+0xb1/0x100 fs/sync.c:223
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f23f3a8f169
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:00007f23f2001168 EFLAGS: 00000246 ORIG_RAX: 000000000000004b
RAX: ffffffffffffffda RBX: 00007f23f3baef80 RCX: 00007f23f3a8f169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f23f20011d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffba0e116f R14: 00007f23f2001300 R15: 0000000000022000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/23 23:02 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_sync_log
2023/04/22 22:49 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_sync_log
2023/04/12 04:16 linux-5.15.y d86dfc4d95cd 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_sync_log
* Struck through repros no longer work on HEAD.