syzbot


WARNING in __btrfs_unlink_inode

Status: upstream: reported C repro on 2023/03/07 07:22
Reported-by: syzbot+2112d28c84a15a531798@syzkaller.appspotmail.com
First crash: 407d, last: 407d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __btrfs_unlink_inode C 2 408d 408d 0/1 upstream: reported C repro on 2023/03/07 06:13

Sample crash report:
RDX: 00000000000004c0 RSI: 000000000000ffc2 RDI: 0000000020000380
RBP: 00007ffccdfb34c0 R08: 0000000000000001 R09: 00007ffccdfb34d0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00007ffccdfb3500 R14: 00007ffccdfb34e0 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7962 at fs/btrfs/inode.c:4215 __btrfs_unlink_inode.cold+0x159/0x19c fs/btrfs/inode.c:4215
Kernel panic - not syncing: kernel: panic_on_warn set ...

CPU: 1 PID: 7962 Comm: syz-executor386 Not tainted 4.14.307-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x21d/0x451 kernel/panic.c:247
 check_panic_on_warn.cold+0x19/0x35 kernel/panic.c:171
 __warn+0xdf/0x1e0 kernel/panic.c:603
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:__btrfs_unlink_inode.cold+0x159/0x19c fs/btrfs/inode.c:4215
RSP: 0018:ffff888095867c78 EFLAGS: 00010282
RAX: 0000000000000026 RBX: ffff88808cb79080 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bd360 RDI: ffffed1012b0cf85
RBP: ffff888095867d68 R08: 0000000000000026 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808cb7be08
R13: ffff8880a14809a0 R14: ffff888095908200 R15: 0000000000000007
 btrfs_unlink_inode fs/btrfs/inode.c:4253 [inline]
 btrfs_unlink+0x147/0x2a0 fs/btrfs/inode.c:4297
 vfs_unlink+0x230/0x470 fs/namei.c:4029
 do_unlinkat+0x30c/0x5c0 fs/namei.c:4094
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f3cd4703a09
RSP: 002b:00007ffccdfb3498 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f3cd4703a09
RDX: 00000000000004c0 RSI: 000000000000ffc2 RDI: 0000000020000380
RBP: 00007ffccdfb34c0 R08: 0000000000000001 R09: 00007ffccdfb34d0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00007ffccdfb3500 R14: 00007ffccdfb34e0 R15: 0000000000000000
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
2023/03/07 07:22 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in __btrfs_unlink_inode
* Struck through repros no longer work on HEAD.