Hello,
syzbot found the following issue on:
HEAD commit: a87f9628 Linux 4.19.145
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=15c44873900000
kernel config:
https://syzkaller.appspot.com/x/.config?x=6c1d3a90df2d2f09
dashboard link:
https://syzkaller.appspot.com/bug?extid=4a14057eb57a04e47261
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+4a1405...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 1 PID: 16656 at fs/btrfs/volumes.c:1088 close_fs_devices.part.0.cold+0x11/0x30 fs/btrfs/volumes.c:1088
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 16656 Comm: syz-executor.2 Not tainted 4.19.145-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/0x2fe lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:186
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:close_fs_devices.part.0.cold+0x11/0x30 fs/btrfs/volumes.c:1088
Code: c7 c7 a0 ad be 87 e8 66 8a 79 fe 0f 0b 49 c7 c4 ea ff ff ff e9 03 06 ff ff e8 34 7e 8e fe 48 c7 c7 a0 ad be 87 e8 47 8a 79 fe <0f> 0b e9 e0 0d ff ff e8 1c 7e 8e fe 48 c7 c7 a0 ad be 87 e8 2f 8a
RSP: 0000:ffff8880a4d47b68 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffffffffffffffff RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8154d001 RDI: ffffed10149a8f5f
RBP: ffff8880946122c0 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880a40e0440 R14: ffff88809172db20 R15: ffff88808d93c900
close_fs_devices fs/btrfs/volumes.c:1115 [inline]
btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1101
close_ctree+0x3c8/0x850 fs/btrfs/disk-io.c:4047
generic_shutdown_super+0x144/0x370 fs/super.c:456
kill_anon_super+0x36/0x60 fs/super.c:1032
btrfs_kill_super+0x49/0x550 fs/btrfs/super.c:2213
deactivate_locked_super+0x94/0x160 fs/super.c:329
deactivate_super+0x174/0x1a0 fs/super.c:360
cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098
task_work_run+0x148/0x1c0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x460027
Code: 64 89 04 25 d0 02 00 00 58 5f ff d0 48 89 c7 e8 2f be ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 fd 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc06d94798 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000460027
RDX: 0000000000403188 RSI: 0000000000000002 RDI: 00007ffc06d94840
RBP: 0000000000002641 R08: 0000000000000000 R09: 000000000000000c
R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffc06d958d0
R13: 0000000002834a60 R14: 0000000000000000 R15: 00007ffc06d958d0
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.