syzbot


kernel BUG in btrfs_exclop_balance

Status: closed as invalid on 2023/02/08 16:28
Subsystems: btrfs
[Documentation on labels]
First crash: 638d, last: 638d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in btrfs_exclop_balance origin:upstream missing-backport C done 1 342d 519d 0/3 upstream: reported C repro on 2023/06/04 20:48
upstream kernel BUG in btrfs_exclop_balance (2) btrfs C error 8 518d 621d 22/28 fixed on 2023/07/01 16:05

Sample crash report:
assertion failed: fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED, in fs/btrfs/ioctl.c:463
------------[ cut here ]------------
kernel BUG at fs/btrfs/messages.c:259!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 24106 Comm: syz-executor.5 Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:btrfs_assertfail+0x18/0x20
Code: c7 40 dd 2c 8b e8 98 df 00 00 e8 c3 7a 01 00 0f 1f 00 66 0f 1f 00 89 d1 48 89 f2 48 89 fe 48 c7 c7 20 de 2c 8b e8 a8 64 ff ff <0f> 0b 66 0f 1f 44 00 00 66 0f 1f 00 53 48 89 fb e8 f3 c2 f5 f6 48
RSP: 0018:ffffc9000c2c7e48 EFLAGS: 00010246
RAX: 0000000000000066 RBX: ffff888076a1e0d0 RCX: 719f3230eae1de00
RDX: ffffc9000e419000 RSI: 0000000000004d40 RDI: 0000000000004d41
RBP: 0000000000000002 R08: ffffffff816dcafc R09: fffff52001858f81
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100ed43c1a
R13: ffff888076a1c000 R14: ffff888076a1c680 R15: dffffc0000000000
FS:  00007f4bedba4700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4bedba4718 CR3: 000000007913c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_exclop_balance+0x166/0x1e0
 btrfs_ioctl_balance+0x482/0x7c0
 __se_sys_ioctl+0xf1/0x160
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4bece8c0c9
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:00007f4bedba4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4becfac120 RCX: 00007f4bece8c0c9
RDX: 0000000020000880 RSI: 00000000c4009420 RDI: 0000000000000005
RBP: 00007f4becee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdaab7ce6f R14: 00007f4bedba4300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:btrfs_assertfail+0x18/0x20
Code: c7 40 dd 2c 8b e8 98 df 00 00 e8 c3 7a 01 00 0f 1f 00 66 0f 1f 00 89 d1 48 89 f2 48 89 fe 48 c7 c7 20 de 2c 8b e8 a8 64 ff ff <0f> 0b 66 0f 1f 44 00 00 66 0f 1f 00 53 48 89 fb e8 f3 c2 f5 f6 48
RSP: 0018:ffffc9000c2c7e48 EFLAGS: 00010246
RAX: 0000000000000066 RBX: ffff888076a1e0d0 RCX: 719f3230eae1de00
RDX: ffffc9000e419000 RSI: 0000000000004d40 RDI: 0000000000004d41
RBP: 0000000000000002 R08: ffffffff816dcafc R09: fffff52001858f81
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100ed43c1a
R13: ffff888076a1c000 R14: ffff888076a1c680 R15: dffffc0000000000
FS:  00007f4bedba4700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4bedba4718 CR3: 000000007913c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/06 15:00 upstream d2d11f342b17 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in btrfs_exclop_balance
* Struck through repros no longer work on HEAD.