syzbot


WARNING in __btrfs_unlink_inode

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

Sample crash report:
RDX: 00000000000009a0 RSI: 000000000000ffc2 RDI: 0000000020000380
RBP: 00007ffe602f39a0 R08: 0000000000000001 R09: 00007ffe602f39b0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00007ffe602f39e0 R14: 00007ffe602f39c0 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8086 at fs/btrfs/inode.c:4058 __btrfs_unlink_inode+0xaef/0xc60 fs/btrfs/inode.c:4058
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8086 Comm: syz-executor136 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
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:__btrfs_unlink_inode+0xaef/0xc60 fs/btrfs/inode.c:4058
Code: 79 fe 8b 85 28 ff ff ff 83 f8 fb 0f 84 6a ad 11 05 e8 b5 bf 79 fe 8b 85 28 ff ff ff 48 c7 c7 40 c3 a4 88 89 c6 e8 86 f7 09 05 <0f> 0b 8b 85 28 ff ff ff 89 85 28 ff ff ff e8 8e bf 79 fe 8b 85 28
RSP: 0018:ffff888094c4fc60 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff88808cbfe000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012989f7e
RBP: ffff888094c4fd78 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880ade91e70
R13: ffff88808cbccec0 R14: 0000000000000007 R15: 0000000000000100
 btrfs_unlink_inode fs/btrfs/inode.c:4096 [inline]
 btrfs_unlink+0x157/0x2d0 fs/btrfs/inode.c:4140
 vfs_unlink+0x27d/0x4e0 fs/namei.c:4002
 do_unlinkat+0x3b8/0x660 fs/namei.c:4065
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff70f650a09
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe602f3978 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff70f650a09
RDX: 00000000000009a0 RSI: 000000000000ffc2 RDI: 0000000020000380
RBP: 00007ffe602f39a0 R08: 0000000000000001 R09: 00007ffe602f39b0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00007ffe602f39e0 R14: 00007ffe602f39c0 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/07 06:54 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in __btrfs_unlink_inode
2023/03/07 06:13 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in __btrfs_unlink_inode
* Struck through repros no longer work on HEAD.