syzbot


WARNING in btrfs_replace_file_extents

Status: auto-obsoleted due to no activity on 2023/05/14 20:31
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+2f950aaffb5b5e29e988@syzkaller.appspotmail.com
First crash: 499d, last: 499d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in btrfs_replace_file_extents 0 (1) 2022/11/06 17:02
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_replace_file_extents origin:lts-only C error 13 119d 344d 0/3 upstream: reported C repro on 2023/04/10 02:43
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/05/14 20:00 29m retest repro upstream OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3656 at fs/btrfs/file.c:2872 btrfs_replace_file_extents+0x14ae/0x1a60 fs/btrfs/file.c:2872
Modules linked in:
CPU: 0 PID: 3656 Comm: syz-executor.0 Not tainted 6.1.0-rc3-syzkaller-00288-gb208b9fbbcba #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:btrfs_replace_file_extents+0x14ae/0x1a60 fs/btrfs/file.c:2872
Code: c6 60 37 db 8a 44 89 e2 31 c0 e8 3f 5f a4 06 e9 66 fd ff ff e8 93 14 fa fd 48 c7 c7 60 36 db 8a 44 89 e6 31 c0 e8 a2 b2 c1 fd <0f> 0b 41 b7 01 45 0f b6 c7 48 89 df 48 c7 c6 a0 38 db 8a ba 38 0b
RSP: 0018:ffffc9000410f540 EFLAGS: 00010246
RAX: 1ebea76ba4070c00 RBX: ffff8880727ec0a8 RCX: ffff88807e459d40
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000410f710 R08: ffffffff816b9e3d R09: ffffed1017344f13
R10: ffffed1017344f13 R11: 1ffff11017344f12 R12: 00000000fffffff4
R13: 1ffff1100e4fd81f R14: ffff8880727ec0f8 R15: 0000000000000000
FS:  00007f7bf103c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7bf103bff8 CR3: 000000001e5de000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 insert_prealloc_file_extent fs/btrfs/inode.c:9852 [inline]
 __btrfs_prealloc_file_range+0x803/0x14d0 fs/btrfs/inode.c:9919
 btrfs_prealloc_file_range+0x3c/0x50 fs/btrfs/inode.c:9998
 btrfs_zero_range+0xd2a/0x12d0 fs/btrfs/file.c:3308
 btrfs_fallocate+0xc54/0x2020 fs/btrfs/file.c:3418
 vfs_fallocate+0x515/0x670 fs/open.c:323
 ksys_fallocate fs/open.c:346 [inline]
 __do_sys_fallocate fs/open.c:354 [inline]
 __se_sys_fallocate fs/open.c:352 [inline]
 __x64_sys_fallocate+0xb9/0x100 fs/open.c:352
 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+0x63/0xcd
RIP: 0033:0x7f7bf028b5a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7bf103c168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f7bf03ac2c0 RCX: 00007f7bf028b5a9
RDX: 0000000000000000 RSI: 0000000100000011 RDI: 0000000000000003
RBP: 00007f7bf103c1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffd887b79bf R14: 00007f7bf103c300 R15: 0000000000022000
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/06 03:15 upstream b208b9fbbcba 6d752409 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_replace_file_extents
2022/11/06 02:54 upstream b208b9fbbcba 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_replace_file_extents
* Struck through repros no longer work on HEAD.