syzbot


WARNING in cleanup_transaction

Status: auto-closed as invalid on 2022/06/14 10:30
Reported-by: syzbot+9107d89dc3c6206cde1d@syzkaller.appspotmail.com
First crash: 799d, last: 799d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in cleanup_transaction origin:upstream C 9 8d09h 251d 0/3 upstream: reported C repro on 2023/08/15 21:58
android-49 WARNING in cleanup_transaction 1 2196d 2196d 0/3 auto-closed as invalid on 2019/02/22 14:19
linux-4.19 WARNING in cleanup_transaction (2) btrfs C 11 419d 507d 0/1 upstream: reported C repro on 2022/12/03 07:23
upstream WARNING in cleanup_transaction btrfs C error done 96 72d 552d 0/26 upstream: reported C repro on 2022/10/19 05:40
linux-4.14 WARNING in cleanup_transaction btrfs C 1 417d 491d 0/1 upstream: reported C repro on 2022/12/19 11:57

Sample crash report:
audit: type=1800 audit(1644834587.083:892): pid=26383 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="sda1" ino=13880 res=0
BTRFS warning (device loop4): Skipping commit of aborted transaction.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 26382 at fs/btrfs/transaction.c:1872 cleanup_transaction+0x1bf/0x250 fs/btrfs/transaction.c:1872
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 26382 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:cleanup_transaction+0x1bf/0x250 fs/btrfs/transaction.c:1872
Code: 89 e6 bf fb ff ff ff e8 5f ed 7b fe 41 83 fc fb 0f 84 d5 b9 13 05 e8 e0 eb 7b fe 44 89 e6 48 c7 c7 80 af a4 88 e8 b6 23 0c 05 <0f> 0b e8 ca eb 7b fe 44 89 e1 ba 50 07 00 00 48 89 ef 48 c7 c6 a0
RSP: 0018:ffff888091ec7b58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 1ffff110123d8f72 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dff01 RDI: ffffed10123d8f5d
RBP: ffff88804236fbd0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff4
R13: ffff88804236fc20 R14: ffff88804236fbf0 R15: 0000000000000000
 btrfs_commit_transaction+0x1de7/0x2480 fs/btrfs/transaction.c:2338
 btrfs_sync_fs+0x120/0x490 fs/btrfs/super.c:1279
 sync_fs_one_sb fs/sync.c:80 [inline]
 sync_fs_one_sb+0xbe/0xf0 fs/sync.c:77
 iterate_supers+0x13c/0x290 fs/super.c:633
 ksys_sync+0xa8/0x150 fs/sync.c:115
 __ia32_sys_sync+0xa/0x10 fs/sync.c:124
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f18095aa059
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:00007f1807f1f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f18096bcf60 RCX: 00007f18095aa059
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f1807f1f1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeca0095ef R14: 00007f1807f1f300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/14 10:29 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report info ci2-linux-4-19 WARNING in cleanup_transaction
* Struck through repros no longer work on HEAD.